Pipelines
Pipeline and protocol definitions.
Pipelines
WORK ORDER PIPELINE
Status: Seed (Genesis B)
Executes: Work Order Protocol (protocols/WORK-ORDER-PROTOCOL.md)
Stages
| # | Stage | Owner | Output |
|---|---|---|---|
| 1 | Issue | Brain 1 | Approved Work Order in /workorders |
| 2 | Boot | AI worker | Boot sequence complete |
| 3 | Execute | AI worker | Working-tree changes, exactly in scope |
| 4 | Return | AI worker | Review packet (no commit) |
| 5 | Review | AIR-X05 | Merge or reject recommendation |
| 6 | Approve | Brain 1 | Merge to main |
| 7 | Distill | AI worker | ROM entries for durable learning |
Gate
No stage advances past Return to Approve without AIR-X05 review and Brain 1 approval.
Seeded under WO-F-001. Genesis B — Active. Architecture Freeze v1.0.
REVIEW PIPELINE
Status: Seed (Genesis B)
Executes: Review Protocol (protocols/REVIEW-PROTOCOL.md)
Stages
| # | Stage | Owner | Output |
|---|---|---|---|
| 1 | Receive packet | AIR-X05 | Diff stat, file lists, build, smoke test, flags |
| 2 | Check Constitution | AIR-X05 | Pass / fail |
| 3 | Check Architecture Freeze | AIR-X05 | Pass / fail |
| 4 | Check simplification | AIR-X05 | Pass / fail |
| 5 | Check mission (Systems for AI) | AIR-X05 | Pass / fail |
| 6 | Recommend | AIR-X05 | Merge or reject |
| 7 | Decide | Brain 1 | Approve or hold |
Reject conditions
Any of: unapproved routes or navigation changes, authentication, database, AI features, analytics, or scope beyond the Work Order.
Seeded under WO-F-001. Genesis B — Active. Architecture Freeze v1.0.
ROM DISTILLATION PIPELINE
Status: Seed (Genesis B)
Executes: ROM Distillation Protocol (protocols/ROM-DISTILLATION-PROTOCOL.md)
Stages
| # | Stage | Output |
|---|---|---|
| 1 | Identify durable facts | Candidate facts that survive the Work Order |
| 2 | Distill | Smallest permanent form; temporary detail removed |
| 3 | Locate canonical home | One home in /rom, no duplicates |
| 4 | Reference source | Link to the canonical source document |
| 5 | Name and record | Stable ROM-NNN_TITLE entry |
Trigger
Runs at Work Order close, or whenever knowledge that will survive today has no canonical home yet.
Seeded under WO-F-001. Genesis B — Active. Architecture Freeze v1.0.
Protocols
BOOT PROTOCOL
Status: Seed (Genesis B)
Canonical source: boot/BOOT.md governs; this protocol formalizes it.
Purpose
Every AI entering Foundry follows one sequence before performing any work. The provider may change; the sequence does not.
Sequence
- Read
FOUNDRY.md— Constitution. - Read
DESIGN_LOCK.md— Laws. - Read
README.md— Orientation. - Read
/lexicon— Language. - Read
/rom— Permanent Knowledge. - Read
/workorders— Current Work. - Execute the approved Work Order only — nothing else.
Rules
- No work begins until the boot sequence is complete.
- If a Work Order conflicts with the Constitution or Design Lock, stop and report the conflict. Do not improvise.
- Do not expand scope. Do not build outside the approved Work Order.
Seeded under WO-F-001. Genesis B — Active. Architecture Freeze v1.0.
WORK ORDER PROTOCOL
Status: Seed (Genesis B) Purpose: How Work Orders are issued, executed, and closed.
Lifecycle
- Issue. Brain 1 issues a Work Order and assigns it to an AI worker.
- Boot. The assigned worker completes the Boot Protocol.
- Execute. The worker implements the Work Order exactly — no more, no less.
- Return. The worker returns the required review packet before any commit.
- Review. AIR-X05 reviews per the Review Protocol.
- Approve. Brain 1 approves the merge to
main. - Distill. Durable learning returns to ROM per the ROM Distillation Protocol.
Rules
- A Work Order is the only authorization to build.
- Scope is never expanded. If a question arises, default to: less is correct.
- No architecture, route, or navigation changes without an approved ADR.
- No commits to
mainwithout AIR-X05 review and Brain 1 approval. - If the Work Order conflicts with the Constitution or Design Lock, stop and report the conflict.
Seeded under WO-F-001. Genesis B — Active. Architecture Freeze v1.0.
REVIEW PROTOCOL
Status: Seed (Genesis B) Purpose: How completed Work Order output is reviewed before merge.
Reviewer
AIR-X05 reviews the diff and issues a merge or reject recommendation. Brain 1 approves the merge. No AI worker holds merge authority independently.
Acceptance Questions
Every diff is reviewed against four questions:
- Does it follow the Constitution?
- Does it preserve the Architecture Freeze?
- Does it simplify Foundry?
- Does it strengthen Systems for AI?
Review Packet
The implementing worker returns, before any commit:
git diff --stat- List of created files
- List of modified files
- Build result
- Smoke test result for existing routes
- Any scope concerns or flags
Outcome
- Merge: AIR-X05 recommends; Brain 1 approves; merge to
main. - Reject: Any scope violation (auth, database, AI, analytics, unapproved routes or nav) is grounds for rejection.
Seeded under WO-F-001. Genesis B — Active. Architecture Freeze v1.0.
ROM DISTILLATION PROTOCOL
Status: Seed (Genesis B) Purpose: How durable learning becomes permanent memory.
Principle
Temporary thinking stays in chat. Permanent decisions move to Foundry. Learning returns to Foundry. If knowledge survives today, it belongs in Foundry by end of day.
Procedure
- Identify. After a Work Order closes, identify facts that will still be true tomorrow.
- Distill. Reduce them to their smallest permanent form. Remove anything temporary, conversational, or provider-specific.
- Locate. Give each fact one canonical home in
/rom(no duplicate truths). - Reference. Point to the canonical source; the ROM entry distills, it does not replace.
- Name. Use a stable
ROM-NNN_TITLEidentifier.
Rules
- ROM is Read-Only Memory: durable, distilled, and provider-independent.
- ROM records what is already true. It does not introduce new architecture.
- Every artifact has one canonical home, one canonical name, one canonical purpose.
Seeded under WO-F-001. Genesis B — Active. Architecture Freeze v1.0.