LearnNewsExamplesConnect
Frontmatter
assigneesneo-gemini-julia
createdAtNov 7, 2026, 3:04 AM
updatedAtNov 23, 2026, 1:52 AM
githubUrlhttps://github.com/neomjs/neo/issues/20526
authorneo-gemini-julia
commentsCount1
parentIssue20498
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 23, 2026, 1:52 AM

List only retained engine ADRs (including 0004 and 0007) in learn/tree.json

Closed v14.0.0/archive-v14-0-0-chunk-1 documentationenhancementai
neo-gemini-julia
neo-gemini-julia commented on Nov 7, 2026, 3:04 AM

Context

Sub-issue of #20498 implementing Row 3 (retained-decisions-nav) of the three-reader learn/ map (#20498#issuecomment-6697670393).

  • Ownership disposition: claimed by @neo-gemini-julia

The Problem

Under "Brain Interface, Fleet & Agent Tooling" → "Retained Decisions" (AgentInterfaces/Decisions) in learn/tree.json:

  1. Five entries (0020-agent-harness-concept, 0032-institution-cockpit-render-model, 0034-electron-shell-architecture, 0037-fleet-manager-outward-door-topology, 0038-fm-client-topology) are type: redirect pointer files ("Moved to Agent Institution") visible without "hidden": true in the navigation tree.
  2. Meanwhile, two substantive accepted engine ADR files in learn/agentos/decisions/ — 0004-github-content-architecture.md and 0007-agents-md-compaction-taxonomy.md — are missing from learn/tree.json.

Design authority: #20498 + #20498#issuecomment-6697670393 (Row 3 retained-decisions-nav).

The Architectural Reality

  • learn/agentos/decisions/ holds two classes of files on dev:
    • 7 Retained Engine ADRs: 0004-github-content-architecture, 0007-agents-md-compaction-taxonomy, 0008-skill-anatomy-and-authoring-contract, 0018-neo-identity-source-of-truth-model, 0021-extended-nl-multi-writer-write-enforcement, 0029-docking-design, 0031-target-architecture-composition (substantive decision records governing neomjs/neo).
    • 5 Redirect Pointer Files (type: redirect): 0020-agent-harness-concept, 0032-institution-cockpit-render-model, 0034-electron-shell-architecture, 0037-fleet-manager-outward-door-topology, 0038-fm-client-topology (kept on disk and in learn/tree.json with "hidden": true so historical #/learn/agentos/decisions/... routes and seo.json noindex, follow entries in Generate.spec.mjs remain intact while Neo.tree.List#createItem hides them from the visible sidebar).

The Fix

  1. In learn/tree.json under "Retained Decisions" (AgentInterfaces/Decisions), add "0004 — GitHub Content Architecture" (agentos/decisions/0004-github-content-architecture) and "0007 — Compaction Taxonomy" (agentos/decisions/0007-agents-md-compaction-taxonomy) in numerical order alongside 0008, 0018, 0021, 0029, and 0031.
  2. Mark the 5 type: redirect entries (0020, 0032, 0034, 0037, 0038) with "hidden": true in learn/tree.json and keep their .md files on disk in learn/agentos/decisions/.
  3. Add a unit assertion in test/playwright/unit/app/content/TreeList.spec.mjs verifying that visible leaves under AgentInterfaces/Decisions match the 7 substantive retained Engine ADRs while all 5 redirect pointers carry "hidden": true.

Contract Ledger

Target surface Source of authority Proposed behavior Fallback / edge case Docs Evidence
learn/tree.json (AgentInterfaces/Decisions children) #20498#issuecomment-6697670393 Row 3 + src/tree/List.mjs#createItem Visible "Retained Decisions" items are the 7 substantive retained engine ADRs (0004, 0007, 0008, 0018, 0021, 0029, 0031); the 5 type: redirect entries carry "hidden": true and remain on disk Preserves #/learn/agentos/decisions/0020..0038 route resolution and seo.json noindex, follow invariants (Generate.spec.mjs:1367) learn/tree.json node ./buildScripts/util/check-relative-links.mjs + TreeList.spec.mjs + LearnCorpusLinks.spec.mjs + Generate.spec.mjs

Decision Record impact: aligned-with neomjs/neo#adr:github-content-architecture (0004), neomjs/neo#adr:agents-md-compaction-taxonomy (0007), and neomjs/neo-agent-brain#adr:adrs-as-graph-queryable-entities (0006 §2.9).

Acceptance Criteria

  • AC-1: Visible leaves under "Retained Decisions" (AgentInterfaces/Decisions) in learn/tree.json list all 7 substantive retained engine ADRs (0004, 0007, 0008, 0018, 0021, 0029, 0031), while the 5 type: redirect pointer entries (0020, 0032, 0034, 0037, 0038) carry "hidden": true (pinned by TreeList.spec.mjs).
  • AC-2: All 5 redirect pointer .md files remain on disk in learn/agentos/decisions/ and pass Generate.spec.mjs and Verify.spec.mjs.
  • AC-3: node ./buildScripts/util/check-relative-links.mjs, node ./buildScripts/util/check-whitespace.mjs, and LearnCorpusLinks.spec.mjs pass with 0 errors without hand-editing apps/portal/sitemap.xml, apps/portal/llms.txt, or apps/portal/resources/data/seo.json.

Out of Scope

Deleting the redirect .md files from learn/agentos/decisions/ or hand-editing pipeline/release-generated SEO outputs (apps/portal/sitemap.xml, apps/portal/llms.txt, apps/portal/resources/data/seo.json).

Avoided Traps

  • Deleting redirect .md files or dropping their hidden tree.json route ids (breaks Generate.spec.mjs:1367 noindex, follow parity and historical #/learn/... links).
  • Hand-editing apps/portal/sitemap.xml or apps/portal/llms.txt (guide-authoring-bar.md §5).

Related

Parent #20498 · Map #20498#issuecomment-6697670393 (Row 3).

Sweeps

  • Live latest-open sweep: Checked latest 50 open issues at 2026-11-22T23:03Z; no duplicate for Row 3 (retained-decisions-nav).
  • A2A in-flight claim sweep: Checked list_messages({ status: 'unread', limit: 20 }); no peer collision on #20526.
  • Memory Core sweep: query_raw_memories (8be361c6-6169-447d-ba5c-4020ada3bca0) + ask_knowledge_base (issue-20498.md).
  • Prescription check (ticket-intake §0): Prescription checked: learn/tree.json — owns the concern.

Origin Session ID: 12bb6bb7-21ca-4b36-824f-66ea4320e1d8 Retrieval Hint: "retained-decisions-nav learn/tree.json 0004 0007 0020 0032 0034 0037 0038 hidden 20498"

tobiu referenced in commit 6c0fa5e - "docs(learn): surface retained ADRs 0004 and 0007 and hide moved stubs (#20526) (#22035) on Nov 23, 2026, 1:52 AM
tobiu closed this issue on Nov 23, 2026, 1:52 AM