Repository navigation
refactor(tooling): consolidate instruction layout and harden shipping - #154
Merged
Merged
Conversation
Instructions - Reduce CLAUDE.md to a thin Claude Code entry point that imports AGENTS.md. - Merge the setup guidance into existing owners and retire nine rule files. The Dangerous Operations section is excluded. - Move task-specific reference to lode/ with explicit pointers in AGENTS.md that work in both Claude Code and opencode. - Set test-first authoring. Implementation finishes before tests run. - Route verify and ship phrases through /yeet. Shipping - verify-and-ship.sh rejects the default branch and a detached HEAD. - It accepts only origin/BRANCH as upstream and squashes only unpushed commits. - It scans the whole squashed index and restores HEAD on a failed scan or commit. - It keeps the squashed commit on a failed push and prints recovery steps. - version-bump.sh counts the final commit message as a bump signal. Tests and tooling - Add verify-and-ship-test.sh with 30 fixture cases. - Run it from ci.sh, the CI lint job, and check.sh --all when shipping scripts change. - Full .NET build and test did not run. No .cs file changed. Co-Authored-By: Claude
Co-Authored-By: Claude
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.
Executive Summary
The instruction set carried duplicate owners and stale rules, and the shipping script trusted the wrong upstream and could lose a squashed commit. This branch consolidates the instruction layout, hardens the shipping path, and bumps two analyzer and test-extension package families.
The default branch is now rejected by the ship script, and a failed PII scan or commit restores HEAD instead of leaving a squashed tree behind.
Full .NET build and test did not run on this branch. No
.csfile changed, so the build outcome is unchanged. The local environment has no .NET 11 SDK (global.jsonrequests 11.0.100), so a local restore attempt cannot run here. CI covers the build.Code Changes
Instructions
CLAUDE.mdis a thin Claude Code entry point that importsAGENTS.md.lode/with explicit pointers inAGENTS.md./yeet.Shipping
scripts/verify-and-ship.shrejects the default branch and a detached HEAD.origin/BRANCHas the upstream and squashes only unpushed commits.scripts/internal/version-bump.shcounts the final commit message as a bump signal.Dependencies
Meziantou.Analyzer3.0.324 to 3.0.325.Microsoft.Testing.Extensions.HangDumpandMicrosoft.Testing.Extensions.TrxReport2.5.2 to 2.5.3.Tests and Tooling
scripts/verify-and-ship-test.shwith 30 fixture cases.scripts/ci.sh, the CI lint job, andscripts/check.sh --allrun it when shipping scripts change.analyzer-release-check.shandreadme-table-diff.sh --analyzerreport no drift).scripts/check.sh --all. The missing .NET 11 SDK blocks it locally.Review Guide
scripts/verify-and-ship.sh: the branch and upstream guards, the squash boundary, and the HEAD restore on failure.AGENTS.mdand.claude/rules/: the merged ownership after the rule-file retirement.scripts/verify-and-ship-test.sh: the fixture cases that pin the new behavior.Rollback
Revert the branch or the merge commit. Instruction changes take effect on the next session, so no runtime state needs cleanup.
Links
🤖 Generated with Claude Code