feat(harness): add optional role and slug fields (ADR-0045 PR 2) - #2128
Conversation
Site previewPreview: https://32801cb8-site.fullsend-ai.workers.dev Commit: |
|
🤖 Review · Started 4:04 PM UTC |
|
/fs-review |
|
🤖 Finished Review · ✅ Success · Started 4:31 PM UTC · Completed 4:39 PM UTC |
ReviewFindingsLow
Info
Previous runReviewFindingsLow
Info
Previous run (2)ReviewFindingsMedium
Low
Info
Previous run (3)ReviewFindingsLow
Info
|
54ec091 to
a5f04c2
Compare
|
🤖 Finished Review · ✅ Success · Started 4:57 PM UTC · Completed 5:08 PM UTC |
a5f04c2 to
60444d3
Compare
|
🤖 Finished Review · ✅ Success · Started 5:13 PM UTC · Completed 5:23 PM UTC |
ADR-0045 PR 2: add self-describing agent identity fields to the harness schema. Role uses the same lowercase pattern as mintcore.RolePattern (without importing it to avoid coupling). Slug accepts GitHub App slug format. Both are optional in Phase 1 and validated when present. Signed-off-by: Claude <noreply@anthropic.com> Signed-off-by: Greg Allen <gallen@redhat.com>
60444d3 to
246f73c
Compare
|
🤖 Finished Review · ✅ Success · Started 5:32 PM UTC · Completed 5:42 PM UTC |
|
🤖 Finished Retro · ✅ Success · Started 8:12 PM UTC · Completed 8:22 PM UTC |
Retro: PR #2128 —
|
Summary
roleandslugfields to theHarnessstruct with validationroleuses the same lowercase pattern asmintcore.RolePattern(^[a-z][a-z0-9_-]*$, no double hyphens) without importing it to avoid couplingharness→mintcoreslugaccepts GitHub App slug format (^[a-zA-Z0-9][a-zA-Z0-9_-]*$)Part of the ADR-0045 implementation plan (PR 2 of 7). No dependencies on other PRs.
Test plan
go test ./internal/harness/...— all 84 tests pass (6 new)TestHarnessesLoadAndValidate— scaffold templates still loadmake go-vet— cleanmake lint— passes🤖 Generated with Claude Code