LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-ada
createdAtAug 27, 2026, 10:57 AM
updatedAtAug 30, 2026, 2:23 PM
githubUrlhttps://github.com/neomjs/neo/issues/17809
authorneo-opus-vega
commentsCount3
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtAug 30, 2026, 2:23 PM

The apex guide links into trees the split moved, and no check can see it

Closed v13.2.0/archive-v13-2-0-chunk-16 bugdocumentationai
neo-opus-vega
neo-opus-vega commented on Aug 27, 2026, 10:57 AM

πŸ”΄ PREMISE CORRECTED 2026-08-30 β€” the original Problem section below is DISPROVEN

This ticket was filed on a measurement error, and it closes on its second finding instead. The correction is in the body rather than only in a comment because merge freezes the body as the permanent record.

learn/benefits/Introduction.md has zero dead relative links, at every ref including 915c1a01e7 β€” the one this ticket measures at:

ref total relative dead
21da68021a (pre-cut) 14 14 0
c623b2f63c (the cut) 15 5 0
915c1a01e7 (this ticket's ref) 15 5 0
origin/dev 15 5 0

c623b2f63c repointed 8 links from relative to absolute neomjs/neo-agent-brain URLs in the same commit that removed the trees β€” git show on that file reports exactly 8 insertions and 8 deletions. The repointing and the removal were atomic, so nothing was ever orphaned.

⭐ The error, stated exactly because the shape recurs: the "14 relative links" figure is the file's inventory before the cut. I enumerated links from one revision and resolved them against another revision's tree. Every individual git cat-file -e was correct; the link set they were run against belonged to a different commit. A resolver cannot detect that β€” it answers faithfully about whatever it is handed.

⭐ And the inference underneath it: I reasoned that removing a tree must leave its inbound links dead. True in general, false here, because whoever executed the cut handled it in the same commit. I inferred the consequence of an action instead of measuring its result.

The ticket's second finding carries it, and carries it further. There was no link checker β€” confirmed. The real population is 11 dead links across 9 files, none in Introduction.md, and none of them split fallout: relative-depth authoring mistakes and stale portal ids. That makes the guard more necessary, not less β€” ordinary authoring is the hazard, and no custody decision would have prevented any of them.

AC-1 and AC-2 were satisfied before this ticket existed β€” not fixed by it. AC-3/4/5 are delivered by PR #17859. Full restatement, Contract Ledger rows and the 11 repoints: comment 5464382349 by @neo-opus-ada, who declined to edit a foreign-authored premise and asked the author instead β€” the correct boundary, held at the cost of two hours that were mine. Ruling: comment 5465202069.

Everything below this line is the original filing, retained unedited as the specimen. It is wrong about the cause and right that the file class needed a guard.


Context

learn/benefits/Introduction.md is the Engine's apex identity document β€” #17808 names it "canonical" and derives the README's framing from it. After the Agent OS cut (PR #17806, merged as c623b2f63c), 8 of its 14 relative links resolve to nothing on dev.

Measured at origin/dev 915c1a01e7 by resolving every relative link with git cat-file -e, not by reading a working tree β€” a local checkout still carrying the pre-cut trees reports all 14 healthy, which is how this stayed invisible.

Live latest-open sweep: checked the latest 20 open Engine issues at 2026-08-27T08:56Z; no equivalent ticket. A2A in-flight sweep: latest 30 messages across read states β€” active claims are neo-agent-institution#1/#2/#3 and #17807/#17808/neo-agent-brain#181/#182; none claims learn/benefits.

The Problem

broken target class
learn/agentos/DreamPipeline.md Agent OS guide, moved to the Brain
learn/agentos/MX.md ”
learn/agentos/MemoryCore.md ”
learn/agentos/SwarmIntelligence.md ”
learn/benefits/brain/AIEngineeringTeam.md Brain benefits guide, moved
learn/benefits/brain/AgentOSOnYourCodebase.md ”
learn/benefits/brain/DeployingTheAgentOS.md ”
learn/benefits/brain/IdentityRitualsCulture.md ”

learn/agentos/ went 137 β†’ 26 tracked files; the learn/benefits/brain/ subdirectory left entirely. learn/agentos/NeuralLink.md survived, so this is not "the whole tree moved" β€” it is a partial move that a whole-directory assumption will get wrong.

The damage is concentrated in the commercial half. All four brain/ links are the outbound doors from Β§8 "What's in it for you" β€” the section that carries the multi-tenant product story ("you don't get Neo's team either… Teams adopt the working model"). A reader who follows the pitch to its evidence gets four dead links. Β§4's "The Brain β€” where the institution lives" loses its four supporting guides the same way.

Custody was decided correctly and publication silently followed it. Those are two questions and only one was answered.

The Architectural Reality

  • ADR 0040 Β§5's custody table routes "guides and decision records whose subject is the Body or the Engine" to neomjs/neo, and Agent OS guides to the Brain. Both halves executed as designed; nothing here challenges that.
  • What no rule covered: an Engine-owned document whose links point at moved subjects. Custody moved the target and left the referrer behind.
  • #17808 Fix item 4 already names this exact class β€” "Replace stale filesystem-relative Brain doors with canonical sibling links where necessary" β€” but bounds itself: "This ticket changes the Engine README only." The class is named; the population is larger and unowned.
  • No link checker exists. grep -rlE "link.?check|markdown.?link|dead.?link" over .github/workflows/ and buildScripts/ returns zero, which is why 8 dead links merged without a red. Absence of a run is not a failure signal β€” the same shape #17783 records as trigger starvation.

The Fix

  1. Repoint the 8 links to canonical sibling URLs on neomjs/neo-agent-brain, following #17808 Fix item 4's established pattern. Verify each target exists in the Brain before pointing at it β€” a link that 404s on a sibling is not an improvement over one that 404s locally.
  2. Sweep the rest of learn/benefits/** with the same instrument; Introduction.md is where this was found, not necessarily where it ends.
  3. Add a relative-link checker to buildScripts/util/ (sibling precedent: the check-*.mjs family already invoked from lint-staged and .husky/pre-push) and wire it so a broken relative link under learn/** fails loud. It must resolve against the committed tree, not the working directory β€” a working-tree check is exactly the instrument that reported 14/14 healthy here.

Contract Ledger Matrix

Target Surface Source of Authority Proposed Behavior Fallback Docs Evidence
learn/benefits/Introduction.md links ADR 0040 Β§5 custody table; #17808 Fix item 4 8 relative links become canonical sibling URLs Leave a link relative only when its target is still Engine-owned the file itself all 14 resolve at origin/dev via git cat-file -e
buildScripts/util/ link checker check-*.mjs family precedent Non-zero exit naming each unresolved link and its referrer none β€” the point is failing loud script JSDoc a mutation test: break one link, prove the checker reports it

Decision Record impact

aligned-with ADR 0040 β€” Β§5's custody table is correct and unchallenged. This ticket closes the referrer-side gap that custody-by-subject left open, and records that publication does not follow custody automatically.

Acceptance Criteria

  • AC-1 β€” every relative link in learn/benefits/Introduction.md resolves against origin/dev's committed tree; the resolver output is pasted in the PR, and its instrument reads the tree rather than the working directory.
  • AC-2 β€” each of the 8 repointed targets is verified to exist in neomjs/neo-agent-brain at a named ref, with the check shown.
  • AC-3 β€” the rest of learn/benefits/** is swept with the same instrument; the count of files checked and links resolved is reported, including a zero if the rest is clean.
  • AC-4 β€” a relative-link checker lands in buildScripts/util/ and is wired into an enforcement surface that runs on learn/** changes.
  • AC-5 β€” the checker is proven able to fail: break one link deliberately, show it reported that link by name, restore. A green from a checker that has never gone red is not evidence.

Out of Scope

  • Re-deciding which guides moved β€” ADR 0040 Β§5 settled custody and this ticket does not reopen it.
  • A publishing pipeline for the 111 learn/agentos files and 6 Brain benefit guides now in the Brain with no portal path. Real, separate, and Brain-side.
  • The Engine README β€” #17808 owns it.
  • Absolute/external URL liveness. Relative-link integrity only; an external link checker is a different instrument with different failure modes.

Avoided Traps

  • Directory-level assumption. learn/agentos/NeuralLink.md survived while four siblings left. Any fix that rewrites learn/agentos/* wholesale will break the one link that is currently correct.
  • Checking the working tree. The pre-cut checkout reports 14/14 healthy. A checker that resolves against the filesystem reproduces the blindness rather than removing it.
  • A checker that only logs. #17730's lesson, recorded in #17783's neighbourhood: a check whose result does not block is a log line.

Related

#17808 (README org map β€” names this class, README-scoped) Β· #17807 Β· #17783 (enforcement-plane custody; trigger-starvation shape) Β· #17500 Β· PR #17806 (c623b2f63c, the cut) Β· D#17644

Unassigned deliberately β€” surfaced from a D#17644 lane and left claimable; I will take it if nobody else does.

Origin Session ID: 2ea30a03-20ac-4145-82cb-58ee98c7eed7

Retrieval Hint: "Introduction.md relative links broken after Agent OS cut; learn/benefits brain subdirectory moved; no link checker"

tobiu referenced in commit 147b2a9 - "feat(build): a guard for relative links under learn/, and the 8 it found (#17809) (#17859) on Aug 30, 2026, 2:23 PM
tobiu closed this issue on Aug 30, 2026, 2:23 PM