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)
- Accepted ADR-0114 lists
packages/kg/src. That path does not exist. The decision sentence is "one root per component package's src dir". Usepackages/knowledge_graph/src. Do not edit the ADR file. - Do not add
packages/integration/src. It does not exist. Do not addpackagesorpackages/<name>as a root. The walker skips directories that containpyproject.toml. Add only thesrcdirectories named below. - The first root stays
src/orchestrata_ultimate. Append. Do not reorder the existing roots. docs/LEVEL0.mdis generated. Editscripts/gen_level0.pyonly, then run the generator. Do not hand-editdocs/LEVEL0.md.- Closed routes: do not add a tools→kernel edge, do not start integration, do not sync the graph, do not commit.
Inputs (exist; read nothing else)
plans/component-fixes-2026-10-19.md— sections 3 and 4.3env/ast-roots.env— the declaration to append toscripts/gen_level0.py— identity strings around the "Porting ~122K LOC" linedocs/adr/0113-integration-l1-builds-now-and-the-master-push-is-recorded-as-backup-and-deploy-not-cut-over.md— the sentence LEVEL0 must carrydocs/adr/0114-orchkg-sees-the-component-packages-and-spec-and-requirement-nodes-are-in-scope.md— the root rule
Work
-
Append these roots to the
ORCHESTRATA_AST_ROOTSvalue inenv/ast-roots.env, still one double-quoted assignment, primary root unchanged:packages/contracts/srcpackages/governance/srcpackages/knowledge_graph/srcpackages/kernel/srcpackages/session/srcpackages/volks/srcpackages/gateway/srcpackages/tools/srcAdd one comment line that ADR-0114 is why they are there, and that
packages/kg/srcis not a path. -
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 thelineslist:- 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>/besidesrc/orchestrata_ultimate/. Cut-over has not happened. origin/masterat0faca7a7, 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 oldsrc/orchestrata_ultimate/*trees are removed, one merge to master, and/opt/orchestrataships from that tree.
-
Regenerate by running
.venv/bin/python scripts/gen_level0.pyfrom the repo root. Then run.venv/bin/python scripts/gen_level0.py --checkand leave it at exit 0.
Verify (deterministic, no tests)
packages/knowledge_graph/srcis in the declaration.packages/kg/srcis not.- The first token of the declaration value is still
src/orchestrata_ultimate. docs/LEVEL0.mdcontainsADR-0113andCut-over has not happenedand does not containPorting ~122K LOC.scripts/gen_level0.py --checkexits 0.
Rules
- Edit only the files in the fence. Create nothing.
- No commit, no
git add. No subagents. No graph sync. No pytest suite. - Do not edit any file under
docs/adr/.
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.