Orchestrata Ultimate › Plans › briefs › adr-0114-roots-and-level0

ADR-0114 roots and ADR-0113 LEVEL0 identity — brief for one sonnet run

Source: plans/briefs/adr-0114-roots-and-level0.md at 8a2cb42ad · last changed 2026-10-19 · first committed 2026-10-19 · 76 lines.

Prose pending.

Plan text

ADR-0114 roots and ADR-0113 LEVEL0 identity — brief for one sonnet run

DESIGN_WAIVER: ADR-0114 and ADR-0113. This brief executes those two Accepted decisions and nothing else.

Goal

env/ast-roots.env declares one src root per landed component package, and docs/LEVEL0.md is regenerated from a generator that states the components mission and that the 0faca7a7 push is not the cut-over.

Ruling / context (only what the worker cannot derive)

Inputs (exist; read nothing else)

Work

  1. Append these roots to the ORCHESTRATA_AST_ROOTS value in env/ast-roots.env, still one double-quoted assignment, primary root unchanged:

    packages/contracts/src packages/governance/src packages/knowledge_graph/src packages/kernel/src packages/session/src packages/volks/src packages/gateway/src packages/tools/src

    Add one comment line that ADR-0114 is why they are there, and that packages/kg/src is not a path.

  2. In scripts/gen_level0.py, replace the identity line that says the mission is porting ~122K LOC into one package. The generated identity block must state all of the following, as ordinary markdown lines in the lines list:

    • Orchestrata is an agent orchestration engine. A human intent enters through Concierge. Specialist volks each receive an LLM, injected context, and a persona. The graph is context. Redis is events and queues. Prolog computes what can be computed.
    • This checkout holds packages/<name>/ beside src/orchestrata_ultimate/. Cut-over has not happened.
    • origin/master at 0faca7a7, prod deployed 2026-10-19T11:41:39Z, is a backup-and-deploy of the in-progress tree (ADR-0113), not the cut-over. Cut-over remains: integration passes the fleet tier, the old src/orchestrata_ultimate/* trees are removed, one merge to master, and /opt/orchestrata ships from that tree.
  3. Regenerate by running .venv/bin/python scripts/gen_level0.py from the repo root. Then run .venv/bin/python scripts/gen_level0.py --check and leave it at exit 0.

Verify (deterministic, no tests)

Rules

Files

env/ast-roots.env
scripts/gen_level0.py
docs/LEVEL0.md

Checks

rc=0 :: grep -q 'packages/knowledge_graph/src' env/ast-roots.env
rc=1 :: grep -q 'packages/kg/src' env/ast-roots.env
rc=0 :: grep -q 'ORCHESTRATA_AST_ROOTS="src/orchestrata_ultimate ' env/ast-roots.env
rc=0 :: .venv/bin/python scripts/gen_level0.py --check
rc=0 :: grep -q 'Cut-over has not happened' docs/LEVEL0.md
rc=0 :: grep -q 'ADR-0113' docs/LEVEL0.md
rc=1 :: grep -q 'Porting ~122K LOC' docs/LEVEL0.md

Done

Reply with: the eight appended roots in order, the gen_level0.py --check line, and confirmation that no ADR file and no graph were touched.