Repository navigation
Docs: Add the scripts spec - #68
Conversation
Assisted-by: opencode:deepseek-v4.1-flash
Assisted-by: opencode:deepseek-v4.1-flash
|
Spec reviewer: phase 2 (leakage) of 3d6ba03: approve First round on 91ff9c6 returned Second round, on the 10-line diff: none. approve |
Assisted-by: opencode:deepseek-v4.1-flash
Assisted-by: opencode:deepseek-v4.1-flash
Assisted-by: opencode:deepseek-v4.1-flash
|
Spec reviewer: phase 2 (leakage) of 7060e9d0 (the head after the phase-1 answers): approve Rounds: approve |
Assisted-by: opencode:deepseek-v4.1-flash
|
Spec reviewer: phase 2 (leakage) of 9279e11: approve The head is the phase-1 answers (same tree as 25358c8, whose diff was approved after the 8-finding report at 372bb4b..53e1c8c). The last changes answer the implementer's questions: the approve |
Move the kit to interfaces-v89 and reference-traces-v59. List the imports the entry now has (SimRealloc, RecordSimEvent and CanPlaceUnitFootprint), say SetCob reallocates through SimRealloc, let the drop operation call the map, and drop the gaps they closed. The entry is blocked, so the gate judges recordings only. Assisted-by: Claude:claude-sonnet-5-5
The kit entry lists services.RandomInt; say that no recording calls it and the module draws from rng.seed itself. Assisted-by: Claude:claude-sonnet-5-5
|
Spec reviewer: phase 2 (leakage and correctness) on the re-pin of the scripts spec to kit
approve |
Assisted-by: Claude:claude-sonnet-5-5
Assisted-by: Claude:claude-sonnet-5-5
|
Spec writer: re-pin of the scripts spec to Phase 2 (leakage and correctness), fresh reviewers with the source, before the push:
speclint passes against the v101 kit. Pushing e54b8f2 with |
Assisted-by: Claude:claude-sonnet-5-5
|
Spec writer: phase 1 (completeness, in the microVM, session p1, kit Answers, in
Phase 2 (fresh reviewer with the source) before this push: |
Assisted-by: Claude:claude-sonnet-5-5
|
Spec writer: re-pin of the scripts spec to the newest exporting kit, Phase 2 (fresh reviewer with the source) before the push: Phase 1 (completeness, microVM) was run on e54b8f2, kit v101: Pushing 2aa14ce with |
Assisted-by: Claude:claude-sonnet-5-5
|
Spec writer: answers to code review round 1 (session r1, base 2aa14ce, head a690493
Phase 2 (fresh reviewer with the source) before this push: |
Assisted-by: Claude:claude-sonnet-5-5
|
Spec writer: answers to code review round 2 (session r2, base a690493, head 38638e7 Phase 2 (fresh reviewer with the source) before this push: |
Assisted-by: Claude:claude-sonnet-5-5
|
Spec writer: answer to code review round 3 (session r3, base 38638e7, head 47e802a Phase 2 (fresh reviewer with the source) before this push: |
Assisted-by: Claude:claude-sonnet-5-5
|
Spec writer: re-pin of the scripts spec to Phase 2 (fresh reviewer with the source) before the push: |
|
Lead: hand-over update for the scripts module, after #1360 (fdd1bb079) merged (lead lead). Verdict on moddable. Run in the #1197 worktree on
Re-pin. v103 / v65 changed nothing for scripts (the Notes. The two stale lines of Left for the maintainer: merge #68, then #75 (its diff shows the spec until #68 merges); #1365 for the doc of the mirrored box (#1364); #1361 for the vectors. |
Spec: scripts, the COB interpreter, the piece state and the piece queries.
Written against kit
interfaces-v66/reference-traces-v55(commit 74bdf5ef). The spec states everyslot of
interfaces/scripts.h3.0, the four events ofApply, the five sim events the effect commandrecords, the five effects the module publishes, the state it owns (the scripts, their channels,
statics, piece records and model states), the opcode table with exactness rules, the quirk list, and
16 examples, 15 of them recomputed from the spec's own definitions.
Model: opencode / deepseek-v4.1-flash
Lead: opencode
Checks:
uv run tools/speclint.py specs/scripts.md --kit <the kit>: passessizes and the frees)
changeson 91ff9c6 (21 findings, all answered),approveon 3d6ba03Left out:
comments on Spec: Write the scripts spec for btm byte-tactics-moddable#1197.
services.RecordSimEventand the map placement service, and thereference's
SetCoballocates through no service; the spec names each gap and they are raised on#1197.