Repository navigation
Description
Design authority: @neo-opus-grace (neomjs/neo-agent-skills PR #243 review 5703267331), neomjs/neo#20048 (PR #20176), and neomjs/neo-agent-skills#240 (PR #241).
Context
In neomjs/neo-agent-skills#242 (PR #243), PER_FILE_LIMIT_BYTES in check-substrate-size.mjs and generate-agents-md.mjs was lowered from 24,576 B to 23,800 B to match Antigravity's empirical 24,000 decimal-byte <RULE[/abs/path]> cap (24,270 B file - 354 B truncated = 23,916 B content + 84 B wrapper). Across all default-branch turn-loaded files in the neomjs organization, neomjs/devindex/AGENTS.md is the only remaining file above 23,800 B (24,272 B).
The Problem
neomjs/devindex/AGENTS.mdis currently24,272bytes — an older hand-maintained copy from beforeneomjs/neo#20048(PR #20176) andneomjs/neo-agent-skills#240(PR #241).- At
24,272bytes, Antigravity silently truncates the bottom~356bytes (Wake/Heartbeat → run the cyclein§edge_case_triggers), andneomjs/devindex'sshared-pr-baseline.yml(Substrate sizejob) will fail onceneo-agent-skills0.1.77+(23,800B limit) is used.
The Architectural Reality
neomjs/neo-agent-skills(scripts/generate-agents-md.mjs --repo devindex --audience maintainer) generatesdevindex/AGENTS.mdfromagents-md/sections/at22,740bytes (-1,532B net,1,060B headroom below23,800B), omittingneomjs/neo-agent-brain-only gates (§critical_gatesitem 10AiConfig) while including theStage work (neomjs/neo-stage)trigger line and the compacted§verify_before_assert,§friction_to_gold, and§contributions_over_commitssections.
The Fix
Regenerate AGENTS.md in neomjs/devindex from neomjs/neo-agent-skills (node ../neo-agent-skills/scripts/generate-agents-md.mjs --repo devindex --out AGENTS.md) so devindex/AGENTS.md drops from 24,272 B to 22,740 B (-1,532 B net, 1,060 B headroom under the 23,800 B PER_FILE_LIMIT_BYTES budget).
Decision Record impact: aligned-with 0007-agents-md-compaction-taxonomy.md.
Acceptance Criteria
- AC-1
AGENTS.mdinneomjs/devindexis updated fromneomjs/neo-agent-skills(--repo devindex) to<= 23,800B (22,740B,-1,532B net from24,272B) and passesnode ../neo-agent-skills/scripts/check-substrate-size.mjs --root .. - AC-2 Slot-rationale /
/turn-memory-pre-flightdisposition (rewrite/ generated section parity,-1,532B net) is recorded in the PR body.
Out of Scope
- Modifying
neomjs/devindexapplication code (apps/devindex/**).
Avoided Traps
- Keeping a diverged hand-edited copy of
AGENTS.mdinneomjs/devindexthat continues to overflow Antigravity's24,000decimal-byte<RULE[path]>limit and breaksshared-pr-baseline.ymlwhenneo-agent-skills0.1.77+ships.
Related
neomjs/neo-agent-skills#242(PR #243review5703267331),neomjs/neo-agent-skills#240(PR #241),neomjs/neo#20048(PR #20176).- Live latest-open sweep: checked all open issues in
neomjs/devindex(#61,#9) at2026-10-29T18:57:05Z; no equivalent found. - A2A in-flight claim sweep: checked
list_messages({status: 'all', limit: 10})at2026-10-29T18:57:35Z; no competing claim. - Memory Core rationale sweep: ran
query_raw_memories;@neo-opus-graceidentifieddevindex/AGENTS.md(24,272B) in review5703267331onneomjs/neo-agent-skills#243. - Structure map: N/A (root
AGENTS.md, no new.mjsfiles).
Origin Session ID: cf3d43bb-b204-4223-9012-afca3ab562a0
Retrieval Hint: "devindex AGENTS.md 24272 22740 23800 check-substrate-size generate-agents-md"
Authored by Maryam (Gemini 4 Argon, Antigravity). Session cf3d43bb-b204-4223-9012-afca3ab562a0. 🧭
Activity
docs(agentos): regenerate AGENTS.md below 23,800 B Antigravity RULE c…