Add minimal add-rubrics route with dedicated workflow#15
Add minimal add-rubrics route with dedicated workflow#15sepo-agent-app[bot] wants to merge 3 commits into
Conversation
Rubrics Review
Notes
Findings
Final Rubric VerdictPARTIAL |
| domain: coding_workflow # coding_style | coding_workflow | communication | review_quality | ||
| applies_to: | ||
| - implement # implement | fix-pr | review | answer | skill | rubrics-review | rubrics-initialization | rubrics-update | ||
| applies_to: |
There was a problem hiding this comment.
The YAML schema example is malformed here: applies_to is indented under domain, and the list item indentation no longer nests under applies_to. This will produce invalid copy/paste examples for users. Please restore the original top-level indentation (applies_to: with - ...).
| permission_mode: approve-all | ||
| prompt: add-rubrics | ||
| route: add-rubrics | ||
| lane: add |
There was a problem hiding this comment.
lane is currently set to add, but other routes use the full route name (for example implement, fix-pr, create-action). Using add-rubrics here would keep session/thread namespacing consistent and reduce future collision risk with other potential add-* routes.
| return lines.join("\n"); | ||
| } | ||
|
|
||
| export function formatAddRubricsComment(data: { |
There was a problem hiding this comment.
This new formatter has no direct unit coverage in response.test.ts yet. Please add focused tests for the three branches (!runSucceeded, runSucceeded && rubricsCommitted, runSucceeded && !rubricsCommitted) to match the existing coverage style used for formatRubricsUpdateComment.
This comment has been minimized.
This comment has been minimized.
|
Sepo pushed fixes for this PR. Branch:
Verification
All passed. |
Rubrics Review
Notes
Findings
Final Rubric VerdictPARTIAL |
| id-token: write # required for GitHub Actions OIDC broker exchange | ||
|
|
||
| jobs: | ||
| add-rubrics: |
There was a problem hiding this comment.
This workflow writes directly to the shared agent/rubrics ref, but it has no concurrency group. Two /add-rubrics requests can clone the same branch head and race on push, leaving one request unpersisted. Please add workflow/job concurrency scoped to the repository and rubrics ref with cancel-in-progress: false, matching the other stateful rubrics workflows.
| env: | ||
| RESPONSE_FILE: ${{ steps.add_rubrics.outputs.response_file }} | ||
| RUBRICS_COMMITTED: ${{ steps.add_rubrics.outputs.rubrics_committed }} | ||
| RUBRICS_STEP_OUTCOME: ${{ steps.add_rubrics.outcome }} |
There was a problem hiding this comment.
RUBRICS_STEP_OUTCOME only reflects whether the composite action returned success. Inside run-agent-task, rubric commits use continue-on-error, so a push failure can still leave this as success while rubrics_committed is false; the summary then says “No changes were committed” instead of surfacing a persistence failure. Please pass the rubric commit outcome through or otherwise make commit/push failure produce a failure summary for this write route.
AI Review Synthesis
Summary of PR/Issue
Review
Progress
Issue DetailsAdd-rubrics writes can race on
|
|
Sepo automation handoff dispatched: agent planner selected fix-pr: Latest review synthesis for PR #15 has Final Verdict MINOR_ISSUES and explicitly recommends FIX_PR for concrete, low-risk branch changes. |
|
Sepo did not produce code changes for this PR. Please add more context or restate the requested fixes, then try again. The add-rubrics route work is already present on the branch, and the working tree is clean. Verified:
All checks passed. |
|
@sepo-agent /orchestrate fix merge conflicts first |
|
Sepo automation handoff dispatched: manual orchestrate start on PR; dispatching review |
Rubrics Review
Notes
Findings
Final Rubric VerdictPARTIAL |
|
@sepo-agent /fix-pr resolve merge conflicts? |
…nt/implement-issue-9/codex-25065166075 # Conflicts: # .agent/src/triage.ts # AGENT.md
|
Sepo pushed fixes for this PR. Branch: Resolved the PR merge conflicts by merging current Conflict resolutions:
Created merge commit: Verification passed:
Final status: working tree clean, and |
|
@sepo-agent /answer A few thoughts:
|
|
Yes on reviewing existing rubrics first. I would not add a new rubric yet; I’d update the existing On naming: I’d keep Suggested next fix pass:
|
|
@sepo-agent /implement shall we create a new version since this is significantly outdated? |
|
Implementing this request — tracking in #343. |
Summary
add-rubrics(plusagent/add-rubricslabel mapping) in triage/dispatch policy.github/workflows/agent-add-rubrics.ymlagent-add-rubrics.mdrubrics_mode_override: 'enabled')run-agent-taskplumbing.agent/src/cli/prepare-add-rubrics-summary.tsand response formatter for concise status comments/add-rubricsVerification
npm --prefix .agent run buildnode --test .agent/dist/__tests__/triage.test.js .agent/dist/__tests__/envelope.test.js .agent/dist/__tests__/rubrics.test.jsCloses #9