os-adr amend judge trims decision content on a path-only amend #1310

Open
opened 2026-10-24 14:50:18 +00:00 by jared · 0 comments
Owner

Problem

Where: os-adr adr-new amend.
Observed: a path-only amend of finance ADR-0002 (affected-paths lib/finance/feeds/simple_fin.rb -> lib/finance/simple_fin.rb) also removed the Decision's .env/credvault sentence, most of Context, and most of Consequences ("habit that only this project's own code reads"). crc-refactor phase 7 step 5 says an amend changes affected-paths only and asks the orchestrator to restore removed sections, but the PreToolUse hook denies every direct write to docs/adr, so the restore is impossible. The ADR-0002 path stays stale.
Ask: an amend mode that changes frontmatter only and skips the trim judge, or a restore path the hook allows.

Origin

Discoverer: jared/finance, session c2976ca8-801f-4056-8f55-f258ea038a55, 2026-10-24. Found during an unattended crc-refactor run on finance (run record: finance docs/crc/finance/HANDOFF.md).

VERDICT: CREATE (os-backlog:ticket-skeptic, claude-sonnet-5-5)

## Problem Where: os-adr `adr-new amend`. Observed: a path-only amend of finance ADR-0002 (affected-paths lib/finance/feeds/simple_fin.rb -> lib/finance/simple_fin.rb) also removed the Decision's `.env`/credvault sentence, most of Context, and most of Consequences ("habit that only this project's own code reads"). crc-refactor phase 7 step 5 says an amend changes affected-paths only and asks the orchestrator to restore removed sections, but the PreToolUse hook denies every direct write to docs/adr, so the restore is impossible. The ADR-0002 path stays stale. Ask: an amend mode that changes frontmatter only and skips the trim judge, or a restore path the hook allows. ## Origin **Discoverer:** jared/finance, session c2976ca8-801f-4056-8f55-f258ea038a55, 2026-10-24. Found during an unattended crc-refactor run on finance (run record: finance docs/crc/finance/HANDOFF.md). VERDICT: CREATE (os-backlog:ticket-skeptic, claude-sonnet-5-5)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jared/cc-os#1310
No description provided.