feat(trace): allow an attribution on each line range

Merged
JI
16h ago
+58-0

Implements milestone 1 of spec issue-3639 "Line ranges that point into the pushed code" (docs/specs/issue-3639-line-ranges.md), D-005.

The AI coding session schema now lets each line range carry an optional attribution property, ai or human. The Go type gets the same field. The CLI does not write the property yet. A later release writes it, so readers that check evidence against their own copy of the schema can take the new schema first.

Part of #3639. The follow-up PR that writes the attributed ranges depends on a release with this change.

AI disclosure: this change was written with the assistance of Claude Code.

🤖 Generated with Claude Code