fix(contract): align schema column order; structural test guard for packed streams #29

Closed
clawdie wants to merge 1 commit from feat/task-slice-reasoning-abort into main
Owner

F1: Move reasoning_tokens to end of Go tasks column list (after prompt_hash)
to match Rust's ALTER TABLE append order. Prevents silent billing corruption
when Rust's positional SELECT * reads a Go-created DB.

F2: Add structural guard in glasspane test module — iterates all streams from
normalized-events.json via id->include_str! map that panics on unknown ids.
Go's contract test already iterates dynamically; now Rust does too. Also adds
the dedicated fixture_abort_maps_to_error_and_bills_partial_usage test.

Cosmetic: verified_by -> single identity per AGENTS.md convention.

F1: Move reasoning_tokens to end of Go tasks column list (after prompt_hash) to match Rust's ALTER TABLE append order. Prevents silent billing corruption when Rust's positional SELECT * reads a Go-created DB. F2: Add structural guard in glasspane test module — iterates all streams from normalized-events.json via id->include_str! map that panics on unknown ids. Go's contract test already iterates dynamically; now Rust does too. Also adds the dedicated fixture_abort_maps_to_error_and_bills_partial_usage test. Cosmetic: verified_by -> single identity per AGENTS.md convention.
fix(contract): align schema column order; structural test guard for packed streams
Some checks failed
CI / python-tests (pull_request) Successful in 1s
leak-guard / guard (pull_request) Successful in 2s
format-check / prettier (pull_request) Successful in 5s
ci-gate / gate (pull_request) Has been cancelled
CI / rust (pull_request) Has been cancelled
CI / markdown (pull_request) Has been cancelled
CI / port (pull_request) Has been cancelled
CI / agent-jail-pkgs (pull_request) Has been cancelled
bdbb82e42b
F1: Move reasoning_tokens to end of Go tasks column list (after prompt_hash)
to match Rust's ALTER TABLE append order. Prevents silent billing corruption
when Rust's positional SELECT * reads a Go-created DB.

F2: Add structural guard in glasspane test module — iterates all streams from
normalized-events.json via id->include_str! map that panics on unknown ids.
Go's contract test already iterates dynamically; now Rust does too. Also adds
the dedicated fixture_abort_maps_to_error_and_bills_partial_usage test.

Cosmetic: verified_by -> single identity per AGENTS.md convention.
clawdie closed this pull request 2026-09-21 07:37:55 +02:00
Some checks failed
CI / python-tests (pull_request) Successful in 1s
leak-guard / guard (pull_request) Successful in 2s
format-check / prettier (pull_request) Successful in 5s
ci-gate / gate (pull_request) Has been cancelled
CI / rust (pull_request) Has been cancelled
CI / markdown (pull_request) Has been cancelled
CI / port (pull_request) Has been cancelled
CI / agent-jail-pkgs (pull_request) Has been cancelled

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
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
clawdie/colibri!29
No description provided.