Skip to content

feat(rules): add repository bootstrap and rule catalog - #40

Draft
rgdevme wants to merge 3 commits into
mainfrom
feat/rules-bootstrap
Draft

feat(rules): add repository bootstrap and rule catalog#40
rgdevme wants to merge 3 commits into
mainfrom
feat/rules-bootstrap

Conversation

@rgdevme

@rgdevme rgdevme commented Sep 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • add rules.dir configuration with root-relative fallback for existing configurations
  • add agnos rules bootstrap [source] with interactive and -y selection
  • discover Markdown rules recursively from repository or local sources
  • preserve catalog-relative paths and overwrite selected destination files deterministically
  • support dry runs, provider selection, initialization defaults, and clear early warnings
  • add a reusable catalog of general and technology-specific rule fragments
  • document the bootstrap workflow and configuration behavior

Validation

  • changed-file Prettier check passes
  • pnpm lint passes with 108 existing warnings and no errors
  • pnpm typecheck passes
  • pnpm test passes: 40 files and 307 tests
  • pnpm build passes

Notes

The repository-wide Prettier check still reports existing formatting issues outside the files changed by this branch.

Let projects fetch and select reusable rule fragments while keeping the configured rules directory as their resolution base. Preserve project-root resolution for existing configurations and rebase declarations during initialization.
Describe repository catalog discovery, directory-relative fragment resolution, initialization defaults, and the rules bootstrap command so configuration examples match runtime behavior.
Provide composable general and technology-specific rule fragments for bootstrapping project agent instructions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant