Repository navigation
Date Line-Ending intentRefs by the Skill and Trim Advisory Restatements - #4401
Conversation
The .editorconfig, .editorconfig-checker.json, and .gitattributes units named GOVERNANCE.md#line-endings, a one-paragraph pointer that a real line-ending policy change never edits. Anchored dating made their advisory near silent, so they now name the comment-and-doc-style Skill's line-ending reference, the text such a change does edit. RESYNC.md section 5, AUDIT.md, and docs/fleet-map.md each restated the advisory as firing whenever the canonical changed after the copy, which anchored dating and driftNote acknowledgements no longer match. RESYNC.md drops the clause, since it already points at spec/fidelity-model.md. The other two keep the severity and point there for the rule. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The trimmed clause was the only antecedent for "the hub change". Co-Authored-By: Claude Opus 5.5 <[email protected]>
The line-ending units now name the Skill reference with no anchor, a case the fidelity model did not state, and its local-edit note read as the copy's own file. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
A recorded local strict-review pass covers head |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 15 minutes. View limit details
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. |
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain, so the canonical reference updates and corresponding documentation changes are ready to proceed.
No open issues 🎉
What changed in this PR
This PR aligns intent-fidelity dating with each unit's canonical source and updates related advisory documentation.
Changes:
- Repoints line-ending configuration units to the full line-ending policy reference.
- Documents dating behavior for unanchored
intentRefvalues. - Removes or revises outdated advisory explanations in resync and audit documentation.
| File | Description |
|---|---|
| spec/files.json | Points line-ending configuration units at the canonical line-ending policy. |
| spec/fidelity-model.md | Defines dating behavior for file-based intentRef values and clarifies local-edit advisories. |
| RESYNC.md | Removes the outdated general restatement of intent advisory conditions. |
| docs/fleet-map.md | Updates the G5 resolution summary to reflect current advisory behavior. |
| AUDIT.md | Points readers to the fidelity model for the exact advisory behavior. |
Review effort: Lite
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #4401 +/- ##
===========================================
- Coverage 81.60% 79.53% -2.08%
===========================================
Files 26 47 +21
Lines 9070 16182 +7112
===========================================
+ Hits 7402 12870 +5468
- Misses 1668 3312 +1644
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@coderabbitai review |
|
/review |
Action not completed
|
…lts, Secret Sync Fields, and Audit Account Fixes (#4428) Promotes the 28 pull requests that landed on develop since the last promotion (#4388), from the away-mode backlog burndown run. - #4391: Drop the false XML comment suppression claim from the .NET conventions. - #4390: Blank quotations after a heredoc label on its opening line in the paste-safe rule. - #4392: Carry attention lists, cut lists, and opt-in billing in the `backlog_metrics.py` JSON. - #4393: Gate `configure.sh apply`'s interaction limit on a committed bot verification record. - #4394: Make the gh and node report note say a one-line vendor source is configured. - #4395: Add ShellCheck and shfmt lint tasks to the VS Code task snippets. - #4396: Count a CodeRabbit clean pass on the head in the digest's `other_reviewed`. - #4401: Date the line-ending intentRefs by the skill and trim advisory restatements. - #4399: Share one any-level heading region primitive between `heading_body` and `extract_anchored`. - #4398: Name the hub pull requests a standup lands through, and add HACS first-run guidance. - #4404: Add a PowerShell section to CODESTYLE.md and narrow the shell rule. - #4405: Close AUDIT.md section 10's convergence loop and fix three skill pointers. - #4409: Route CODESTYLE.md's General section to the language skills (part of #1153, which stays open). - #4410: Detect a C# test project by its own text rather than its file name. - #4411: Drop the unruled "working gate is not drift" sentence from CODESTYLE.md. - #4412: Track the newest upstream line of each pinned host tool. - #4413: Correct AUDIT.md section 0's account of what the audit checks. - #4416: Add a required coverage shield class to the README audit. - #4414: Tie drive-pr's merge to its authorization and align the pass moments. - #4417: Pass over a second SIGTERM in `pr_review.py` so an interrupt prints one line. - #4418: Point the report-path placeholder at AUDIT.md section 8. - #4419: Correct the audit account copies outside AUDIT.md section 0. - #4422: Drop the archived DevKitCIoT from the rollout checklists. - #4423: Report a stale `pullRequestCheck: false` and correct AUDIT.md section 6. - #4424: Add a `prune` subcommand to retire orphaned canonical review passes. - #4425: Drop the archived DevKitCIoT from the reusable-workflows checklists and fix a normalization docstring. - #4427: Store secret sync metadata in item fields, not 1Password tags. - #4426: Declare and apply the Actions workflow token defaults through `configure.sh` (the `configure.sh` part of #1783, which stays open). ## Owed by the maintainer - #4412: A live run of the new host-tool line tracker. Scheduled runs start only once this reaches `main`, and a `workflow_dispatch` would prove it sooner. - #4426: A fleet `configure.sh apply` for the workflow token defaults, after the per-repository read the 2026-11-01 answer requires. Please also confirm the new `--lower-workflow-token` option, which a `write` repository needs for the apply to lower its default. - #4427: Run `python3 scripts/secrets_sync.py selftest`, then the cleanup script in that pull request's body (`move_sync_tags.py`, dry run first, then `--apply`). Until that runs, every un-migrated secret item refuses to sync. - #4393: The pilot's first interaction limit is set by hand in its settings and its bots verified there. The verification record is committed afterwards through a hub pull request, and only then does `apply` set the limit fleet-wide. - A fleet resync is owed, because carried text changed: AGENTS.md, GOVERNANCE.md, CODESTYLE.md, and several skills. Fixes #4387 Fixes #4383 Fixes #4284 Fixes #1095 Fixes #4299 Fixes #4370 Fixes #4364 Fixes #4173 Fixes #4064 Fixes #3536 Fixes #3929 Fixes #3808 Fixes #3812 Fixes #3810 Fixes #4320 Fixes #4232 Fixes #1748 Fixes #1607 Fixes #1270 Fixes #1170 Fixes #3692 Fixes #4415 Fixes #3908 Fixes #1648 Fixes #4276 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Summary
Follow-ups to the anchored intent dating that #1819 introduced.
.editorconfig,.editorconfig-checker.json, and.gitattributesnamedGOVERNANCE.md#line-endings. That section is a one-paragraph pointer, and a real line-ending policy change never edits it. With anchored dating their advisory was close to silent. Per the maintainer's answer on Decide Whether the Line-Ending intentRefs Should Name the Section Holding the Policy #3812 (option 1), they now name.agents/skills/comment-and-doc-style/references/line-endings.md, the full policy, dated whole.RESYNC.mdsection 5,AUDIT.md"Touching a repo", anddocs/fleet-map.mdG5 each restated the advisory as firing whenever the canonical changed after the copy. That misses anchored dating and(files.intent)driftNote acknowledgements.RESYNC.mdalready points atspec/fidelity-model.md, so its clause is deleted. The other two keep the severity and point atspec/fidelity-model.mdfor the rule.intentRefnames another file with no anchor and noreference.spec/fidelity-model.mdnow states that such anintentRefdates the copy by that file. Its local-edit note now says the advisory fires on a change to the copy's canonical, not to "that file".spec/project-types.jsonalso namesGOVERNANCE.md#line-endings, as checkintentRefs.spec/audit.pydates onlyspec/files.jsonunits throughintent_ref, so those carry no dating defect and stay as they are.Verification
spec/validate.pypasses, so the newintentReftarget resolves as a file.tests/test_spec_validate.py,tests/test_audit*.py, andtests/test_fidelity*.pypass underunittest discover.audit.intent_refandaudit.hub_last_changeon the three units dates them by the Skill reference's last commit. Before, they took the pointer section's older one.Closes on promotion: #3808, #3812
🤖 Generated with Claude Code