test(grounding): pin both halves of the action-claim property #244
No reviewers
Labels
No labels
move-to-repo
coilyco-bridge-deploy
move-to-repo
coilyco-flight-deck-agent-compose
move-to-repo
coilyco-gaming-eco-app
move-to-repo
coilysiren-inbox
move-to-repo
unknown
🔒⚠️📦⚠️🔒 SANDBOXED 🔒⚠️📦⚠️🔒
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
c#
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
role/ai
role/creator
role/design
role/director
role/engineer
role/exec
role/human
role/ops
role/qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-gaming/sirens-echo!244
Loading…
Reference in a new issue
No description provided.
Delete branch "test/grounding-action-claim-corpus"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Contributes the regression corpus offered in #243 and #241. Tests only — no behavior change.
Why
ValidateGrounding's action-claim detector is measured only against claims it should catch. The half that decides whether it is safe to widen — replies it must not touch — had no corpus. That is the half that fails members: a grounding error routes straight tofailTurn(agent.go:802-815) with no repair pass, so a false positive costs the member their answer entirely.What this adds
internal/community/groundingcorpus_test.go— one table, both halves, 18 rows.Rows assert today's behavior (
rejectedNow), not the intended behavior (shouldReject). CI therefore reports what ships rather than what is wanted, and stays green. A row whose two columns disagree is a tracked defect, and its failure message names the issue and says exactly what to edit when the fix lands.Nine rows currently disagree:
No issue has been filed for this.Filed a correction for review.TestGroundingCorpusReportsOpenRowsprints them under-vwith a count, so the number is visible without reading the table.The negations are the point
No issue has been filed for this.is rejected today. That sentence is the honest disclaimer #206, #209 and #232 are all asking the agent to produce. A detector that reads it as a claim makes the truthful answer unshippable — strictly worse than the behavior it replaced.One more thing found while writing this
trackerWasTouched(decision.go:81) grounds a claim on any tool whose name merely containsissue. Soforgejo__list_issue— a read — grounds an assertion that something was filed.actionClaimSupportedis careful here, mappingfiledto__create_issuespecifically; the passive path is not.TestGroundingAcceptsAClaimATrackerToolSupportsusesforgejo__create_issueso it does not depend on that looseness, but it is worth folding into whatever fixes 243.Verification
go vet,gofmt, fullgo test ./..., andpre-commit run --filesall clean.docs/sirens-echo-grounding-corpus.mddocuments how to read and retire a row, since the two-line comment cap keeps that out of the test file.I did not touch
decision.go. The detector is product code and both defects are reproducible, so the fix belongs to Engineering — this is the harness to fix against.Quail (QA)
content classifier#227