buya-v/claude-softhouse/softhouse-program
Claude Code and agent skill by buya-v/claude-softhouse
- community
Checking that the SKILL.md file is still in the repository.
Unattended multi-run driver above the Softhouse pipeline — reads a program of bounded contexts from .softhouse/program.json, picks the next READY context, plans and executes it with /softhouse, parks blocked work instead of halting, records human decisions in a gate register, and hands control back to itself until the program is complete or a user gate is the only thing left. Use when the user runs /softhouse-program, asks to drive a multi-context migration or roadmap unattended, or wants a scheduled fire (launchd, cron, cloud routine) to advance a program without a human in the loop.
Install
npx vskill@latest install buya-v/claude-softhouse/softhouse-programSKILL.md
The same SKILL.md was published earlier as buya-v/claude-softhouse/softhouse-program.
/softhouse-program — Program Driver (v1, optional)
/softhouse runs one requirement, then stops. /softhouse-program is the loop above it: a program is a list of bounded contexts with dependencies, and the driver advances it one context per invocation. What it removes is the idle stop, not a check — every gate in /softhouse still applies.
Proven on one project for ~100 unattended scheduled fires over three weeks (a Java → Go strangler port with 17 contexts). This skill is the domain-free skeleton of that driver. Read docs/field-review-2026-10-01.md in the Softhouse repo for what it cost as well as what it did.
Usage
/softhouse-program init <goal>— create.softhouse/program.jsonfrom a conversation about the contexts and their dependencies; never executes./softhouse-program— one advance: close a terminal run if any, pick the next READY context, run it, persist, exit./softhouse-program status— print contexts, gates pending, last history entries; no changes./softhouse-program stop <reason>/resume— write or remove.softhouse/STOPPEDin a commit that states why.
program.json
A context is READY when every dependency is done (resolve against .softhouse/runs/*.json archives too — a context sat falsely blocked for several fires when only the live tasks.json was consulted) and no open gate in an always_stop class covers its scope. A context is READY-FOR-ANALYSIS when a gate blocks work that consumes a contract but not work that produces knowledge (analysis, extraction, test-corpus mining, gap audits): plan only that slice. An open gate must never mean an idle factory.
Gate register — .softhouse/gates.md
Human decisions, append-only prose plus an authoritative table at the top (| id | class | status | question | chosen_by | decided_on |). When prose and table disagree, the table wins and is rebuilt from program.json.gates_pending.
- Classes: the project declares which ALWAYS stop (default: CUTOVER, CONTRACT, REGULATORY, ACTIVATION — anything that binds money, third parties, or production). Every other class (POLICY, ENGINEERING, PRODUCT) is agent-decidable: the driver chooses, records
chosen_by: agentwith the reasoning and the counter-option, and continues; the owner retains veto and reverses by appending a block that says why (this path was exercised cleanly in the field). - A gate whose answer the owner has given in advance lives in
.softhouse/gates-proposed-answers.md(classified LEGAL / ENGINEERING / RESERVED); the driver cites it instead of asking. - Never split a RESERVED gate into an agent-decidable piece by rewording it.
Steps
STEP 0 — Pre-flight
- If
.softhouse/STOPPEDexists: print its first lines and exit. (It lives in the repo because a host-local scheduler disable did not survive a reboot.) - Take the lock:
.softhouse/LOCKis a tracked file containing{holder, started_at, fire_id}; commit and push it before anything else. Freshness is the holder's push recency to origin (git log -1 --format=%ct origin/main -- .softhouse/LOCK), never a heartbeat — a live fire that never pushed its dispatch record lost four worker branches to a second fire. A lock older than 24 h is stale; take it over and record an incident. git pull --ff-only. Read CLAUDE.md,.softhouse/patterns.md,program.json,tasks.json,RESUME.md(if present),gates.md, the last 5metrics.jsonllines.- Apply
/softhouseSTEP 0 in full (escalation rule, budget, protected paths, census).
STEP 1 — Decide (first match wins)
| Condition | Action | |
|---|---|---|
program status: complete | report, release lock, exit | |
tasks.json has a run that is not terminal | /softhouse resume → STEP 4 | |
tasks.json has a terminal run | close it (/softhouse STEP 8–9), mark its context done or parked, append history, fall through | |
| a READY context exists | STEP 2 with the smallest-id READY context (or the cursor's next) | |
| a READY-FOR-ANALYSIS context exists | STEP 2 with the analysis slice only | |
| only user gates remain | surface them (one message, all gates, evidence paths), release lock, exit | |
| everything parked | print every parked_reason, release lock, exit |
STEP 2 — Plan
Build the /softhouse-plan requirement from the context entry: title, scope_paths, dependencies' handoff paths, open gates that constrain it. If size_hint exceeds the project's split threshold (default: the size at which one run would need more than ~12 tasks), plan one slice and append it to contexts[].slices.
Plan checklist (replaces the human "approve?" — all seven must hold or the driver asks instead of proceeding):
- every task has a runnable
Done when:with a planning-time red result; - every task's
files_hintlies insidescope_paths(an out-of-scope diff is a rejection in review); - no task touches an
always_stopgate's subject; - protected tasks have
review_questionsand are not haiku; budget_tokensis set from metrics and fits the remaining daily window;- no two tasks share a file without a dependency;
- the escalation rule's required changes are present.
Record plan_auto_approved: true on the run with the checklist result.
STEP 3 — Execute
/softhouse resume. Worktree isolation is mandatory in program mode; shared-sequential is not allowed unattended. Record every spawn in program.json.in_flight and push before the first git worktree add; make this a wrapper step, not a paragraph — it was missed twice by drivers who had read the paragraph.
STEP 4 — Never-halt table
| Event | Action | |
|---|---|---|
| task failed after its retry | park the task with a WIP note (needs_retry), continue the run | |
| UAT red at run end | park the context with the evidence path; do not mark done | |
| external dependency (oracle, service, credential) unreachable | park only the work that needs it; keep analysis tasks running | |
a Done when: exits non-zero because the harness itself is broken (exit 2 convention) | corpus/harness defect: open an ENGINEERING gate, park nothing else | |
| 80% budget | /softhouse stop-and-ask becomes: finish in-flight workers, close the run as partial, exit; the next fire continues | |
a worker touched a file outside scope_paths | reject the task (scope-creep), record a violation in history |
STEP 5 — Gate triage
For every new question the run raised: classify. always_stop class → append to gates.md as OPEN, add to gates_pending, continue with unaffected work. Otherwise decide now, cite evidence, record chosen_by: agent. Never decide a gate the owner has marked RESERVED.
STEP 5.5 — Exit protocol (every exit, including failures)
- No live workers at exit: wait, or rescue their WIP into
needs_retrywith aSTATE.jsonper non-terminal task ({task, branch, last_commit, wip_note}). tasks.jsonis truthful: everyin_progresstask has a live agent or is demoted.- Rewrite
.softhouse/RESUME.md: what this fire did, what is parked and why, the next READY context, open gates. Stamp it with the fire id and time. - Verify every claimed commit exists on origin (
git branch -r --contains <sha>); a run once recorded five "landed" commits that origin never saw. - Append to
program.json.history:{fire_id, context, run_id, outcome, commits, tokens, parked, gates_opened}. Updatecursor. - Commit, push, release
LOCK(delete + commit + push).
STEP 6 — Hand-back
If one_context_per_fire is true, exit after one context. Otherwise, if commits were made and a READY context remains, return to STEP 1. A fire with no commits stops the chain: three consecutive no-commit fires is a stop condition (expired credentials and rate limits once produced five days of zero-turn fires that looked like progress).
Scheduled fires (optional)
- macOS launchd or cron runs
claude -p "/softhouse-program"in the repo under a wrapper that: checksSTOPPED→ preflight → runs the driver → runs the exit protocol even if the driver crashed (prune worktrees, demote deadin_progress, stampRESUME.mdwith a staleness banner, push). Keep the documented cadence and the plist in sync; they drifted in the field. - A cloud routine may run the analysis-only path on the same program; it must take the same
LOCKand must park any work that needs host-local services. - Watchdog: count consecutive fires with no commits, no turns, or only
.softhouse/changes; alert past 3. "Real progress is earned, never inherited."
What this layer costs (say so in init)
On the one program that ran it, harness and instrument code grew to 1.5× the delivered product code, four agents died on navigation (briefs without a map), and the owner stopped the program after three weeks in favour of hand-driven briefs. Use it for a long, well-specified migration with a mechanical oracle; do not use it to explore.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/softhouse-program/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/buya-v/claude-softhouse/softhouse-program)