Michael Chus 0005f3e41a Compress always-on contracts and restore pagination fields
The always-on set is paid by every session, so it gets the tightest
form: git-sync-check shrinks to its procedural core, testing-policy
moves the table-test example to README.md and folds the agent
instructions into the rules, go-code-style inlines the error-wrapping
example. Per-session read cost drops from 403 to 336 lines.

Also restore the pagination response fields in table-management: the
previous dedup replaced them with a reference to go-api, which the
table router line does not load.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 10:05:00 +03:00
2026-03-01 16:56:00 +03:00

Bible

Shared engineering rules library for Go web projects.

Add as a git submodule to any project — agents (Claude, Codex) will read the rules automatically.

Agents start at AGENT-BOOTSTRAP.md — it defines the read path, always-on contracts, and the task router. Nothing in this README duplicates it.

Usage

# Add to a project
git submodule add https://git.mchus.pro/mchus/bible.git bible

# Update to latest rules
git submodule update --remote bible

Structure

AGENT-BOOTSTRAP.md         — first file agents should read; contains the full contract router
rules/patterns/<topic>/    — one contract.md per topic (plus optional README.md with examples)
rules/ai/AGENT.template.md — template for new projects; copy as both CLAUDE.md and AGENTS.md
scripts/lint.sh            — consistency checks (router coverage, broken links)

Project Setup

Each project needs:

  • bible/ — this submodule
  • bible-local/ — project-specific architecture (data model, API, ADL)
  • CLAUDE.md + AGENTS.md — copies of rules/ai/AGENT.template.md pointing agents to the bootstrap

See rules/patterns/go-project-bible/contract.md for what goes in bible-local/.

Description
No description provided
Readme 540 KiB
Languages
CSS 55%
HTML 39.1%
Shell 5.9%