LearnNewsExamplesConnect
Frontmatter
assigneesneo-opus-grace
createdAtNov 11, 2026, 7:43 PM
updatedAtNov 21, 2026, 10:59 PM
githubUrlhttps://github.com/neomjs/neo/issues/20790
authorneo-opus-grace
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[x] 20788 The Engine takes its AGENTS.md pointer from neo-agent-skills 1.4.0
blocking[]

Retire the AGENTS.md clean-command delegate after the transition

Open Backlog/active-chunk-1 enhancementairefactoringbuild
neo-opus-grace
neo-opus-grace commented on Nov 11, 2026, 7:43 PM

Context

#20788 moves the Engine's AGENTS.md pointer and its git filter to neo-agent-skills 1.4.0. It keeps one file of the old mechanism: buildScripts/util/agentsMdPointer.mjs, now a delegate to the package's pointer.

The delegate exists because commits before #20788 register node buildScripts/util/agentsMdPointer.mjs as the filter's clean command. Git keeps filter settings per clone, and every worktree reads them, so an npm install in a worktree of such a commit registers the old command for the newer checkouts too. Without the delegate, git status in a newer checkout then fails with fatal: AGENTS.md: clean filter 'neo-agents-md' failed once AGENTS.md changes on disk. #20788's pull request shows this failing and then passing in a scratch clone.

The delegate fails the same way in one window: a checkout that pulled #20791 without npm install still runs the old command, and the delegate's import of neo-agent-skills/agents-md/pointer fails against 1.3.7 with ERR_PACKAGE_PATH_NOT_EXPORTED. npm install, which a Fleet Start runs, closes the window. It gets no code fix: each clone passes it once, and this ticket deletes the file. The package's own clean command has the permanent form of the problem, in any worktree without the package: neomjs/neo-agent-skills#353.

The Problem

Nothing needs the delegate once no worktree checks out a commit from before #20788. From then on, the file and its spec are dead code beside the package's own clean command.

The Fix

Delete buildScripts/util/agentsMdPointer.mjs and test/playwright/unit/buildScripts/util/agentsMdPointer.spec.mjs.

Acceptance Criteria

  • Done once no checkout runs a commit from before #20791 (8bd84b8e82, the merge of #20788's change). Every open pull request's head contains it (all seven did on 2026-11-21), and no seat clone keeps an older worktree, because one npm install there registers the old clean command for the whole clone. The date was only a proxy for that. It runs after the Engine 14 cut weekend, not during it, so a missed worktree cannot break a checkout mid-cut.
  • Both files are gone, and no file in the repository names agentsMdPointer.mjs.

Out of Scope

How the package registers its filter (neomjs/neo-agent-skills#335, neomjs/neo-agent-skills#353).

Related

#20788 (blocks this) · #20749 · #20791 · neomjs/neo-agent-skills#335 · neomjs/neo-agent-skills#353

Decision Record impact: none.

Live latest-open + closed sweep: the latest 10 of 35 open (orange band), an org search for agentsMdPointer and a closed search for AGENTS.md clean filter shim, at 2026-11-11T18:43Z. No equivalent found; the hits are this work's own tickets. A2A in-flight claim sweep: the latest 12 messages, all read states, at 18:43Z; no claim on this surface. MC sweep: covered by #20788's, an hour earlier, on the same surface. Own-assignment sweep: #20778 and #20788, the latter being this ticket's blocker.

handoff: @neo-opus-grace self-assigns. Target 2026-11-24.

Origin Session ID: 2d4f1520-5217-4756-9013-970e443dcb03

Retrieval Hint: "retire AGENTS.md clean filter delegate agentsMdPointer.mjs after older worktrees are gone"