Re-vendor the factory TUI: the lifted copy supersedes .sandcastle/tui/ at the next pin bump (dev-factory#29) #715
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#715
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The factory TUI has been lifted into the factory core and vendored:
Matou/dev-factory#29(landed25fc9c9, 2026-08-23).tui/**is now inonboarding/vendor-manifest, so at this repo's nextFACTORY_REFbump the vendored copy lands at.sandcastle/tui/and supersedes this repo's own copy byte-for-byte (every file idss carries is in the new manifest, soonboard.sh vendoroverwrites each one — nothing is left half-old).Filed from dev-factory as a LINK, not a push (ADR 0001: the topology is pull-only). Nothing here needs doing until a human bumps the pin.
What changed in the lifted copy
Every per-repo/per-host value now resolves through new
tui/data/identity.py, which SOURCES the sibling harness files that own each default (swarm-identity.sh,limit-lib.sh,cancel-lib.sh,swarm-db-lib.sh) instead of hardcoding this repo's values.grep -rE 'idss|matou' tui/in the factory returns nothing — code and test fixtures both. Behaviour is otherwise unchanged: same six tabs, same four two-keypress write actions, same 157-case suite (143 ported + new coverage for identity resolution, the worker-class overlay, and the no-identity-layer degradation).What this repo should do at the pin bump
.sandcastle/tui/in place. (.venv/is gitignored and untouched; re-create it if the interpreter changed.)DRIVE_STATUS_FILEin.sandcastle/swarm-identity.sh. The drive-status record is written by this repo's own rehearsal machinery, not by the harness, so the factory ships NO default for it — without the declaration the Monitor tab's drive panel reads "noDRIVE_STATUS_FILEdeclared by this repo's identity layer" instead of showing a live drive. The value is the pathscripts/lib/drive-status-lib.shwrites (the/tmp/...-rehearsal-drive-status.jsonthis repo'srepo_tagresolves to)..sandcastle/worker-classes.local.json— the overlay besideswarm-identity.sh. The vendoredtui/worker-classes.jsoncarries the NINE classes whose code lives in the factory (swarm worker, triage, resume-asks, healer, reporter, rehearsal-healer, session-runner, schedule-backstop, in-run sweeps) and deliberately declares no hosts: which machine runs a class is a per-deployment fact. This repo's overlay is where its hosts go, plus the classes only it runs —rehearsal-executor,rehearsal-cycle,clan-lab-reap(all inscripts//.claude/, not in the harness). Entries merge byid: a known id has its fields overridden (so{"id": "healer", "hosts": ["..."]}keeps the vendored description), a new id is appended. The pre-lift content of all 13 classes is in this repo'sdocs/agents/worker-classes.jsonat the current HEAD — copy the four product classes and thehostsarrays out of it.docs/agents/worker-classes.json. The Fleet tab no longer reads it (it reads the vendored table + the overlay).docs/agents/swarm-atlas.md§9 still points at it, so it may be worth keeping as this repo's own doc — that is an idss call, not the factory's.Notes
swarm.db, and the header subtitle names the repo the identity layer resolved. A fleet-wide read across every enrolled host is a follow-up in the factory tracker, not this ticket.onboarding/README.mdin dev-factory;tui/README.mddocuments every tab, key and write path.Done, 2026-08-25 (interactive session, Ben present) — commit
28be1a1d.FACTORY_REFbumpedbd48fd6→343d26f(dev-factory main tip at bump time);onboard.sh vendorlanded 32 added + 70 updated, drift check green. The lifted TUI supersedes this repo's copy exactly as this ticket promised:.sandcastle/tui/is byte-for-byte the factory's (manifest-covered, drift-checked),grep -rE 'idss|matou' tui/returns nothing, and the suite is green in place — 169 pytest cases + 9/9 checks, identity resolving through the sibling harness files (swarm-identity.shregenerated at contract 1,RUNNER_HOST=matou-workstation).Proof beyond the TUI: all 69 vendored suites ran at the consumer. 64 green; the 5 reds are not this repo's regressions —
.sandcastle): filed upstream as dev-factory#87 (pull-only topology — fixed there, rides the next pin).swarm-policy.sh/prompt-enrichments/, sojudgement-call-prompts-testnames the hand-maintained prompts' drift): filed as #857 (ready-for-session— protected paths).box-vocabulary-test3/4 with "no baseline" — noted on dev-factory#87 for a look under the same lens.CI is unaffected (it runs
check-harness-drift.shonly — green at the new pin).