Repository navigation
chore(repo): add agent operating layer - #126
Merged
Merged
Conversation
Track the agent guidance in the same layout as the sibling repos: AGENTS.md as the tool-agnostic source of truth and a thin CLAUDE.md that imports it and indexes the path-scoped rules. - AGENTS.md: overview, architecture, security invariants, conventions, commands, CI gates and git flow (Node >=22.13.0, 72/20 commitlint) - CLAUDE.md: rule index by path instead of @-imports, so a session no longer loads ~159 KB of rules and guides up front - .claude/rules: add paths frontmatter to code-style, fix documentation.md frontmatter and docs/ mappings, drop @-imports - .claude/guides: fix hook docs (lint-staged, pre-push), gate lists, Node version, PR base branch and AI attribution guidance - .claude/maintenance: keep only codebase-map.md, refreshed counts - .claude/settings.json: shared allow list for the gates and a deny list for --no-verify, force pushes and pushes to main or develop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
π― Overview
Track the agent guidance for this repo, using the layout the sibling repos (atsume, kuhaku) already use. AGENTS.md is the tool-agnostic source of truth. CLAUDE.md is a thin file that imports it and indexes the path-scoped rules. Until now, none of this was tracked, and CLAUDE.md
@-imported every rule and guide, about 159 KB per session.β¨ Changes
Agent docs
>=22.13.0, which matchesengines@AGENTS.mdplus a rule index written as plain paths.paths:glob matches.paths:frontmatter tocode-style.md.documentation.mdfrontmatter keeps onlypaths, and its mappings now point todocs/reference/*.@-imports in Resources sections..husky/: lint-staged, type-check, and the pre-push hook.--base develop.codebase-map.md, with refreshed counts and the theme files added.Shared settings
--no-verify, force pushes (including+refspecs) and pushes tomainordevelop.settings.local.jsonstays ignored.π§ Technical Details
Docs and config only, with no changes to
src/ortests/. The files stay out of the npm tarball (npm pack --dry-runshows none of them), becausefilesis a whitelist. Prettier ran with embedded code formatting off, so the intentional "BAD" code examples in the rules are unchanged.π Testing
All pass locally: 21 test files and 568 tests.
β Checklist