Mission: Build Systems for AI|Genesis: B - Active|Architecture: Freeze v1.0|Current WO: WO-F-000

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

  1. Read FOUNDRY.md — Constitution.
  2. Read DESIGN_LOCK.md — Laws.
  3. Read README.md — Orientation.
  4. Read /lexicon — Language.
  5. Read /rom — Permanent Knowledge.
  6. Read /workorders — Current Work.
  7. 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

  1. Issue. Brain 1 issues a Work Order and assigns it to an AI worker.
  2. Boot. The assigned worker completes the Boot Protocol.
  3. Execute. The worker implements the Work Order exactly — no more, no less.
  4. Return. The worker returns the required review packet before any commit.
  5. Review. AIR-X05 reviews per the Review Protocol.
  6. Approve. Brain 1 approves the merge to main.
  7. 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 main without 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:

  1. Does it follow the Constitution?
  2. Does it preserve the Architecture Freeze?
  3. Does it simplify Foundry?
  4. Does it strengthen Systems for AI?

Review Packet

The implementing worker returns, before any commit:

  1. git diff --stat
  2. List of created files
  3. List of modified files
  4. Build result
  5. Smoke test result for existing routes
  6. 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

  1. Identify. After a Work Order closes, identify facts that will still be true tomorrow.
  2. Distill. Reduce them to their smallest permanent form. Remove anything temporary, conversational, or provider-specific.
  3. Locate. Give each fact one canonical home in /rom (no duplicate truths).
  4. Reference. Point to the canonical source; the ROM entry distills, it does not replace.
  5. Name. Use a stable ROM-NNN_TITLE identifier.

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.