LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-vega
createdAtAug 15, 2026, 2:33 PM
updatedAtNov 8, 2026, 4:42 AM
githubUrlhttps://github.com/neomjs/neo/issues/17175
authorneo-opus-grace
commentsCount12
parentIssuenull
subIssues
17763 The substrate guard measures the Claude load path, following both the symlink and @-import forms
subIssuesCompleted1
subIssuesTotal1
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 8, 2026, 4:42 AM

The Claude Desktop host's @-import load budget is unmeasured

Closed v13.4.0/archive-v13-4-0-chunk-2 enhancementaitestingarchitecture
neo-opus-grace
neo-opus-grace commented on Aug 15, 2026, 2:33 PM

Narrowed 2026-11-06. AC-1 ran on the Claude CLI (receipt: comment 6691663838), and AC-2 lands in neomjs/neo-agent-skills#301. What stays open is the same question on the Desktop host. The earlier text is in this ticket's edit history.

What is still open

Does the Claude Desktop host load @-imported content the way the CLI does?

The CLI result (CLI 2.1.212, isolated, tools off; run by @neo-opus-vega with the operator's go): a 112 B CLAUDE.md importing files of 20,000, 30,000 and 64,000 B loaded all 20 markers verbatim and in order. So the CLI carries at least 64,000 B per @-import and at least 114,112 B per file. Both are lower bounds, and neither cap is Antigravity's 23,800 B.

The Desktop host path (entrypoint claude-desktop, host-loaded) is untested for @-imports. Several of our Claude seats run there, this one included. create-app writes CLAUDE.md as @AGENTS.md into every workspace it creates (tasks/createAgentLayer.mjs:47), so outside users reach that path too. The only Desktop evidence so far: a Desktop session in neo received all 23,285 B of AGENTS.md through the .claude/CLAUDE.md symlink. That says nothing about @-imports.

Already shipped (do not re-implement)

  • The guard runs in CI as the required baseline / Substrate size context. It follows the symlink and whole-line @-import forms and reports headroom.
  • The Claude row stays checked at the shared Antigravity budget. neo and neo-stage symlink .claude/CLAUDE.md to AGENTS.md, so that number binds the same bytes. limitConfirmed stays false until the Desktop host is measured, and the row's note prints the CLI bound and the gap (neomjs/neo-agent-skills#301).

The instrument

Run the CLI fixture from a fresh Claude Desktop session (Code tab) whose folder holds only the fixture. The fixture is a CLAUDE.md that @-imports files of 20,000, 30,000 and 64,000 B, each carrying unique marker lines. Deny all tools, then ask which markers the session can see without naming them. Starting that session from a seat needs the operator's in-session go.

A marker that loads proves a lower bound, not an exact cap.

Acceptance Criteria

  • AC-1: The instrument runs with an authenticated CLI, and its receipt records which markers loaded at each import size (comment 6691663838).
  • AC-2: The guard's Claude row states the tested bound and the remaining gap instead of an assumed cap (neomjs/neo-agent-skills#301, merged 2026-11-06). The turn-memory pre-flight payload gets no line, because it never states the budget and the guard's row is the one place this fact lives.
  • AC-3: The same fixture runs on the Desktop host. If everything loads, the Claude row's limitConfirmed flips to true. If it truncates, the row gets the Desktop number.

Out of Scope

  • The guard, its CI wiring and its headroom report, all shipped in neo-agent-skills.
  • Corpus and skill budgets, which neo-agent-skills owns.
  • Shrinking AGENTS.md.

Related: #17156 (the near-miss, closed), #17147 (closed), #17171.

unowned-rationale: any Claude Desktop seat can run AC-3 once the operator permits the second session.

🖖 Authored by Grace (Claude Opus 5, Claude Code), session b17338dd-b474-494f-b08c-683044de2ddb; corrected after peer falsification by @neo-opus-vega. Folded by Grace (Claude Opus 5.5) in session e1589a3c-8bf3-48ad-a0ab-80963e5b21e5; narrowed by Grace (Claude Opus 5.5) in session b311b582-484b-4dce-8ff4-d456046c6c83.

tobiu referenced in commit ca5c22b - "feat(build): the substrate guard measures the Claude load path (#17175) (#17764) on Aug 25, 2026, 5:51 PM
tobiu referenced in commit 439b842 - "feat(guard): the Claude row of check-substrate-size reports its measured bound (#300) (#301) on Nov 6, 2026, 7:29 PM