Skip to content

Promote develop to main: Design Before Code - #2607

Merged
ptr727 merged 2 commits into
mainfrom
develop
Oct 9, 2026
Merged

ptr727 merged 2 commits into
mainfrom
develop

Conversation

@ptr727

@ptr727 ptr727 commented Oct 8, 2026

Copy link
Copy Markdown
Owner

Summary

Promotes develop to main.

Fixes #2516
Fixes #2431

🤖 Generated with Claude Code

…Lens (#2536)

## Summary

Adds `GOVERNANCE.md` "Design Before Code", so the threat model and the
search for an existing primitive happen before the first edit rather
than in review, and gives review a design lens to check it.

- "Design Before Code" in `GOVERNANCE.md`, placed before "Trust
Boundaries and Hardening Effort", declared in `spec/files.json` and
`spec/section-model.md`, and routed from `AGENTS.md`. It states that a
repository keeps its list of consolidated primitives in `OPERATIONS.md`
under `Configuration Layout`, and the hub's own `OPERATIONS.md` now
lists its FIFO-safe read and write pair there, which
`spec/section-model.md` names as that list's destination.
- "Operations and Failure Messages" in `CODESTYLE.md` General, and the
reuse principle widened to all code.
- `fleet-code-review` carries the section as an include, with item 7 and
the finding shape adjusted for design findings.
- `pr-review-conduct` "Triaging findings" gains a class for a design
finding the section backs: fixed by extending a helper this repository
holds and moving the touched files' sites onto it, with the other sites
and any other repository's helper filed as issues, rather than parked as
an architectural opinion.
- `local-strict-review`'s brief gains the reuse search, and
`agent-conduct` gains the design trigger.
- `STANDUP.md`'s `OPERATIONS.md` template asks for the primitive list
once a repository has consolidated any, and for trust boundaries only
where the general classes leave them unclear.

## Open Findings From the Local Passes

Findings 1 to 4 from the first local pass, which Copilot's first round
also raised, are fixed in `b157542d` and `1479ad68`, apart from the
`Design Before Code` closing sentence, which keeps the one-sentence
include formula `skill-lifecycle` prescribes. One finding from a later
local pass is left to this review:

- `agent-conduct` "Before Designing a Change" points at `GOVERNANCE.md`
"Design Before Code" rather than carrying it as an include, so in a
repository not yet resynced the pointer names a section its carried
`GOVERNANCE.md` does not hold. The pointer form, and dropping its reason
sentence, is what decision #2525 settled, so it is kept here.

The pass over the branch brought up to date with develop, at `530a9b3c`,
raised six findings:

- Four are the `Design Before Code` closing sentence's length, at its
source and its three generated copies. It keeps the one-sentence include
formula, as above.
- One is the `agent-conduct` pointer above, which stays for the same
reason.
- One is a design finding: `install.py`, which the new `OPERATIONS.md`
line names, still has a probe and failure messages that predate the new
`CODESTYLE.md` rule. Those sites sit in a file this change does not
touch, so they are filed as #2606, per "Design Before Code".

## Verification

`build_dist.py --check`, `spec/validate.py`, `spec/audit.py --selftest`,
`repo_gate.py`, the diff-scoped prose gate, and the `build_dist`,
`spec_validate`, `carry`, `canonical_review`, `repo_gate`, and
`prose_lint` test suites pass locally. A recorded `local-strict-review`
pass covers the pushed content.

Closes on promotion: #2516, #2431

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Copilot AI lite review requested due to automatic review settings October 8, 2026 23:32
@coderabbitai

coderabbitai Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Repository: ptr727/ProjectTemplate/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c060154d-a2f4-4d1b-bcef-ea8102986a92
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Two moderate review issues remain unresolved in the agent-conduct and local-strict-review skills.

1 open finding
What changed in this PR

Promotes develop to main with Design Before Code governance, operations guidance, and distributed review-skill updates.

Changes:

  • Adds design, reuse, consolidation, and failure-message guidance.
  • Updates specifications, onboarding, governance, and operations documentation.
  • Refreshes source skills, generated skill mirrors, and digests.
File Description
STANDUP.md Documents trust boundaries and shared primitives.
spec/​section-model.md Declares the new governance section and destinations.
spec/​files.json Adds the new carried governance section.
OPERATIONS.md Lists shared file primitives.
GOVERNANCE.md Adds Design Before Code guidance.
CODESTYLE.md Adds operation and failure-message rules.
AGENTS.md Routes design work to the new guidance.
.github/​skills/​pr-review-conduct/​SKILL.md Updates the generated review skill.
.github/​skills/​local-strict-review/​SKILL.md Updates the generated strict-review skill.
.github/​skills/​fleet-code-review/​SKILL.md Updates the generated fleet-review skill.
.github/​skills/​agent-conduct/​SKILL.md Updates the generated agent-conduct skill.
.claude-plugin/​fleet-skills/​skills/​pr-review-conduct/​SKILL.md Updates the plugin review skill.
.claude-plugin/​fleet-skills/​skills/​local-strict-review/​SKILL.md Updates the plugin strict-review skill.
.claude-plugin/​fleet-skills/​skills/​fleet-code-review/​SKILL.md Updates the plugin fleet-review skill.
.claude-plugin/​fleet-skills/​skills/​agent-conduct/​SKILL.md Updates the plugin agent-conduct skill.
.claude-plugin/​fleet-skills/​.source-digests/​pr-review-conduct Refreshes the review-skill digest.
.claude-plugin/​fleet-skills/​.source-digests/​local-strict-review Refreshes the strict-review digest.
.claude-plugin/​fleet-skills/​.source-digests/​fleet-code-review Refreshes the fleet-review digest.
.claude-plugin/​fleet-skills/​.source-digests/​agent-conduct Refreshes the agent-conduct digest.
.agents/​skills/​pr-review-conduct/​SKILL.md Updates the canonical review skill.
.agents/​skills/​local-strict-review/​SKILL.md Updates the canonical strict-review skill.
.agents/​skills/​fleet-code-review/​SKILL.md Updates the canonical fleet-review skill.
.agents/​skills/​agent-conduct/​SKILL.md Updates the canonical agent-conduct skill.

🧠 Review effort: Lite


💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@codecov

codecov Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.09%. Comparing base (280e3b4) to head (53170c6).
⚠️ Report is 337 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2607   +/-   ##
=======================================
  Coverage   59.09%   59.09%           
=======================================
  Files          16       16           
  Lines        8231     8231           
=======================================
  Hits         4864     4864           
  Misses       3367     3367           
Flag Coverage Δ
python-3.13 59.09% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

## Summary

Answers a Copilot finding on promotion #2607. The `local-strict-review`
brief said to report hardening the threat model rules out as an
over-hardening finding, which a reviewer read as asking for that
hardening, against `fleet-code-review` item 6. It now names hardening
the diff itself adds, and says never to ask for such hardening, so it
agrees with items 6 and 7.

## Verification

`build_dist.py --check`, `spec/validate.py`, and the diff-scoped prose
gate pass. A recorded `local-strict-review` pass covers the pushed
content with 0 findings.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The review spans 23 governance and skill-distribution files, with non-unanimous readiness assessments.

0 open findings

1 resolved since last review

🧠 Review effort: Lite

@ptr727

ptr727 commented Oct 8, 2026

Copy link
Copy Markdown
Owner Author

Triage of the round on 53170c6, headed "Needs a closer look": its headline names no defect, only that readiness assessments were non-unanimous, and the round counts 0 open findings. Its one earlier finding is fixed in #2608 and resolved. Nothing here needs a change.

@ptr727
ptr727 merged commit f42d9b2 into main Oct 9, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants