LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-vega
createdAtNov 10, 2026, 9:38 PM
updatedAtNov 10, 2026, 11:41 PM
githubUrlhttps://github.com/neomjs/neo/issues/20739
authorneo-opus-vega
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtNov 10, 2026, 10:05 PM

AGENTS.md is three rule changes behind the skills package it pins

Closed v14.0.0/archive-v14-0-0-chunk-1 bugaimodel-experienceagent-os
neo-opus-vega
neo-opus-vega commented on Nov 10, 2026, 9:38 PM

Context

Measured 2026-11-10 at 0d1170fe22, with neo-agent-skills 1.3.3 installed, the pinned version:

diff <(node node_modules/neo-agent-skills/scripts/generate-agents-md.mjs --repo neo,neo-agent-brain) AGENTS.md

11 lines differ. The tracked file is the neo,neo-agent-brain variant, three rule changes behind:

Rule What the package emits Tracked file Shipped by
§mailbox_check_protocol list_messages({status:'unread', projection:'counts'}) no projection, so the tool's default full page neomjs/neo-agent-skills#326
§verify_before_assert the scope by claim class the older, unscoped text neomjs/neo-agent-skills#262
§critical_gates 1 the machine_merge line for Dependabot's own pull requests absent neomjs/neo-agent-skills#154

AGENTS.md last changed on 2026-10-29 (3918aa1474). The pin has moved three times since, each time through Dependabot: 2676040727 (0.1.90), d9796c9ab3 (1.1.0), f0a1e8d0d2 (1.3.3, 2026-11-10).

The Problem

.claude/CLAUDE.md links to AGENTS.md, so every session rooted here loads the tracked file. A rule fix that merged and released upstream reaches no seat in this repository. The mailbox line is the costly one: it runs at every turn start, and neomjs/neo-agent-skills#326 measured a full page of 50 rows at 36 KB against about 0.55 KB for counts.

This is the third sighting of the class after #19036 and #19390. The command that produces the file, and the repository set it is emitted for, are written down nowhere in this repository.

The Architectural Reality

  • agents-md/sections/*.md in neo-agent-skills is the source. scripts/generate-agents-md.mjs (bin neo-agent-skills-agents-md) emits one variant per repository set and audience, under a 23,800 B budget.
  • The set variant is 23,408 B at 1.3.3; the tracked file is 23,285 B.
  • Three harnesses load the file: Claude Code through .claude/CLAUDE.md (a link to it), Codex from the repository root, Antigravity through the pointer in .agents/ANTIGRAVITY_RULES.md.
  • Design authority: "Generated copies (AGENTS.md sections, .claude/CLAUDE.md) are never hand-edited; they regenerate from the package." (neomjs/neo-agent-skills#140)
  • Prescription checked: node_modules/neo-agent-skills/scripts/generate-agents-md.mjs — owns the concern. The generator is the only writer of this file; the hop that should call it at every bump is neomjs/neo-agent-skills#335.

The Fix

  1. Regenerate AGENTS.md from the installed package for the set neo,neo-agent-brain and commit the output byte for byte.
  2. Record the command as the npm script generate-agents-md, so the set is written down and the next regeneration is one command.

Contract Ledger

Target Surface Source of Authority Proposed Behavior Fallback Docs Evidence
AGENTS.md (turn-loaded by every maintainer session rooted here) the package's sections at the pinned version; their own ledgers are in neomjs/neo-agent-skills#326, #262 and #154 equals the generator's output for neo,neo-agent-brain a Memory Core plane that rejects projection makes the mailbox check error, and the same sentence routes an erroring check to /self-repair none: the file is the document cmp of the generator's output against the tracked file
npm script generate-agents-md (new, for maintainers) this ticket writes the set variant to AGENTS.md without the installed package the bin is missing and the script fails loudly the script's name and its line in package.json a second run leaves a clean tree

Acceptance Criteria

  • npm run generate-agents-md leaves a clean tree: the tracked file equals the generator's output for the installed package.
  • The diff of AGENTS.md is the three rule changes above and nothing else. No hand edit.
  • [L4-deferred — operator handoff needed] Post-merge: a fresh session rooted in this repository quotes the mailbox sentence with projection:'counts' from its loaded rules, posted here with its session id. A lockfile or a green CI run does not prove loading (#19390).

Out of Scope

  • Regenerating at every pin bump: neomjs/neo-agent-skills#335.
  • devindex, whose tracked file is 8 lines behind.
  • Any rule text. The sections are the package's.

Avoided Traps

  • Editing line 162 by hand. The file is a generated copy.
  • --repo neo alone. It emits nine gates. The tracked file has ten, and gate 10 is declared for the Brain only, where seats rooted here also work.

Related

  • #19036, #19390
  • neomjs/neo-agent-skills#335, neomjs/neo-agent-skills#326, neomjs/neo-agent-skills#262, neomjs/neo-agent-skills#154, neomjs/neo-agent-skills#140

Live latest-open + closed sweep: checked latest 20 open, created-descending, and closed search (regenerate AGENTS.md) at 2026-11-10T20:36Z, Out of Scope and Avoided Traps read on #19036 and #19390; no equivalent or prior exclusion found. 25 open (orange): no owning ticket or epic for this. A2A in-flight sweep: latest 30 messages, all read states, at 20:36Z; no claim on this scope. Memory Core rationale sweep: "tracked AGENTS.md stale after skills pin bump"; hits name the pin and the install, none the tracked file. Own-assignment sweep: #20667; not on this surface. Structure map: N/A. The run exits 0 (98,730 B); a generated file is replaced in place and one npm script is added.

Origin Session ID: b1fcc0fd-3006-429b-bb67-69b4591de962 Retrieval Hint: "neo AGENTS.md regenerate from pinned skills package, repository set neo,neo-agent-brain"

tobiu referenced in commit 512cb2f - "fix(agentos): reload AGENTS.md from the pinned skills package (#20739) (#20740) on Nov 10, 2026, 10:05 PM
tobiu closed this issue on Nov 10, 2026, 10:05 PM