docs(#6605): update prioritize scheduler to use create-github-app-token - #6606
Conversation
Site previewPreview: https://afc71a6a-site.fullsend-ai.workers.dev Commit: |
|
🤖 Finished Review · ✅ Success · Started 6:38 PM UTC · Completed 6:56 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $5.17 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Risk Assessment: low (1/5) DetailsLow-risk documentation-only change by a trusted bot author updating a single file (docs/agents/prioritize.md, +131/-48) to replace mint-token auth with create-github-app-token per well-scoped issue #6605. No protected paths, security-sensitive files, CI workflows, or dependencies touched. Previous runRisk Assessment: moderate (2/5) DetailsDocs-only PR by a bot updating a single documentation file to match 5 well-defined issue requirements; elevated git churn and multi-author contention on the file are offset by low metadata risk and perfect issue-scope alignment. Previous run (2)Risk Assessment: low (1/5) DetailsDocumentation-only PR by a trusted bot that addresses all 5 items from its linked issue with a modest 181-line change across 2 files; no security, CI, or dependency surface affected. Previous run (3)Risk Assessment: moderate (2/5) DetailsDocumentation-only change to a single file by an established bot author. Medium blast radius due to 174 lines changed but no protected paths, security-sensitive files, CI, or dependency changes. Moderate file churn in git history. Linked issue fully addressed with clear scope alignment. Previous run (4)Risk Assessment: low (1/5) DetailsSingle-file documentation update by a known bot author migrating token usage in a workflow example. No protected paths, security-sensitive files, CI workflows, or dependencies affected. Linked issue is a well-scoped chore with clear acceptance criteria. Previous run (5)Risk Assessment: moderate (2/5) DetailsDocumentation-only change by a trusted bot addressing all five gaps from the linked issue; moderate git churn is the only mild risk elevator, offset by zero security/CI/dependency impact and full acceptance-criteria coverage. |
|
Looks good to me Previous runReviewFindingsMedium
Previous run (2)ReviewFindingsHigh
Low
Next steps:
Previous run (3)ReviewFindingsLow
Previous run (4)Looks good to me Previous run (5)ReviewFindingsHigh
Medium
Low
Next steps:
|
|
🤖 Finished Fix · ✅ Success · Started 6:59 PM UTC · Completed 7:04 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $1.68 |
- Add || fallbacks for all inputs.* env vars (PROJECT_NUMBER, SCORE_FIELD, STALE_THRESHOLD, WORKFLOW, WIP_LIMIT) so the workflow works on schedule triggers where inputs are empty strings - Add vars.FULLSEND_PRIORITIZE_REPOS fallback to the dispatch-token repositories field to avoid over-scoped tokens on schedule runs - Add FULLSEND_PRIORITIZE_REPOS to the prerequisites table - Remove backslash line continuations in echo statements that introduced leading whitespace in output Addresses review feedback on #6606
🔧 Fix agent — iteration 1 (bot-triggered)Addressed 3 of 4 review findings. Added || fallbacks for all workflow_dispatch inputs so schedule-triggered runs work correctly, scoped the dispatch token with a vars.FULLSEND_PRIORITIZE_REPOS fallback, and removed backslash line continuations in echo statements. Disagreed with the naming-convention finding (Name vs Variable header) because the table contains both variables and secrets. Fixed (3):
Disagreed (1):
Tests: passedNext steps:
|
|
🤖 Finished Review · ✅ Success · Started 7:07 PM UTC · Completed 7:24 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $4.09 |
Superseded by updated review
b445e8a to
14a0602
Compare
|
🤖 Finished Review · ✅ Success · Started 7:31 PM UTC · Completed 7:50 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $5.95 |
3ed4082 to
0e2c25c
Compare
|
🤖 Finished Review · ✅ Success · Started 8:32 PM UTC · Completed 8:48 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $3.45 |
Superseded by updated review
Replace the mint-token example with create-github-app-token using two GitHub Apps for least-privilege separation. Add input validation in parse_threshold, stale re-scoring documentation, and self-contained fallback expressions for schedule triggers. Signed-off-by: Claude <noreply@anthropic.com> Signed-off-by: Greg Allen <gallen@redhat.com>
0e2c25c to
87a27bb
Compare
|
🤖 Finished Review · ✅ Success · Started 8:53 PM UTC · Completed 9:09 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $4.02 |
|
🤖 Finished Retro · ✅ Success · Started 9:31 PM UTC · Completed 9:50 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $7.42 |
Retro: PR #6606 — docs(#6605): update prioritize scheduler to use create-github-app-tokenTimelineIssue #6605 (opened by ggallen) requested updating the prioritize scheduler example in The code agent (run 32883680651, $2.37) fetched the working reference workflow from Review #1 (run 32884628747, $5.17) found 4 issues including a HIGH: ggallen then force-pushed a rewrite (commit 14a0602) with additional features. Reviews #3-#6 found genuine issues in the new human-authored content:
ggallen fixed each finding manually across 4 commits. Merged at 21:30 UTC. Total pipeline cost: ~$32 (6 reviews: $27.84, code: $2.37, fix: $1.68). What went well
Root cause of the initial bugThe code agent faithfully copied the reference workflow from Evidence for existing issues (not filing duplicates)
Autonomy assessmentggallen's initial approval (18:37 UTC, 3 minutes after PR creation) was a silent approval with no inline comments — inconclusive for autonomy analysis per the conservatism principle. The review agent subsequently found genuine HIGH-severity issues the human had not flagged. On this PR, the review agent demonstrated stronger coverage than the human reviewer for GitHub Actions trigger semantics and for detecting accidental scope creep in human-pushed commits. However, this is a single data point and does not meet the threshold for an autonomy-increasing proposal. Proposals filed
|
Summary
Update the prioritize scheduler example workflow in
docs/agents/prioritize.mdto match the tested version fromfullsend-ai/.fullsend, replacing mint-token authentication withcreate-github-app-tokenand adding missing features.Changes
mint-token(GCP WIF) withactions/create-github-app-token@v3using two GitHub Apps — prioritize (project board access) and fullsend (cross-repo dispatch)stale_thresholdinput (default7d) with logic to re-dispatch issues whose RICE Score was last updated beyond the thresholdworkflow_dispatchinputs (project_number,repos,score_field,workflow,stale_threshold,wip_limit)FULLSEND_MINT_URL,FULLSEND_PRIORITIZE_REPOS,PRIORITIZE_WIP_LIMITwithFULLSEND_PRIORITIZE_CLIENT_ID,FULLSEND_PRIORITIZE_APP_PRIVATE_KEY,FULLSEND_FULLSEND_CLIENT_ID,FULLSEND_FULLSEND_APP_PRIVATE_KEYid-token: write(not needed without WIF/OIDC)Testing
mint-tokenreferences remainstale_thresholdinput and re-scoring logic are presentscan-secretspasseslint-docs-linkspasseslycheelink check passesCloses #6605
Post-script verification
agent/6605-update-prioritize-scheduler-docs)efbad460ff35eb9ad105ca59f20be8a5b34c6488..HEAD)