~385 auto-written See-also edges point at one-word TELOS entries — the graph's top two nodes are artifacts #117
Closed
opened 2026-09-16 22:09:07 +00:00 by mathias
·
2 comments
No Branch/Tag Specified
main
fix/pipeline-writes-158
fix/edit-path-io-192
fix/create-regular-188
fix/guard-special-179
fix/linkcheck-keeps-write-178
fix/write-dir-redirect-173
fix/tunnel-detect-174
fix/pipeline-root-157
w3/154-mcp-auth-wiring
fix/tunnel-traversal
test/in-brain-targets-171
fix/brain-scan-root-157
fix/graph-wiki-root-157
fix/vectorstore-root-157
fix/notes-root-157
fix/search-root-157
fix/brainwide-root-157
fix/raw-symlinks-153
feat/symlink-tripwire-157
fix/rest-auth-149
fix/123-brain-edit-envelope-check
feat/106-page-aware-extraction
fix/105-source-drift-on-main
fix/104-surface-merge-conflicts-on-main
agent/b1-compile-on-ingest
agent/104-surface-merge-conflicts
agent/105-source-drift
agent/107-loud-unconfigured-alerting
feat/brain-read-edit
fix/capture-i1-refusal-names-target
renovate/configure
feat/consolidate-single-harness
icebox/cmd-routing
feat/brain-pending-promote
fix/close-session-classification-refresh
fix/capture-summarywriter
v0.24.0
v0.23.1
v0.23.0
v0.22.0
v0.21.1
v0.21.0
v0.20.1
v0.20.0
v0.19.1
v0.19.0
v0.18.4
v0.18.3
v0.18.2
v0.18.1
v0.18.0
v0.17.0
v0.16.1
v0.16.0
v0.15.0
v0.14.0
v0.13.2
v0.13.1
v0.13.0
v0.12.1
v0.12.0
v0.11.2
icebox/cmd-routing-2026-07-01
v0.11.1
v0.11.0
v0.10.0
v0.9.0
v0.8.0
v0.7.0
v0.6.0
v0.5.0
v0.4.1
v0.4.0
v0.3.0
v0.2.0
v0.1.0
Labels
Clear labels
agent/ready
blocked/client
blocked/supplier
blocked/upstream
risk/high
risk/low
risk/medium
size/l
size/m
size/s
size/xs
status:dispatch
status:dispatched
status:review
status:reviewing
type/chore
type/decision
type/docs
type/feat
type/fix
type/ops
type/research
type/test
Meets the agent-ready contract; authorizes unattended execution
Waiting on the client
Waiting on a supplier
Waiting on an upstream project or vendor
Irreversible, security-relevant, or control plane
Reversible, local, test-covered
Touches shared state, deploys or data
Too big - split it
Under two days
Under half a day
Under an hour
Maintenance, no behaviour change
Human decision required; never agent/ready
Documentation only
New capability
Corrects broken behaviour
Infrastructure, deploy, runtime
Investigate; output is a finding, not code
Test coverage only
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: mathias/hyperguild#117
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What is in the corpus right now
Counted over the live brain (
origin/main, 2026-09-16), wikilinks appearing under a## See alsoheading — i.e. written bybrain.AutoTunnel, not by an author:telos/decisions/wrong(titleWRONG)telos/decisions/statustelos/decisions/projectstelos/decisions/problemstelos/decisions/strategiestelos/decisions/goalstelos/decisions/beliefs~388 edges, and they are the two most-linked nodes in the entire graph. Every one was created because the entry's prose contained the English word "wrong", "status", "problems"… somewhere, and
DetectTunnelsmatched one-word titles case-insensitively.Cause is fixed forward in v0.18.2: a one-word title now needs the title's own casing in the prose. This issue is the stock, which that change does not touch.
Why it is worth cleaning rather than leaving
Inbound-link count is not decoration here:
duplicateFixer picks the surviving entry of a merge by inbound-link count (brain-gardener ADR-0003);orphandetection asks whether an entry has any link at all — an entry whose only edge is a junk tunnel reads as connected;brain_graphand themissing_edgeJudge shortlist both traverse these edges, so the noise costs model calls as well as accuracy;Proposed remedy (deterministic, one commit)
Remove wikilinks to those seven
telos/decisions/*targets when they appear inside a## See alsoblock, and drop the heading when it empties. Author-written links in prose stay — the distinction is the heading, which is exactly what AutoTunnel writes under.Sketch:
Wants a
--dry-runfirst with the file count and a sample diff, then one commit tomathias/brain(revertable). ~300 files touched, so it wants Mathias's go-ahead before it runs — hence this issue rather than a commit.Follow-up worth considering separately
The TELOS wing's entries are titled with bare common words (
WRONG,Status,Problems). Even with the case rule,Statuscapitalised at the start of a sentence will link. Retitling them (TELOS: retired beliefs,TELOS: current status) would remove the ambiguity at the source — but that is a rename of the TELOS surface, which other things read, so it is a decision not a cleanup.Found while verifying the write-boundary wikilink gate (v0.18.1): the verification write itself came back with an auto-tunnel to
[[telos/decisions/wrong]]because the body contained the word "Wrong".Created via git-mcp on behalf of @mathias
CLAIMED — Claude Code session on koala, 2026-09-16 22:15Z, working this now as part of a 4-issue sprint (hyperguild#117, #118, brain-gardener#196, #197). Another agent is active on this estate: please do not pick this up in parallel. I will comment with the outcome or release the claim if I stop.
Plan:
--dry-runcount + sample diff first, posted here, then one revertable commit tomathias/brain.One thing found after filing, which changes how this has to be verified:
AutoTunnelruns after the write, so removing a junk edge by hand was silently re-added inside the same call — the write returned onecontent_hashand the stored file had another. That held until v0.18.2 deployed (ingestion:6e69698, live on koala and confirmed). So this cleanup only sticks now, and any earlier attempt at it would have looked like it worked and not held. The cleanup will be verified by re-reading the files after the commit, not by the writer's own return value.Created via git-mcp on behalf of @mathias
DONE —
mathias/brain@44343dc1, one commit, revertable.281 files, 395 links removed, 249 See-also sections that held nothing else. Slightly more than the 388 estimated here, because the estimate counted only the seven targets' inbound edges and the dry run also caught a few duplicated entries within one block.
Ran as a dry run first, then applied in an isolated worktree (
/tmp/brain-cleanup-wt) rather than the shared checkout — the other agent is working in~/dev/AGENTS/brainand~/dev/AGENTS/hyperguild.Scope held to what this issue proposed:
## See alsoblock;telos/decisions/*entries;Author-written links survive — e.g.
wiki/agentsquad/decisions/agentsquad-risk-tier-middleware-design.mdlost its[[telos/decisions/wrong]]line and kept both real ones. So does prose:knowledge/brain-update-whole-body-replace-restamps-cross-wing-bidirectional-backlinks.mdstill contains[[telos/decisions/wrong]]because it is quoting the symptom, not linking.Integrity-checked all 281 rewritten files before committing: none empty, none left with a dangling
## See also, none with mangled frontmatter.Verified on the live tree, not just in gitea. brain-sync merged the push within minutes;
brain_getonwiki/agentsquad/decisions/cad-reframe-audit-spine-not-consolidation.mdcomes back with no See-also block. That check matters here specifically — the authority copy is koala's live tree, and a gitea-only fix would have been overwritten by the next write from the pod.Prior art worth recording
That prose mention is a July write-up of this same symptom: a
brain_updatecame back with one extra trailing[[telos/decisions/wrong]]that was never in the submitted content. It was diagnosed then as bidirectional-backlink restamping, and the real cause — a one-word title matched case-insensitively — went unfound for seven weeks while the count grew to 184. The symptom was visible; the aggregate was not, and nobody counted.Still open (as filed)
The TELOS entries keep their bare one-word titles.
WRONGis now safe (all-caps never matches lowercase prose), butStatuscapitalised at the start of a sentence still matches, so that one can slowly re-accumulate. Retitling is a rename of a surface other things read, so it stays your call — filed as the follow-up in the issue body rather than done here.Created via git-mcp on behalf of @mathias