Fsm Lab — Development skill for Claude Code
The GHA-native agent execution OS — engine-agnostic (Claude Code + Codex adapters): intake/conductor/dispatch/workers/reports/watchdog, epochs, budgets, dual-bucket overflow.
How to install Fsm Lab
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open claudecode-headless/fsm-lab and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Fsm Lab does
The GHA-native agent execution OS — engine-agnostic (Claude Code + Codex adapters): intake/conductor/dispatch/workers/reports/watchdog, epochs, budgets, dual-bucket overflow. Mock-first at every layer; public repo = free runner minutes.
Alternatives in Development
- Job Hunt Copilot — 建立个人项目素材库,针对每个投递岗位自动生成定制简历、面试讲稿和模拟面试 217 ★
- Aod.Project Plan — Create implementation plan with dual sign-off (PM + Architect) - Streamlined v2 89 ★
- Skill Eval Harness — Agent Skill evaluation harness for paired variants, trace artifacts, and runner adapters 77 ★
README
fsm-lab — The GHA-Native Agent Execution OS (engine-agnostic: CC + Codex)
**Charter (reframed 2026-09-24):** this repo is the **GHA-based agent harness / execution engine / OS** — not a CC-GHA adapter. The agent harnesses (Claude Code, OpenAI Codex CLI) are **replaceable executors** beneath the OS: the intake door, conductor, dispatch budgets, dual-bucket workers, union verification, watchdogs, epochs, and the alert lane are engine-agnostic machinery; each engine is one adapter (`worker/cc-adapter.mjs`, `worker/codex-adapter.mjs`) behind the shared `engineTurn` contract. The application layer grows on top (first: the agent review kit).
**Origin (Track-1 Task 43 lab, kept for history):** The de-risking question was: can a single, local, continuously-running agent harness (like Claude Code) be converted into a **distributed system of short-lived GHA jobs that is collectively continuous** — stateful, parallel, watched, and bounded — using only GitHub-native constructs? (Answer: yes — see EVIDENCE.md; the system now runs production-grade with two engines.)
stateless today stateful here
───────────────── ───────────────────────────────
trigger ─▶ one agent turn ─▶ reply conductor ─▶ FSM(state) ─▶ dispatch workers ─┐
(HTTP request/response) ▲ ▲ │ lease + event report │
│ │ ▼ │
chain ─────┘ └── watchdog (re-prime, breaker) │
(GITHUB_TOKEN self-dispatch: finite jobs, infinite loop) ◀──────┘
The architecture in one page
| Concern | Mechanism | Where |
|---|---|---|
| State anchor | versioned state.json + rotating journal-*.jsonl on the fsm-state git branch; CAS = FF-only push; corruption recovery = git-history walk; event-sourced rebuild = journal replay |
lib/store.mjs |
| The process (FSM) | pure transit |
Related Skills
Project Bucephalus
A tool-agnostic agent harness: a manager agent that plans and delegates work to coding agents, shared skills,
Prompt SLO
Prompt: Ship a latency SLO, as a ratio at a bucket boundary
Bulk Fix
Bulk-execute standalone bucket tickets — auto-apply atomic findings, group into M coherent PRs, one batch-revi
Canadian Finance Planner Skill
A Claude skill that turns Claude into your personal financial planner — built specifically for Canadians. Inte
Coordinate
Guide efficient subagent invocation with schema.org vocabulary and token budgets
Lupus
Local supervisor that makes Claude Code and Codex CLI finish verifiable work: evidence-only completion, frozen
Related Agents
Fw Debugger
Truy nguyên nguyên nhân gốc lỗi firmware theo phương pháp điều tra - HardFault, BusFault, MemManage, UsageFaul
Proofreader
Expert proofreading agent for academic lecture slides. Reviews for grammar, typos, overflow, and consistency.
Web Research Specialist
Research technical topics by searching the web — debug errors, compare solutions, find best practices from Git