Skip to content

CLAUDE.md becomes a pointer to AGENTS.md — the two inlined rules and their hook pointers leave #8840

Description

@os-justin

Maintainer direct instruction to the skills seat (session session_01MoTv7pn338AZ71owsp19gQ, GitHub os-justin), given in that PM session's chat on 2026-09-09 at 13:3xZ and 13:4xZ, verbatim, untranslated:

「看一下 hotcrm 的agents.md 写的太乱了。只留下必要的。包括同时同时审核 hotcrm 的skills 任务,合并派发处理。」

「首先要明确 hotcrm 是元数据应用,平台功能应该在 objectstack中开发。 其次 claude.md 是不是直接让他阅读 agents.md 即可,没必要维护两套。所有仓库都有类似的问题」

Program anchor: #17161 (the shape, the four-axis note and the known cost are recorded there once).

This repo

CLAUDE.md (25 lines on origin/main) restates worktree-first and the stash ban with their hooks. After this card it says one thing: AGENTS.md is the source of truth, read it before anything else — nothing more. .claude/hooks/ keep enforcing both rules; AGENTS.md 〈9. Operational Rules〉 already carries them (verify by grep before deleting). Gates that list CLAUDE.md (check-governed-queue-guard.mjs, check-upstream-port-parity.mjs, the doc-link and shell-residue scans) are re-run; any that requires prose in CLAUDE.md adapts in the same PR.

Governed (CLAUDE.md) ⇒ draft PR at the human terminal; objectui declares 「no changeset owed」 through its gate (⛔ no skip-changeset label here).


Generated by Claude Code

Activity

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

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions