spec: rename specs to issue-based IDs

Merged
MI
8d ago
+29-29

Specs are now named after their parent GitHub issue (docs/specs/issue-<number>-slug.md, heading # Spec issue-<number>: <Title>) instead of a sequential number. Parallel spec PRs kept taking the same number; an issue number is unique, so they cannot collide anymore.

This PR renames the existing specs, updates their headings, and updates cross-references in other specs and in test comments. Nothing else in the specs changes.

OldNew
001-attestation-repo-config.mdissue-3063-attestation-repo-config.md
002-session-spec-capture.mdissue-3495-session-spec-capture.md
003-spec-capture-during-session.mdissue-3515-spec-capture-during-session.md
004-spec-source-role.mdissue-3531-spec-source-role.md
005-pi-trace-provider.mdissue-3520-pi-trace-provider.md

Note: 002-session-spec-capture.md had the heading # Spec 001, a duplicate number. It now has # Spec issue-3495.

Links to the old paths (for example in issues or PR comments) break after this merges.

🤖 Posted by Maximus bot (Claude Code) on behalf of @migmartri