Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ repositories {
}
maven {
name = "AE2AuditCurseMaven"
url = uri("https://www.cursemaven.com")
url = uri("https://curse.cleanroommc.com")
content {
includeGroup "curse.maven"
}
Expand Down Expand Up @@ -1119,7 +1119,7 @@ repositories {
content {
includeGroup "dev.emi"
}
} else if (host == "www.cursemaven.com") {
} else if (host == "curse.cleanroommc.com") {
content {
includeGroup "curse.maven"
}
Expand Down Expand Up @@ -1908,7 +1908,7 @@ tasks.named('check').configure {
}

def baseGameTestLatestLog = layout.projectDirectory.file('run/logs/latest.log').asFile
def expectedSelfTestSummary = 'SelfTest: 204942 passed, 0 failed, 204942 total'
def expectedSelfTestSummary = 'SelfTest: 204949 passed, 0 failed, 204949 total'
tasks.named('runGameTestServer').configure {
doLast {
if (!baseGameTestLatestLog.exists()) {
Expand Down
2 changes: 1 addition & 1 deletion compat/contracts/ae2.json
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@
"https://maven.shedaniel.me/",
"https://maven2.bai.lol",
"https://maven.terraformersmc.com/",
"https://www.cursemaven.com",
"https://curse.cleanroommc.com",
"https://maven.k-4u.nl/"
],
"runtime_dependencies": [
Expand Down
2 changes: 1 addition & 1 deletion compat/contracts/fluxnetworks.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"version": "8.0.0",
"dependency": "curse.maven:flux-networks-248020:6089446",
"repositories": [
"https://www.cursemaven.com"
"https://curse.cleanroommc.com"
],
"runtime_dependencies": []
},
Expand Down
2 changes: 1 addition & 1 deletion compat/contracts/generatorgalore.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"version": "1.21.1-1.6.3",
"dependency": "curse.maven:generatorgalore-691049:6799851",
"repositories": [
"https://www.cursemaven.com"
"https://curse.cleanroommc.com"
],
"runtime_dependencies": []
},
Expand Down
2 changes: 1 addition & 1 deletion compat/contracts/justdirethings.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"version": "1.5.7",
"dependency": "curse.maven:justdirethings-1002348:7463040",
"repositories": [
"https://www.cursemaven.com"
"https://curse.cleanroommc.com"
],
"runtime_dependencies": []
},
Expand Down
2 changes: 1 addition & 1 deletion compat/contracts/mysticalagriculture.json
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@
"https://api.modrinth.com/maven",
"https://maven.blakesmods.com",
"https://maven.blamejared.com",
"https://www.cursemaven.com"
"https://curse.cleanroommc.com"
],
"runtime_dependencies": [
"maven.modrinth:cucumber:8421rqFF"
Expand Down
2 changes: 1 addition & 1 deletion compat/contracts/productivebees.json
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@
"display_name": "Productive Bees",
"mod_id": "productivebees",
"repositories": [
"https://www.cursemaven.com/"
"https://curse.cleanroommc.com/"
],
"runtime_dependencies": [],
"version": "1.21.1-13.13.5"
Expand Down
2 changes: 1 addition & 1 deletion compat/contracts/productivemetalworks.json
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
"display_name": "Productive Metalworks",
"mod_id": "productivemetalworks",
"repositories": [
"https://www.cursemaven.com/"
"https://curse.cleanroommc.com/"
],
"runtime_dependencies": [],
"version": "1.21.1-1.15.0"
Expand Down
2 changes: 1 addition & 1 deletion compat/contracts/xycraft_machines.json
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@
"display_name": "XyCraft Machines",
"mod_id": "xycraft_machines",
"repositories": [
"https://www.cursemaven.com"
"https://curse.cleanroommc.com"
],
"runtime_dependencies": [
"curse.maven:xycraft-653786:6872525",
Expand Down
2 changes: 1 addition & 1 deletion compat/generation/ae2.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"package": "com.swear.autostorage.compat.ae2",
"resource_kinds": [],
"schema": 1,
"source_contract_digest": "846f86c211aec80ed9e740d5956a013173fa8b26785501cd027c6336e0db2aad",
"source_contract_digest": "8440e06dc7cd80831b56bf150466b242f5f912422545292e75a4f820cb814e20",
"target": {
"display_name": "Applied Energistics 2",
"mod_id": "ae2",
Expand Down
13 changes: 8 additions & 5 deletions docs/notes.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/plan.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- 2026-08-21 AE2-style terminal repository synchronization:terminal grids now use a server-authoritative per-menu serial repository with full/delta/chunked packets, client-only virtual display slots, local filter/sort/scroll, serial-based item/typed actions, stale-cache resync, and no normal `TerminalScrollPacket` path. Initial repository work is deferred past cold menu construction and ordinary mutations use listener-keyed deltas. SelfTest is 204949; base is 406/406; recipe addon is 17/17; 10k/30k matrix runs pass with cold Storage 27.96/7.64 ms, interaction p95 30.50/159.58 ms, shared index 1,705,552/5,906,888 bytes, and per-menu 130,472/130,457 bytes. GUI visual verification is still required for the deployed artifact.
- 2026-08-20 Prism GUI support correction:the combined visual pack now stages the exact `mekanism-generators:a6gl7srE` artifact beside core Mekanism and the audited Flux Networks 8.0.0 artifact, because the Flux Station scenario needs the optional mod registered before its world block can be placed. Deployment/preflight treats all three artifacts as separate managed entries; the pack is 20 jars and visual approval remains user-owned.
- 2026-08-19 CI gate repair:NeoForge Energy capability GameTest now matches the intentional Lightning Rod FE representative; Immersive Engineering matrix metadata now uses concrete accepted recipe IDs and optional hammer/electrode descriptors resolve after target item registration. Craftable preparation reuses all stack-independent catalog matches and lazily memoizes Core item sources within a listing. Arc Furnace consumes the reviewed graphite-electrode descriptor resource; Sawmill remains fail-closed because its blade-dependent output modes and secondary products are not represented. Current reviewfix3 10k matrix passed with `craftable_prepare_ms=36.344ms`, shared index `5,894,704` bytes; 30k passed with `32.742ms`, shared index `5,862,608` bytes. The representative IE fixture passes 10/10 and base GameTest passes 406/406.
- 2026-08-20 Flux Station integration:after rebasing the dirty implementation onto merged `origin/main`, Flux Networks `enableFluxRecipe` gating, cached/fail-closed WorldStations revision invalidation and client synchronization, and optional-resource isolation are covered by the conditional module and a 20-test isolated fixture. The original world event remains fail-closed; the station still exposes only fixed 1 redstone → 1 `fluxnetworks:flux_dust`. The survival acquisition decision is now a conditional bridge recipe using Auto Storage's `storage_core` and Flux Networks' controller/core/block/dust materials; texture visual approval remains user-owned.
Expand Down
2 changes: 1 addition & 1 deletion docs/productivebees-compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ships under its namespace remain covered by Auto Storage's built-in families.
- target: Productive Bees `1.21.1-13.13.5` (`productivebees`);
- CurseForge file `8022994` / exact Curse Maven coordinate
`curse.maven:productivebees-377897:8022994`;
- reviewed repository: `https://www.cursemaven.com/`;
- reviewed repository: `https://curse.cleanroommc.com/`;
- download URL used for local SHA verification:
`https://mediafilez.forgecdn.net/files/8022/994/productivebees-1.21.1-13.13.5.jar`;
- jar size: `5,216,551` bytes;
Expand Down
2 changes: 1 addition & 1 deletion docs/structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
| `docs/releasing.md` | Modrinth/CurseForge listing metadata、`publishing` environment、tag發佈、跨平台SHA驗證、retry/rollback與token rotation runbook。 |
| `src/api/java/com/swear/autostorage/api/` | 不依賴core implementation的公開addon façade/compat-module contract source set。`main`依賴此output;正式player jar合併它,classified API jar再加入受控root contracts。 |
| `src/compat/<mod-id>/` | Bundled compatibility modules;每個`java/`只對classified API jar、對應target與必要companion APIs編譯,不可看完整main output,`compat-module.json`單獨擁有entrypoint、required mods、source set、fixture、預期GameTest數、matrix assertion metadata(required mods、accepted/rejected evidence、isolated per-module recipe inventory digest)、reviewed Maven repositories、代表性compile/runtime dependencies,以及Compat Kit module的audited artifact dependency/SHA。Gradle驗證後生成唯一runtime `META-INF/auto_storage/compat-modules.json`、matrix assertion manifest,以及CI/release報告`build/reports/compatibility-modules.md`;matrix run把實際coexistence/unclaimed digest寫入`build/reports/terminal-scale-*.json`,不提交共享expected SHA。新增完整descriptor不需手改共享CI/matrix清單、peer descriptor或全域digest基線。 |
| `src/main/java/com/swear/autostorage/` | Core/runtime Java原始碼;不得直接import任何optional target package。`StorageTerminalMenu`/`Screen`提供共用server-owned grid與layout shell;`CraftingTerminalMenu`/`Screen`只增加Storage、Craftable、Transform、Stations四頁、recipe presentation與output controls。`TerminalLayout`是唯一geometry來源:寬版四頁content bottom一致對齊player inventory上緣,四頁搜尋共用top header位置、focused input router與query parser,裸operator等同空查詢、欄外點擊解除focus,scope只由各頁候選entry決定;Transform左側保留persistent target list並讓source-aware cards填滿其餘高度;Stations依高度計算rows,Processing取得較大且固定左上欄位的三欄flow,Instant使用20px compact icon grid。`TerminalScrollbar`使用14px recessed track及enabled/pressed/disabled vanilla scroller;thumb drag保留grab offset,track按下翻頁並重複,wheel直接跳一個server-aligned row,不保留client動畫狀態。Storage/Craftable使用18列固定menu slot bank,screen依可用高度啟用全部完整列。Stations的第三個utility control切換All/Installed,篩選共用descriptor清單與搜尋結果。client-global偏好由`TerminalClientPreferences`保存,server仍透過103個menu data slots驗證。`CraftableRecipeCatalog`提供server-start/datapack-sync prewarm、`RecipeManager` identity reload invalidation與shared weak candidate index;catalog/Craftable prepare可暫用family typed plan/contract cache與entry lazy RecipeAdapterMatch;stack-independent且已包含typed plan的match在同一次listing直接作variant使用,built-in/legacy item adapters仍執行level/output validation,pending typed plan與stack-dependent variant才重跑adapter resolution。寫入shared Craftable listing後由production `releaseTransientMatches()`釋放所有lazy match/family runtime cache,且不保存recipe-keyed fixed-variant list,因此`shared_index_retained_bytes`量的是compact catalog加shared listing而非classification working set,9 MiB gate可隨compat modules成長而維持。`CraftingTerminalMenu`每Core只保留一份core revision、generated-work threshold及dynamic recipe-state token共同守護的shared Craftable result,Use Player Inventory繞過cache。`StorageCoreBlockEntity`在attach/insert時保留display-name/component keys並增量維護預設Name index,真正cold open不再重建30k名稱;search與其餘sort仍按需建立,GUI fixture才額外顯式預熱。正向Processing work只在跨越Craftable threshold時使shared result重建。`GuiRuntimeFixture`以marker-gated server command枚舉runtime item registry、安裝全部station descriptors並在handoff前準備Craftable,不建立client storage state。`StorageResourceLedger`/`CoreStorageRecord`統一item/fluid/FE/chemical/Mana/addon資源與WORK transaction,`StorageCoreBlockEntity`每tick合併全部station work後只提交一次。`MachineDescriptor`保存每個installable descriptor的localized logical station-family label;`MachineEnergyTable`把label與variant snapshot一起同步,payload protocol為1.6。UI資源選擇器顯示Processing與All aggregate(tooltip `Show: All`),Mekanism chemical由registry-backed client renderer顯示exact glyph/amount,`station_work`只留作server技術識別。Transform providers與machine variants都由ordered custom registry擁有;bundled optional bridges只存在於各自`src/compat`與fixture。 |
| `src/main/java/com/swear/autostorage/` | Core/runtime Java原始碼;不得直接import任何optional target package。`StorageTerminalMenu`/`Screen`提供共用server-owned grid與layout shell;`CraftingTerminalMenu`/`Screen`只增加Storage、Craftable、Transform、Stations四頁、recipe presentation與output controls。`TerminalLayout`是唯一geometry來源:寬版四頁content bottom一致對齊player inventory上緣,四頁搜尋共用top header位置、focused input router與query parser,裸operator等同空查詢、欄外點擊解除focus,scope只由各頁候選entry決定;Transform左側保留persistent target list並讓source-aware cards填滿其餘高度;Stations依高度計算rows,Processing取得較大且固定左上欄位的三欄flow,Instant使用20px compact icon grid。`TerminalScrollbar`使用14px recessed track及enabled/pressed/disabled vanilla scroller;thumb drag保留grab offset,track按下翻頁並重複,wheel直接跳一個server-aligned row,不保留client動畫狀態。Storage/Craftable使用18列固定menu slot bank,screen依可用高度啟用全部完整列。Stations的第三個utility control切換All/Installed,篩選共用descriptor清單與搜尋結果。client-global偏好由`TerminalClientPreferences`保存,server仍透過103個menu data slots驗證。`CraftableRecipeCatalog`提供server-start/datapack-sync prewarm、`RecipeManager` identity reload invalidation與shared weak candidate index;catalog/Craftable prepare可暫用family typed plan/contract cache與entry lazy RecipeAdapterMatch;stack-independent且已包含typed plan的match在同一次listing直接作variant使用,built-in/legacy item adapters仍執行level/output validation,pending typed plan與stack-dependent variant才重跑adapter resolution。寫入shared Craftable listing後由production `releaseTransientMatches()`釋放所有lazy match/family runtime cache,且不保存recipe-keyed fixed-variant list,因此`shared_index_retained_bytes`量的是compact catalog加shared listing而非classification working set,9 MiB gate可隨compat modules成長而維持。`CraftingTerminalMenu`每Core只保留一份core revision、generated-work threshold及dynamic recipe-state token共同守護的shared Craftable result,Use Player Inventory繞過cache。`StorageCoreBlockEntity`在attach/insert時保留display-name/component keys並增量維護預設Name index,真正cold open不再重建30k名稱;search與其餘sort仍按需建立,GUI fixture才額外顯式預熱。正向Processing work只在跨越Craftable threshold時使shared result重建。`GuiRuntimeFixture`以marker-gated server command枚舉runtime item registry、安裝全部station descriptors並在handoff前準備Craftable,不建立client storage state。`StorageResourceLedger`/`CoreStorageRecord`統一item/fluid/FE/chemical/Mana/addon資源與WORK transaction,`StorageCoreBlockEntity`每tick合併全部station work後只提交一次。`MachineDescriptor`保存每個installable descriptor的localized logical station-family label;`MachineEnergyTable`把label與variant snapshot一起同步,terminal repository wire使payload protocol為1.7。UI資源選擇器顯示Processing與All aggregate(tooltip `Show: All`),Mekanism chemical由registry-backed client renderer顯示exact glyph/amount,`station_work`只留作server技術識別。Transform providers與machine variants都由ordered custom registry擁有;bundled optional bridges只存在於各自`src/compat`與fixture。 |
| `src/apiTest/` | 從不同 Java package、只看classified API jar編譯完整公開contract,包含one-call facade、`MachineCategory`、bounded Core/Bus capability bridge與不把client class連進API bytecode的generic resource renderer,防止addon誤依賴implementation output或package-private internals。 |
| `src/compatKitGeneratedFixture/` | Compat Kit v2 generated conformance/resource scaffold的committed compile-only contract;Python由含exact `game_test_namespace`的example plans逐byte重生,每個generated GameTest class都有matching `@GameTestHolder`;Gradle `compileCompatKitGeneratedFixtureJava`只對public API jar與NeoForge/Minecraft編譯,防止generator輸出或SDK surface drift。Provider只提供操作形狀且不作runtime自證,真實語意仍由各integration GameTests驗證。 |
| `src/recipeAddonFixture/` | 獨立載入的 NeoForge test mod:註冊兩個custom `RecipeType`、legacy `singleItemToItem`與`deterministicResources` families,並以17個GameTests驗station/discovery、polymorphic fractional work與installed-first preview cycle、exact output、overlapping alternatives/remainders、addon kind capability/terminal/held container、mixed item+mana+fluid commit、generic+native Bus discovery、typed rollback escrow、Creative removal、retained catalyst/tool與capacity rollback。 |
Expand Down
Loading
Loading