Skip to content

Model verification and cleanup lifecycles and reconcile the final inventory - #280

Merged
DocksDocks merged 4 commits into
mainfrom
273-model-stateful-tooling-and-complete-the-repository-inventory
Dec 1, 2026
Merged

DocksDocks merged 4 commits into
mainfrom
273-model-stateful-tooling-and-complete-the-repository-inventory

Conversation

@DocksDocks

@DocksDocks DocksDocks commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

Plan run: #273 — Model stateful tooling and complete the repository inventory

Pull request: #280. Checks: Passed All 10 jobs passed on the tested merge. Reviewed head: bd626363fd0a6c508e0f6fc0bda0053fc9507f57.

What changed

  • The verification driver reads both tool advertisements from the prompted request. It no longer treats an auxiliary request as a failed plugin load.
  • Print scans, process handles, pending calls, lexer tokens, cleanup reminders and the Git test baseline now own the data that applies to their current state. The real hook check also observes the stop reminder at the local provider.
  • A stop now discards an old check result if the pending record has changed. An overlapping check can no longer repeat a notice or erase the reminder for a newly created resource.

Decisions and corrections

  • Baseline load failed although the prompted request offered both tools. The corrected driver still fails if the prompted request omits either advertisement.
  • The final inventory covers 1,151 entries and all six owners. The scan did not inspect frozen plan history or benchmark case contents.

Delegated decisions

  1. Scan lifetime: keep the original final promise; refresh only on timeout after completion. A global process state or a replacement promise would lose identity. Revert in the smoke helpers. Research 1.
  2. Pending calls: separate outstanding work from the opening prompt. An issued flag retains unused call data. Revert in the fixture responders. Research 2.
  3. Lexers: store metadata with the active token or candidate. Independent counters can outlive it. The parsers can be reverted independently. Research 3.
  4. Other candidates: keep independent facts and already explicit state. Turning each counter or ordered procedure into a state machine adds no invariant. Revisit individual owners independently. Research 4.
  5. Inventory: assign every tracked path to its owner, including shared consumers. A filename count does not establish structural coverage. Regenerate the index from a revision. Research 5.
  6. Test guard: store dirty-file fingerprints only with the Git baseline. Separate snapshots can disagree. Revert the guard independently. Research 6.
  7. Load correction: use the actual fixture prompt, not the first request or a search by tool name. Those alternatives can borrow unrelated advertisements. Revert in the helper and driver. Research 7.
  8. Reminders and print hooks: retain each key’s reminder status and attach the print hooks as one operation. A global reminder flag or independent hook slots can disagree. Revert within each owner. Research 8.
  9. Fixture isolation: replay the original tidy command in a fresh, allowlisted namespace, not a host-root mount. Replace the outer wrapper without touching runtime behavior. Plan review round 3, manager response to round 2.
  10. Runtime proof: observe the stop continuation at the provider and correlate the final print scan with the actual text send. Direct handler assertions or process liveness cannot prove delivery order. Remove the private probes independently. Plan review rounds 4–6 and A3.
  11. Stale stop results: apply a result only to the exact pending record it checked. A global lock would also block unrelated resources. The fixes and regressions share the original ledger owner. Parent Make implicit state machines explicit across the codebase #267 Research and child plan review rounds 7–9.
  12. Package proof: pack offline, then install the same hash-checked tarball in an empty consumer using the public npm registry. A cached install could hide a dependency error. Neither environment can see the user's home. Child steps 7 and 8.
  13. Generated bundle: regenerate the kit version imported by talk. Keeping the old bytes failed prepack. A byte comparison allows only the new package-version literal, not a protocol change. Revert with the package version. Research, Package correction.

Reviews

Plan review passed in round 11. Code review passed in round 4. Open findings: three unobserved shutdown-timeout cases, tracked in #279.

Verification

  • The 34-file replay passed 1,313 tests. On the final pipe repair, the three affected suites passed all 41 tests. The public tidy command preserved a dirty worktree; the real Vitest guard detected an overwrite. All three reminder regressions failed on the pre-fix source.
  • Inert differential corpus: 416 shell fragments and 212 JavaScript fragments. The output matched the base byte for byte.
  • Four positive and twelve negative isolated omp runs met their expectations. The hygiene scan used the actual stop continuation. Both RPC failure controls reported exit 47 while a helper held the pipes. Startup and missing-scan diagnostics named the right session; every run removed its private registry.
  • check:generated, scoped lint and formatting, two public dry runs and twelve mutation cases passed. Only the single package-version literal changed in the generated talk bundle. All 36 changed digests matched the independent comparison.
  • smoke:package installed the hash-checked tarball with four exact dependency pins. The installed CLI and the plugin manifest from an offline public sync both reported 0.31.3.

Limits and failures

  • The full local bun run check did not run. Local tests skipped the Windows-only tidy case and the hosted-CI-only registry case. Type checking passed with two existing suggestions in unrelated commands. Prepack initially rejected the stale bundle and passed after regeneration.

Kept resources

After merge

Checklist

  • bun run check passes locally: the full local suite did not run.
  • bun run check:types passes.
  • Tested locally end to end: A1–A5.
  • Required Full CI: All 10 jobs passed on the tested merge.
  • Code review passed in round 4.

Closes #273

Keep each scan, outstanding call, token and Git baseline with the data its phase owns.
Read both tool advertisements on the prompted load request. Check the stop continuation at the fixture provider.
Verified: 34 focused suites, 628 differential parser cases, 12 isolated host cases and 14 golden cases.
- Ignore results for records that are no longer pending.
- Require the prompted load request and a completed stop continuation in the verification driver.
- Regenerate the 0.31.3 package artifacts and sync snapshots.
- Wait for the hygiene stop continuation before its final registry scan.
- Retain the spawned peer and report its exit when readiness fails.
- Inspect the task tool’s advertised agent section instead of unrelated bullets.
- Keep the peer exit code if another process holds stdout or stderr.
- Name a missing final scan without attributing one to a failed spawn.
@DocksDocks DocksDocks linked an issue Dec 1, 2026 that may be closed by this pull request
@DocksDocks
DocksDocks marked this pull request as ready for review December 1, 2026 05:40
@DocksDocks
DocksDocks merged commit 49f308a into main Dec 1, 2026
10 checks passed
@DocksDocks
DocksDocks deleted the 273-model-stateful-tooling-and-complete-the-repository-inventory branch December 1, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Model stateful tooling and complete the repository inventory

1 participant