Skip to content

docs: commit as you go — working practice#11

Merged
xeri merged 1 commit into
masterfrom
docs/working-practice
Jul 16, 2026
Merged

docs: commit as you go — working practice#11
xeri merged 1 commit into
masterfrom
docs/working-practice

Conversation

@xeri

@xeri xeri commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Adds a short Working practice section to CLAUDE.md, before ## Enforcement.

Untangling a security fix from in-flight agent-management work cost a full session, because both landed uncommitted in the same files and nothing recorded which hunk was whose. That is judgment with no gate behind it, so CLAUDE.md is its home:

  • commit each concern as soon as it stands alone and go test ./... is green;
  • never let two concerns share a dirty tree;
  • anything independently shippable branches off master;
  • label knowingly-incomplete work wip:.

The section says outright that nothing enforces it.

Note: CLAUDE.md is now 231 lines against its own ~200 budget — it was already 214 before this. Worth a trim pass, separately.

Untangling a security fix from in-flight Pillar 8 work took a whole session,
because both landed uncommitted in the same files and nothing recorded which
hunk was whose. That is a judgment rule with no gate behind it, so it goes in
CLAUDE.md: commit each concern as it stands alone, never let two share a dirty
tree, branch independently shippable work off master, and label wip: as wip:.
@xeri
xeri merged commit 39d2718 into master Jul 16, 2026
20 of 21 checks passed
xeri added a commit that referenced this pull request Jul 16, 2026
@xeri
xeri deleted the docs/working-practice branch July 16, 2026 12:49
xeri added a commit that referenced this pull request Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant