Repository navigation
meta(repo): adopt ConaryLabs house contract and PR gate - #3
Merged
Merged
Conversation
Bring consolebook in line with the ConaryLabs repo pattern, scaled to a two-crate workspace: - AGENTS.md: concise repo-wide contract (smallest useful context, verification gates, issue/branch/PR workflow, product and authority constraints from PRINCIPLES.md, defect discipline, conventions) - thin CLAUDE.md importing AGENTS.md; .agents/rules/ and copilot-instructions.md as thin pointers - pr-gate workflow: fmt --check, clippy --workspace --all-targets -D warnings, test --workspace on the pinned toolchain - PR template anchored to one primary issue; work-item and bug-report issue templates including the invented-fixtures privacy check - CONTRIBUTING.md owns the issue/branch/PR lifecycle and the engineering-over-heuristics discipline - README repo map lists AGENTS.md Deliberately omitted at this size: feature-ownership cards, routing scripts, docs/llms. Refs #2 acceptance criteria are all covered here.
Carry the house maintainability ladder into the consolebook contract: ownership-based reorganization for slices growing a Rust file past 1,000 lines, a named ownership boundary before behavior changes in files past 1,500, and a reviewed decomposition path past 2,500. Refs #2
7 tasks
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.
Primary Issue
Closes #2
Problem And Outcome
Consolebook had principles and ADRs but no repo-level contract for agents and contributors and no CI enforcement. After merge, the repo carries the ConaryLabs house pattern scaled to its size:
AGENTS.mdas the concise shared contract, a thinCLAUDE.mdimporting it, an enforced fmt/clippy/test gate on every PR, and templates that anchor work to one primary issue.Changes
AGENTS.md: orientation, verification gates, issue/branch/PR workflow, product and authority constraints drawn fromPRINCIPLES.md, defect discipline, Rust conventions, privacy rulesCLAUDE.md(importsAGENTS.md),.agents/rules/consolebook.md,.github/copilot-instructions.md.github/workflows/pr-gate.yml:cargo fmt --check,cargo clippy --workspace --all-targets -- -D warnings,cargo test --workspaceon the pinned toolchain, pinned action SHAsCONTRIBUTING.mdowns the issue/branch/PR lifecycle and the engineering-over-heuristics disciplineAGENTS.mdScope
docs/llms/(premature at this size); branch protection settings (admin action); application codeVerification
Review And Merge Notes
AGENTS.mdstates the product/authority constraints the way you want them stated — it is the file agents will actually obey