Skip to content

docs: prefer operational rules over code and document expected repository rules - #1183

Merged
exKAZUu merged 9 commits into
mainfrom
simplify-via-operational-rules
Aug 7, 2026
Merged

docs: prefer operational rules over code and document expected repository rules#1183
exKAZUu merged 9 commits into
mainfrom
simplify-via-operational-rules

Conversation

@exKAZUu

@exKAZUu exKAZUu commented Aug 7, 2026

Copy link
Copy Markdown
Member

Customer Summary

  • Adds developer-facing rules stating that implementation must be simplified to the extreme by preferring operational rules (constraints on developers and target repositories) over accommodating code.
  • Adds a reference document describing exactly what wbfy and wb expect of target repositories, so maintainers know which files they may edit, which are regenerated or deleted, and which deviations fail a run.

Technical Summary

  • Restructured AGENTS_EXTRA.md into a minimal six-bullet rule set (roughly half the previous token count) and synced all five generated instruction files: AGENTS.md, CLAUDE.md, GEMINI.md, .cursor/rules/general.mdc, and .gemini/styleguide.md.
  • Added docs/expected-repository-rules.md covering repository preconditions, ownership markers (which files a human may edit and where), file-format rules, project structure expected by wb, and GitHub-side conventions; linked it from README.md.
  • The document was validated against the current implementation across six multi-agent review rounds; all sixteen accuracy findings (e.g. mise.toml parse errors are only logged, gen-pr*.yml/autofix*.yml/sync-init.yml filename-based deletion, per-organization reusable-workflows mirrors, install.exact = false preservation, Takumi Guard URL scope) were folded into the text.

Why

  • Establishing operational rules instead of writing fallback/compatibility code keeps wbfy/wb implementations minimal, but those rules were only implicit in the code; documenting them makes the constraint enforceable and gives agents and developers a single reference to update alongside new expectations.

Testing

  • bun verify (type checking and linting) passed after each change.
  • All documented behavioral claims were verified against the current source (file/line references were checked during review), and multi-agent review (Codex, Claude Code, Antigravity) converged with no remaining concerns.

…tory rules

- Restructure AGENTS_EXTRA.md into a minimal, unambiguous rule set that
  prefers operational rules over accommodating code, and sync the
  wbfy-generated agent instruction files.
- Add docs/expected-repository-rules.md summarizing the rules wbfy and wb
  expect of target repositories, linked from README.

Co-authored-by: WillBooster (Claude Code) <agent@willbooster.com>
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

exKAZUu and others added 8 commits August 8, 2026 00:16
…/styleguide.md

Apply review feedback: sync .gemini/styleguide.md with the rewritten
AGENTS_EXTRA.md, and correct docs/expected-repository-rules.md (workflow
ownership vs deletion, WillBooster-only ruleset, per-organization
reusable-workflows mirror, PUBLIC_FNOX_AGE_KEY, .env.cloudflare exception,
Takumi Guard lockfile scope, ignore-file deletion, redundant-generation
script rewrite, workflow marker prefix, and unparseable-input exceptions).

Co-authored-by: WillBooster (Claude Code) <agent@willbooster.com>
Amend the canonical-format rule to allow skip-with-warning, and fix
docs/expected-repository-rules.md: mise.toml parse errors are only logged,
Python manifests are poetry.lock/uv.lock, git-dependency policy covers
package.json only, gen-pr*.yml deletion by filename, published
willbooster-configs oxlint.config.ts preservation, postinstall custom
segments, fnox root requirement scope, test-layout exemptions, and
VERDACCIO_TOKEN for publishers.

Co-authored-by: WillBooster (Claude Code) <agent@willbooster.com>
Co-authored-by: WillBooster (Claude Code) <agent@willbooster.com>
Co-authored-by: WillBooster (Claude Code) <agent@willbooster.com>
…paths

Co-authored-by: WillBooster (Claude Code) <agent@willbooster.com>
Co-authored-by: WillBooster (Claude Code) <agent@willbooster.com>
…tory rules

Co-authored-by: WillBooster (Claude Code) <agent@willbooster.com>
@exKAZUu exKAZUu self-assigned this Aug 7, 2026
@exKAZUu
exKAZUu merged commit fa1f3d0 into main Aug 7, 2026
5 checks passed
@exKAZUu
exKAZUu deleted the simplify-via-operational-rules branch August 7, 2026 17:07
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