|
| 1 | +import sys |
| 2 | + |
| 3 | +with open('ECOSYSTEM.adoc', 'r', encoding='utf-8') as f: |
| 4 | + content = f.read() |
| 5 | + |
| 6 | +# Replace block 1 |
| 7 | +old1 = '''|ffinescript-dom-loader |scope-deferred |INT-02 substrate (#179) |
| 8 | +shipped + closed 2026-05-31 as packages/affine-js/loader.js — already |
| 9 | +host-agnostic (Deno/Node/browser parity). Whether the satellite repo |
| 10 | +still earns its keep (vs. folding into ffine-js) is the open question |
| 11 | +in #489; INT-08 reconciler runtime (#183) is verified end-to-end 2026-07-07 |
| 12 | +(ffinescript-dom/e2e/run.sh; #255 fixed via #257) — revisit when it |
| 13 | +dictates any DOM-specific loader surface. |
| 14 | +
|
| 15 | +|ffinescript-cadre''' |
| 16 | + |
| 17 | +new1 = '''|ffinescript-cadre''' |
| 18 | + |
| 19 | +content = content.replace(old1, new1) |
| 20 | + |
| 21 | +# Replace block 2 |
| 22 | +old2 = '''|INT-02 |Host-agnostic loader bridge (ffinescript-dom-loader) |#179 |
| 23 | +**CLOSED 2026-05-31** |loader in packages/affine-js (SAT-02 fixed; |
| 24 | +Deno/Node/browser parity, multi-namespace import object, ownership-section |
| 25 | +accessor). *PROVEN + regression-locked:* 14 unit tests via pinned |
| 26 | +deno task test (was flag-fragile — no run task) + ests/modules/loader-bridge/ |
| 27 | +drives the *real* loader API over genuine compiler-emitted cross-module wasm |
| 28 | +(eadBytes+uildImportObject link CrossCallee.consume(42)=42; |
| 29 | +parseOwnershipSection reads a real Linear-param entry) — closes |
| 30 | +INT-01 ↔ INT-02. S1; **unblocked INT-05/08/11**. The ffinescript-dom-loader |
| 31 | +satellite shell is downstream — scope question deferred to #489.''' |
| 32 | + |
| 33 | +new2 = '''|INT-02 |Host-agnostic loader bridge |#179 |
| 34 | +**CLOSED 2026-05-31** |loader in packages/affine-js (SAT-02 fixed; |
| 35 | +Deno/Node/browser parity, multi-namespace import object, ownership-section |
| 36 | +accessor). *PROVEN + regression-locked:* 14 unit tests via pinned |
| 37 | +deno task test (was flag-fragile — no run task) + ests/modules/loader-bridge/ |
| 38 | +drives the *real* loader API over genuine compiler-emitted cross-module wasm |
| 39 | +(eadBytes+uildImportObject link CrossCallee.consume(42)=42; |
| 40 | +parseOwnershipSection reads a real Linear-param entry) — closes |
| 41 | +INT-01 ↔ INT-02. S1; **unblocked INT-05/08/11**. The ffinescript-dom-loader |
| 42 | +satellite repo concept was dropped (#489 closed via Option A: folded into ffine-js).''' |
| 43 | + |
| 44 | +content = content.replace(old2, new2) |
| 45 | + |
| 46 | +# Replace block 3 |
| 47 | +old3 = '''|INT-11 |Browser host parity (DOM loader + reconciler end-to-end) | |
| 48 | +ledger-only |planned (INT-02 dep cleared 2026-05-31 via #179; INT-08 |
| 49 | +runtime verified end-to-end 2026-07-07 under Node — browser-host parity |
| 50 | +is the remaining leg). Satellite-repo question = #489.''' |
| 51 | + |
| 52 | +new3 = '''|INT-11 |Browser host parity (ffine-js loader + ffinescript-dom reconciler end-to-end) | |
| 53 | +ledger-only |planned (INT-02 dep cleared 2026-05-31 via #179; INT-08 |
| 54 | +runtime verified end-to-end 2026-07-07 under Node — browser-host parity |
| 55 | +is the remaining leg). Satellite-repo question resolved (#489 closed via Option A: folded into ffine-js).''' |
| 56 | + |
| 57 | +content = content.replace(old3, new3) |
| 58 | + |
| 59 | +with open('ECOSYSTEM.adoc', 'w', encoding='utf-8') as f: |
| 60 | + f.write(content) |
| 61 | + |
| 62 | +print(\ |
|
0 commit comments