Skip to content

Adopt portable swarm practices in loop engineering - #39

Merged
cheshirecode merged 2 commits into
mainfrom
codex/loop-engineering-swarm-forge
Sep 12, 2026
Merged

Adopt portable swarm practices in loop engineering#39
cheshirecode merged 2 commits into
mainfrom
codex/loop-engineering-swarm-forge

Conversation

@cheshirecode

@cheshirecode cheshirecode commented Sep 12, 2026

Copy link
Copy Markdown
Owner

Loop-engineering gave shared-filesystem workers conflicting instructions about writing shared Worklog state. This change defines one role and handoff contract: workers return revision-aware evidence, the parent verifies it and owns shared persistence, and every orchestrator cycle invokes the driver so radar and queue checks stay active.

Adopts portable practices from swarm-forge: scoped ownership, independent acceptance checks, stale-return reconciliation and explicit uncertainty. Keeps the existing skill distribution; no plugin runtime is needed. Separates radar interpretation from process/artifact IO while preserving verdicts and the state schema. Adds malformed-response and rejected-state preservation coverage, and regenerates the loop-run package.

Removes historical migration, audit and Pixel reports, the MCP changelog, dated testing anecdotes and historical narratives from the shipped Worklog template. Enduring rationale is retained in two architectural decision records; active usage guidance and test specifications remain.

Validation:

  • macOS Bash 3.2 full suite: 158 pass, 0 fail.
  • Sibling sandbox Linux ARM64 image, running as dev: 158 pass, 0 fail. The final two-file documentation delta additionally passed Linux static (14/0) and Worklog (22/0), plus macOS Worklog (22/0).
  • 109 focused skill tests; package parity and skill validators passed. Independent crew review covered four ownership/return scenarios; differential radar review matched 7,840 cases. Real orchestrator driver cycles exercised radar and Worklog queue probes.
  • Derived CRAP: radar_line 41.60 to 7; new pure helpers 15 and 17. State validator 56.95 to 31 through 100% executable-line coverage without semantic changes. DRY and Liskov analysis is recorded in the maintained quality guidance and decision record.
  • All five CI jobs passed at acb404f, including the Node MCP e2e skipped by local suites: https://github.com/cheshirecode/dotfiles/actions/runs/34704266741.

Worklog project: generic-loop-engineering. Children: loop-swarm-contracts, loop-swarm-runtime, loop-design-docs, loop-swarm-verification. Scope is implemented and ready for review. No global skill installation or merge performed; Windows and x86 Linux were not tested.

@cheshirecode
cheshirecode merged commit b5ba62d into main Sep 12, 2026
5 checks passed
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.

1 participant