Skip to content

Prompt guardrail: stop false 'can't track commitments' - #14

Merged
ssethia2 merged 1 commit into
mainfrom
ss/commitment-grounding
Jun 16, 2026
Merged

Prompt guardrail: stop false 'can't track commitments'#14
ssethia2 merged 1 commit into
mainfrom
ss/commitment-grounding

Conversation

@ssethia2

Copy link
Copy Markdown
Owner

From the logs: she told the user "No, I cannot create or track commitments or subcommitments" — while tracking commitments fine the turns immediately before and after. Not a tool gap (she has add/list/complete/drop_commitment, and it's her core duty) — a grounding slip: bundling "track this commitment" with "can you do subcommitments?" made the model over-generalize the true "no subcommitments" into a false "can't track commitments."

Fix: a guardrail in the commitment section of the system prompt — she tracks FLAT commitments (with recurrence), has no nested subcommitment/subtask feature, and must track-as-one + say so rather than deny the capability. Plus the general rule: say what you CAN do instead of refusing a capability you have a tool for.

Prompt-only change; 203 tests pass. (A guardrail mitigates this class of hallucination but can't 100% eliminate it.)

🤖 Generated with Claude Code

…lip)

Logs showed her tell the user "No, I cannot create or track commitments or subcommitments"
— while tracking commitments fine the turns before and after. Bundling "track this
commitment" with "can you do subcommitments?" made the model over-generalize the true
"no subcommitments" into a false "can't track commitments at all".

Add a guardrail to the commitment section: she tracks FLAT commitments (with recurrence),
has no nested subcommitment/subtask feature, and must track-as-one + say so rather than
deny the whole capability — plus the general rule to say what she CAN do instead of
refusing a capability she has a tool for.

Assisted-by: Claude Code (Opus 4.8)
@ssethia2
ssethia2 merged commit a7cc323 into main Jun 16, 2026
1 check passed
@ssethia2
ssethia2 deleted the ss/commitment-grounding branch June 16, 2026 22:12
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