Skip to content

instruction-placement: run the full cutover-check and remove the AGENTS.md shims #9773

Closed

Description

@kyle-sexton

Refs #4281. Slice 3 of 3. Blocked by slice 1 (condition 2) and slice 2 (condition 4).

Problem

Once conditions 2 and 4 are fixed, the AGENTS.md cutover needs one full check over the ten in-scope repositories, and then a graded decision on the shims.

Fix

  1. Fetch and fast-forward the ten repositories named in [Maintenance] Run /instruction-placement:migrate cutover-check #4281 (claude-code-plugins, medley, songwriting, claude-code-proxy, knowledge-corpus, codex-plugins, ci-runner, agent-plugins, cursor-plugins, provisioning) and run /instruction-placement:migrate cutover-check over all ten, without --skip-canary. Post the per-condition table on [Maintenance] Run /instruction-placement:migrate cutover-check #4281.
  2. Grade reference/shim-droppable.md for each repository. Owner decision 2026-10-31: every shim stays until the official docs name AGENTS.md for cloud sessions and claude-code-action.
  3. Advance last_checked on the agents-md-cutover-check row in .github/recurring-schedule.json. That row carries the recheck.

Done when

Activity

  1. added
    needs-human
    on Oct 24, 2026
  2. github-actions commented on Oct 24, 2026

    @github-actions
    Contributor

    Proposed work class: none

    Size: Large
    Complexity: Medium
    Uncertainty: Knowable
    Flags: none
    Blocked by: none

    I understand this as slice 3 of #4281: run the instruction-placement cutover-check across ten repositories, post the per-condition table, then remove the AGENTS.md shims one repository at a time if every condition is met, and advance or retire the recurring-schedule row. The issue names slices 1 and 2 as blockers, but I found no open issue numbers for them, so I listed none. Several steps need a logged-in claude -p canary, the operator's per-repository confirmation and writes in other repositories. A lane run can't do those, so this will need splitting. No duplicates found.

    Automated triage. A maintainer reviews it.

  3. added
    needs-owner-decision
    on Oct 24, 2026
  4. removed
    needs-owner-decision
    needs-human
    on Oct 26, 2026
  5. kyle-sexton commented on Oct 26, 2026

    @kyle-sexton
    MemberAuthor

    Released for re-triage under the owner's 2026-10-26 rule: a person is involved only for "1. A change in original intent/vision 2. Something comes up during implementation ... that alters intent/vision or the primary design 3. If there is a HIGH/CRITICAL security issue". None applies here, so the hold label came off and intake triage runs again now.

    To hold this issue again, add needs-human (or status: needs-decision) and name which of the three applies.

  6. added
    needs-triage
    and removed
    needs-triage
    on Oct 26, 2026
  7. added
    status: ready
    on Oct 26, 2026
  8. melodic-automation-lanes commented on Oct 26, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane yet: blocker #9771 is not closed by a listed human or a merge.

  9. added
    agent-ready
    host-run
    and removed
    agent-ready
    on Oct 28, 2026
  10. melodic-automation-lanes commented on Oct 28, 2026

    @melodic-automation-lanes
    Contributor

    The work-resolve-issue lane stopped on this issue (host-only): the run reports the work needs a host or attended run the lane cannot make.
    It added host-run and removed agent-ready: a maintainer session on a host builds it, and it waits on no decision from a person.

    In the run's words:

    host-only: every step of #9773 needs a host or attended run this lane cannot make. Step 1 fetches and fast-forwards ten repositories (claude-code-plugins, medley, songwriting, claude-code-proxy, knowledge-corpus, codex-plugins, ci-runner, agent-plugins, cursor-plugins, provisioning) and runs /instruction-placement:migrate cutover-check over them without --skip-canary, and the condition 3 canary needs a logged-in metered claude -p. This lane has only this one checkout, runs no git command but read-only git-read, cannot run the plugin's scripts or claude -p, and cannot post the table on #4281. Step 2 needs the operator's answers to grade reference/shim-droppable.md and the operator's named remove-shims --confirm per repository, and it lands in ten repositories. Step 3, advancing last_checked on the agents-md-cutover-check row of .github/recurring-schedule.json, only follows a real ten-repository run, so editing it here would record a check that never ran. The issue body's own needs-human line names these same constraints.

    What the run says it did not do:

    • Ten-repository /instruction-placement:migrate cutover-check without --skip-canary, and posting the per-condition table on #4281: needs the other nine repositories fetched and a logged-in claude -p, neither available in this lane
    • Grading reference/shim-droppable.md per repository and running remove-shims --confirm one repository at a time, medley last: needs the operator's answers and named confirmation, and writes in ten repositories
    • Advancing or retiring the agents-md-cutover-check row in .github/recurring-schedule.json: depends on the real cutover-check run, so it was left untouched
    • tidy, review, verify and checks pipeline steps: skipped because there is no diff

    Run: https://github.com/melodic-software/claude-code-plugins/actions/runs/40631033778

    To hand it back to the lane, remove host-run and add agent-ready again.

  11. kyle-sexton commented on Oct 31, 2026

    @kyle-sexton
    MemberAuthor

    Host run. The full ten-repository cutover-check.sh ran on fetched trees with canaries on, on Claude Code 2.1.314 (subscription login), 2026-10-31. It exited 1 with condition 4 UNMET, so no shim was removed and no PR was opened.

    What ran:

    Condition Verdict Evidence
    1. Native AGENTS.md reading no longer depends on the remote flag [MET] The env-vars feature-flag heading is present, the AGENTS.md bullet is gone, and the page ties AGENTS.md to no flag (the #10597 fix holds)
    2. Every claude-code-action pin installs CLI 2.1.277 or later, with a CI canary on record [MET] claude-code-plugins pins 6d5ae526 (CLI 2.1.314) and medley pins 16f9f71a (CLI 2.1.310). The other eight repos hold no pin. Canary run 36666844023
    3. A lone AGENTS.md loads from a home cwd and from a second-path cwd [MET] Both legs returned the canary line
    4. No repository locates a path by the existence of CLAUDE.md [UNMET] 26 of 163 rows are unacknowledged, all in claude-code-plugins and all added since #9771 closed. Medley's one row is acknowledged, and the other eight repos have no path detection
    Nested write trigger (not graded) [NO-LOAD] A sub/ AGENTS.md with no shim did not load on Write

    The 26 unacknowledged rows:

    • plugins/developer-experience/evals/: 23 rows. These are eval fixtures and samples: fixtures/seed.sh:98, sources/harness/run-cell.sh:39, sources/labels/T3/C2/labels.jsonl:12, and diff text inside t1-setup-init/samples/*.json and t3-setup-interactive-release/samples/*.json.
    • plugins/docs-naming/lib/resolve-convention-home.sh:419 and :464. This is a new vendored copy of the helper whose other copies cutover: acknowledge or fix every unacknowledged CLAUDE.md path-detection row #9771 acknowledged.
    • plugins/education/evals/te-slug-collision-guard/samples/reads-existing-mission.json:21. This is eval sample text.

    Results against the done-when criteria:

    • A ten-repo run on fetched trees with every condition [MET]: not met, because condition 4 is UNMET. This table belongs on [Maintenance] Run /instruction-placement:migrate cutover-check #4281 as that cycle's comment.
    • Removed shims return 404: not started. remove-shims --confirm does not apply while a condition is UNMET. Even with every condition MET, it needs the operator to name and confirm each repository, and the operator's answers about other users and surfaces for reference/shim-droppable.md condition D. An unattended worker can supply neither.
    • last_checked on the agents-md-cutover-check row stays unchanged until every graded condition is MET.

    Next:

    1. Acknowledge or fix the 26 rows above in .claude/cutover-pathdet-ack.txt, which is lane work like cutover: acknowledge or fix every unacknowledged CLAUDE.md path-detection row #9771.
    2. Rerun this check on the host.
    3. If every condition is MET, the operator gives a per-repository remove-shims --confirm, with medley last.

    Rows keep arriving after each acknowledgement pass (71, then 73, then 26 new after #9771), so a CI check that fails a PR adding an unacknowledged row would stop this condition from reopening.

    Target labels: add none; remove none.

  12. kyle-sexton commented on Oct 31, 2026

    @kyle-sexton
    MemberAuthor

    Host run. The full ten-repository cutover-check.sh ran on fetched trees with canaries on, on Claude Code 2.1.314 (subscription login), 2026-10-31, and every graded condition is [MET] on all ten repositories (exit 0).

    What ran:

    • git fetch and merge --ff-only on the other nine repositories, all already at origin/main and unchanged from the last run: medley 0b8158c2, songwriting 42079dc, claude-code-proxy b6a5c34, knowledge-corpus f76e81a, codex-plugins cca7c38, ci-runner 909b6ff, agent-plugins cff7525, cursor-plugins 12ccd10, provisioning 7c18f1c. claude-code-plugins was checked at origin/main 2e4f59b9b8, which includes fix(instruction-placement): acknowledge 26 new cutover path-detection rows #11430, in a detached worktree.
    • cutover-check.sh --repo <each of the ten> (no --skip-canary) from that worktree, 05:17:08Z to 05:17:58Z. Script verdict: "every graded condition MET".
    Condition Verdict Evidence
    1. Native AGENTS.md reading no longer depends on the remote flag [MET] The env-vars feature-flag list no longer carries the AGENTS.md bullet, and the page ties AGENTS.md to no flag
    2. Every claude-code-action pin installs CLI 2.1.277 or later, with a CI canary on record [MET] claude-code-plugins pins 6d5ae526 twice (CLI 2.1.314) and medley pins 16f9f71a (CLI 2.1.310). The other eight repositories hold no pin. Canary run 36666844023
    3. A lone AGENTS.md loads from a home cwd and from a second-path cwd [MET] Both legs returned the canary line
    4. No repository locates a path by the existence of CLAUDE.md [MET] 163 rows, every one acknowledged: 162 in claude-code-plugins, 1 in medley. The other eight repositories have no path detection
    Nested write trigger (not graded) [NO-LOAD] A sub/ AGENTS.md with no shim did not load on Write, so a repository with nested AGENTS.md grades shim-droppable.md condition G before its shims go

    No new unacknowledged condition-4 rows appeared since #11430, so no acknowledgement and no PR were needed.

    Condition 4 can still reopen, because no check in this repository fails a PR that adds an unacknowledged row. On origin/main, nothing under .github/workflows, .github/scripts, .github/actions or scripts/, and nothing in the lefthook config, runs cutover-check.sh or plan-migration.sh or reads .claude/cutover-pathdet-ack.txt. The ack file is referenced only by the migrate scripts, their tests and their docs. An issue and PR search for the ack file name found no open proposal. Reusable workflows in other repositories were not searched. A new row is caught at the next scheduled (agents-md-cutover-check row) or manual cutover run, never when the PR that adds it lands. None was built in this row.

    Results against the done-when criteria:

    • A ten-repository run on fetched trees with every condition [MET]: the run is done, and this record holds its table. The comment on [Maintenance] Run /instruction-placement:migrate cutover-check #4281 is not posted yet.
    • Removed shims return 404: not started. remove-shims --confirm did not run in any repository. It needs the shim-droppable.md grading with the operator's answers and the operator's named confirmation per repository, medley last.
    • Advancing last_checked on the agents-md-cutover-check schedule row: not done.

    Target labels: add none; remove none.

  13. kyle-sexton commented on Oct 31, 2026

    @kyle-sexton
    MemberAuthor

    Host run. shim-droppable.md conditions A to G were graded for the eight repositories the owner named, in the order given, at each repository's origin/main on 2026-10-31. Every repository keeps its shim. remove-shims.sh did not run, with or without --confirm, because step 1 failed everywhere. No worktree, branch, PR or merge was made. GitHub use: 3 owner-token reads, 0 writes. No rate-limit answer.

    Every repository is at the recheck commit in 9773-recheck.md. All official pages were fetched live through fetch-docs.sh at 05:24 to 05:25Z, state: read, not stale. Per the owner's rule relayed during this run, judgment is no basis for a condition, so a condition without a repo fact and a live official section stays unknown.

    Repository Conditions verdict remove-shims result PR Merged or waiting
    songwriting Kept. A, B, E, G held on this machine. C, D, F not held Not run None Neither
    claude-code-proxy Kept. Same verdict Not run None Neither
    knowledge-corpus Kept. Same verdict, except D5 has no review-lane leg Not run None Neither
    codex-plugins Kept. Same verdict Not run None Neither
    ci-runner Kept. Same verdict Not run None Neither
    agent-plugins Kept. Same verdict Not run None Neither
    cursor-plugins Kept. Same verdict Not run None Neither
    provisioning Kept. Same verdict Not run None Neither

    Conditions, the same in every repository

    Condition Verdict Repo or tool fact Live official section
    A Held on this machine; other machines not read Ancestor walk from each checkout: only the shim and the exempt user file. CLAUDE_CONFIG_DIR unset. No nested AGENTS.md. git ls-tree: root shim is exactly @AGENTS.md memory, When Claude Code reads AGENTS.md
    B Held on this machine User pluginConfigs has no entry under either ID; no managed settings directory; no settings.local.json memory, Choose which instruction files load
    C Unknown inventory.py --binary-only on 2.1.314 printed builtin_plugins lane broken, canary cc-plugin-agents-md absent. shim-droppable.md condition C reads a broken lane as unknown. The 05:17Z canary does not replace the named source memory, When AGENTS.md support is unavailable
    D Failed, D5, and D7 unknown Below Below
    E Held _ip_imports_of on each AGENTS.md: no import, so no EXTERNAL, UNRESOLVED or DEPTH row memory, Import additional files
    F Failed until accepted Repositories: no hook names InstructionsLoaded. User scope: harness-ops 4.20.4 hooks/hooks.json:40 registers it, with session_event_log_enabled true. No recorded owner acceptance of losing that event. Frontmatter scan: no hit memory, Where AGENTS.md differs from CLAUDE.md ("Don't fire"), hooks, InstructionsLoaded
    G Held No nested AGENTS.md in any repository, on disk or tracked, so it holds outright shim-droppable.md condition G; no page read needed

    Condition D, question by question

    Q Verdict Evidence
    1 Project instructions mode Held on this machine; three other lanes unread B's reading above. The setting is per user and no repository can ship it (memory)
    2 Unsupported sessions Held for the four lanes on versions claude --version read only: this lane and two others 2.1.314, one 2.1.312. All at or above the floor in memory. Plugin state on other lanes not read
    3 CLI before 2.1.281 on Bedrock, gateways or no telemetry Held for the four lanes on versions Same versions, same section; the 2.1.281 line in the changelog
    4 --add-dir with the env var Unknown No repository sets CLAUDE_CODE_ADDITIONAL_DIRECTORIES_CLAUDE_MD. A session flag is not visible in a tree. memory, Where AGENTS.md differs
    5 Cloud sessions Failed Every repository carries the cloud path: .claude/cloud-bootstrap.sh header names the pre-launch caller, line 14 in songwriting, 5 in knowledge-corpus, 10 in the other six; the SessionStart wiring is at .claude/settings.json:20, :23 in songwriting and knowledge-corpus. claude-projects, What threads pick up lists only the root CLAUDE.md, .claude/CLAUDE.md and .claude/rules/. cloud-environments, What carries over lists CLAUDE.md and has no AGENTS.md entry. claude-code-on-the-web names neither file. No page shows a cloud session reading AGENTS.md
    5 claude-code-action Failed, seven repositories All but knowledge-corpus call the reusable review lanes: pr-review.yml:77 songwriting, :79 claude-code-proxy and provisioning, pr-review-hosted.yml:84 in the other four. ci-workflows pins claude-code-action at 8041f1d1 v1.0.263 (pr-review.yml:861,1050, pr-review-security.yml:672,852). The canary covers 756cc22e v1.0.235 only, and shim-droppable.md question 5 says one canary does not cover every pin. github-actions tells a reader to create CLAUDE.md and names no AGENTS.md. cutover-check condition 2 scans direct pins only, so its "no pin" line for these repositories does not reach this surface
    5 Agent SDK Not reached agent-sdk, Use Claude Code features names CLAUDE.md and no AGENTS.md. Whether anyone uses it here is unread; the two legs above already fail
    6 Moved config roots Unknown Unset on this machine. Other lanes not read
    7 Any other route or consumer Unknown No evidence can close an open-ended question. code-review-customize says the Code Review service reads CLAUDE.md; whether it is enabled here was not read

    The standing direction's actors (owner, bots, agents, GitHub Apps) rule out outside contributors. They do not settle D5: the failed surfaces are agents and Apps.

    What would settle each

    • Cloud: a cloud-session canary on a throwaway branch with the shim removed, a line unique to AGENTS.md and no tools available, recorded in reference/sources.md; or the owner stating cloud sessions and project threads are out of use for that repository. The project-thread table is a documented gap, so a plain-session canary does not cover threads.
    • claude-code-action: a canary at pin 8041f1d1, shim removed from the workspace.
    • F: the owner's recorded acceptance of losing the harness-ops InstructionsLoaded event for these repositories.
    • C: /harness-ops:inventory --bundled on the current build returning cc-plugin-agents-md with in_loader true. Its binary scan is broken on 2.1.314.
    • D4, D6, D7: the owner's answers, or read-only reads of the other lanes for D6.

    Nothing was hand-deleted. last_checked was not advanced. claude-code-plugins and medley were not touched.

    Target labels: add none; remove none.

  14. kyle-sexton commented on Oct 31, 2026

    @kyle-sexton
    MemberAuthor

    Closing as completed under the owner's decision of 2026-10-31: keep all ten shims, and rewrite this issue's done-when so removal waits until the official docs name AGENTS.md for cloud sessions and claude-code-action.

    The agents-md-cutover-check row in .github/recurring-schedule.json carries the recheck, so no issue stays open to wait on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    host-runstatus: ready

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions