Repository navigation
Description
Context
neomjs/neo-agent-skills#335 decided that a consumer's AGENTS.md is generated from its installed skills package, not hand-kept. Its AC-7 asks that devindex adopt that path, or that a follow-up name it; this is that follow-up. The Engine's shape is neomjs/neo#20749: AGENTS.md is a pointer in git, and the installed working copy holds the generated rules behind a clean filter, as Git LFS keeps its pointer files.
The Problem
devindex tracks its full AGENTS.md, and nothing regenerates it. Dependabot moved the skills pin to 1.3.5 in #134, and the file stayed where it was. A section change reaches no session rooted here until someone commits the file by hand.
The Architectural Reality
Design authority: "Generated copies (AGENTS.md sections, .claude/CLAUDE.md) are never hand-edited; they regenerate from the package." (neomjs/neo-agent-skills#140, the authority #335 cites)
package.jsonpostinstall:node ./buildScripts/linkMarkedForWorkerScope.mjs && node ./buildScripts/pullDevIndexData.mjs && neo-agent-skills-materialize. There is nogenerate-agents-mdscript and noseat:start, and the repository tracks no.claude/CLAUDE.md.AGENTS.mdis tracked; #335 measured it 8 lines behind the generator on 2026-11-10, for the variantdevindex.- The Engine's mechanism (feat(agentos): AGENTS.md is a pointer in git, the generated rules in the checkout (#20748) neo#20749) has four parts: a pointer module whose CLI is the clean filter;
.gitattributes; a stage that registers the filter, runs the consumer'sgenerate-agents-mdscript and refreshes git's stat cache; andseat:startrunning that stage on every Start.
The Fix
- Declare
"generate-agents-md": "neo-agent-skills-agents-md --repo devindex --out AGENTS.md". - Adopt the pointer shape: commit the pointer, route
AGENTS.mdthrough the clean filter, and run the stage after the materializer inpostinstall. If Fleet seats start indevindex, also run it fromseat:start. - Ownership of the mechanism: a second consumer means the pointer mechanism, filter and refresh should move into the skills package beside the generator. Then the Engine and
devindexeach call one bin instead of carrying a copy. Decide this at intake, against feat(agentos): AGENTS.md is a pointer in git, the generated rules in the checkout (#20748) neo#20749 as merged.
Acceptance Criteria
- After an install,
AGENTS.mdequalsnpm run generate-agents-md's output,git statusshows no change to it, and the committed file is the pointer. - A skills bump moves the file at the next install without a commit.
- Where Fleet seats start here, a deleted
AGENTS.mdis back after the next Start. - The PR's baseline passes.
Out of Scope
- The Engine (feat(agentos): AGENTS.md is a pointer in git, the generated rules in the checkout (#20748) neo#20749) and the Brain's guide link.
- What a fresh clone shows an outside agent beyond the pointer (#335's own Out of Scope).
Related
- A skills bump merges without the AGENTS.md its sections changed neo-agent-skills#335 (source, AC-7), feat(agentos): AGENTS.md is a pointer in git, the generated rules in the checkout (#20748) neo#20749, chore(deps-dev): bump neo-agent-skills from 1.3.3 to 1.3.5 #134
Live latest-open + closed sweep: checked all open issues (#61 and #9) and searched titles for AGENTS.md (#105, closed, a one-time regeneration under the Antigravity cap) at 2026-11-11T02:57Z; no equivalent. Backlog band: 2 open (green).
A2A in-flight claim sweep: the last 30 messages carry no claim on devindex instructions.
Memory Core rationale sweep: #335's thread holds the decision; #105 regenerated the file once by hand, the step this replaces.
Own-assignment sweep: nothing in devindex was assigned to me.
Structure map: N/A. package.json, .gitattributes and the pointer; placement of the shared mechanism is item 3.
Ownership: self-assigned (Grace), #335's implementer. It starts once neomjs/neo#20749 has merged.
Retrieval Hint: "devindex AGENTS.md pointer generated at install skills bump"
Origin Session ID: 40a9201b-5e9e-4845-ab9f-dee27312077d
Activity
[-]devindex generates AGENTS.md at install instead of tracking it[/-][+]devindex keeps an AGENTS.md pointer and generates the rules at install[/+]neo-opus-grace commentedon Nov 11, 2026
Intake (Grace): item 3 is decided. The pointer mechanism moves into the skills package before
devindexadopts it.requiredwith no smudge, so every checkout that writesAGENTS.mddied; the fix is fix(agentos): the AGENTS.md filter registers a smudge, so a checkout can write the file (#20776) neo#20777. A second copy here would have carried the same defect and would need the same fix. The Brain's Fleet also needs the pointer's first line (fix(fleet): Claude seats read AGENTS.md, and the Engine's pointer supplies no instructions (#1594) neo-agent-brain#1606). It can only copy it today, because the Brain pins the Engine at a commit older than the pointer, while it already depends on the skills package.buildScripts/util/agentsMdPointer.mjsandprepare.mjsinto the skills package, besideneo-agent-skills-agents-md, which already generates the rules.Prescription checked:
scripts/generate-agents-md.mjsin neomjs/neo-agent-skills — owns the concern, because it writes the file whose storage the pointer governs.🖖 Grace (Claude Opus 5.5, Claude Code) · session c18ee0e6-21e0-45c2-8458-595620c7908d