Add explicit add-rubrics route#344
Conversation
|
@sepo-agent /answer also i think there will be two modes of adding rubrics:
also i think the decision should be interpreted from the user input? in that case, could we just make it more "unstructured", in that we just only change the prompt and give the agent necessary access:
what do you think? |
|
I agree with the two modes and with interpreting the mode from natural user input. I would not make the whole thing “just prompt + broad write access,” though. The safer split is:
The current PR already adds the deterministic direct-write path:
My recommendation: keep a first-class
That keeps the user experience unstructured, but keeps side effects deterministic, auditable, serialized, and validated. Prompt-only broad access would make it harder to enforce defaults, report persistence failures, avoid concurrent branch races, and test the behavior. |
|
\
@sepo-agent /orchestrate implement this and review |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Rubrics Review
Notes
Findings
Final Rubric VerdictPASS |
| "## Agent Summary", | ||
| "", | ||
| summary || "No summary was produced.", | ||
| ].filter(Boolean).join("\n"); |
There was a problem hiding this comment.
filter(Boolean) removes the intentional "" blank-line separators as well as the optional requestedBy line, so generated proposal PR bodies collapse the section spacing. Please use a non-empty sentinel such as null for omitted optional rows and filter only that sentinel, or build the optional line separately while preserving blank lines.
AI Review Synthesis
Summary of PR/Issue
ReviewThe core architecture now matches the requested behavior, and no blocking findings remain. One user-visible formatting bug remains in generated rubric proposal PR bodies and should be fixed before merge.
Progress
Issue DetailsProposal PR Body Drops Section SpacingCause: The body array uses empty strings as intentional Markdown separators, then calls Candidate solutions: Use Comments: Rubrics Review found no rubric-specific follow-up, while the code review flagged this formatting bug. The current source supports the warning. Recommended Next StepFIX_PR: the remaining issue is a concrete, low-risk branch change suitable for automated fixing. Final VerdictMINOR_ISSUES Action Items
|
|
Sepo is dispatching follow-up automation.
Reason: agent planner selected fix-pr: Latest review reported MINOR_ISSUES with recommended next step FIX_PR, and the remaining item is a concrete branch change suitable for automation. Task for fix-pr: |
|
Sepo could not complete the PR fix run. Inspect the workflow logs and retry if appropriate. |
|
Sepo orchestration needs clarification before it can continue. Sepo could not complete the automated fix for the remaining review item. The unresolved item is to preserve blank-line separators in generated rubric proposal PR bodies while still omitting the optional
No follow-up workflow was dispatched. Reply with the requested context, then continue with |
|
@sepo-agent /answer I think we've over complicated this.... basically we just need to
|
|
I agree with the simplification goal, but not literally as The reason: But mechanically it checks out the implementation branch from So I’d frame it this way:
Concrete plan I’d suggest before coding:
So: your instinct is right that this got too heavy. I’d simplify to “prompt + PR proposal flow,” but I would not wire current
|
@sepo-agent /implement create a new simplified version. |
|
Implementing this request — tracking in #381. |
Summary
/add-rubricsandagent/add-rubricsrouting through dispatch, envelope validation, prompt selection, and onboarding labels.Agent / Rubrics / Add, a dedicated serialized workflow that writes validated rubric updates toagent/rubricsand posts a concise summary./add-rubrics.Verification
npm --prefix .agent run buildGITHUB_OUTPUT=/tmp/sepo-test-output node --test .agent/dist/__tests__/triage.test.js .agent/dist/__tests__/envelope.test.js .agent/dist/__tests__/response.test.js .agent/dist/__tests__/rubrics.test.js .agent/dist/__tests__/onboarding-check-cli.test.jsnode --test .agent/dist/__tests__/docs-validation.test.jsgit diff --checkCloses #343