feat(rpi): enable repository-backed shared work handoffs - #2816
Draft
Katrien De Graeve (katriendg) wants to merge 3 commits into
Draft
feat(rpi): enable repository-backed shared work handoffs#2816Katrien De Graeve (katriendg) wants to merge 3 commits into
Katrien De Graeve (katriendg) wants to merge 3 commits into
Conversation
- add revision-safe prepare, resume, and close contracts - preserve minimized RPI context for peer continuation - document contributor transfer and later RPI reuse - add advisory behavior coverage and plugin registration 🤝 - Generated by Copilot
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2816 +/- ##
==========================================
- Coverage 83.11% 83.10% -0.01%
==========================================
Files 183 183
Lines 34165 34165
Branches 25 25
==========================================
- Hits 28395 28394 -1
- Misses 5767 5768 +1
Partials 3 3
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Contributor
Eval Execution✅ Status: Passed — no merge-blocking failures (1 advisory assertion failure(s) present)
|
…n response shape - add explicit reporting requirements for outcomes and actions - refine evaluation criteria for shared work handoff scenarios - improve clarity in knowledge response expectations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Added an optional
shared-work-handoffRPI skill that projected explicitly selected local context into a minimized, checked-in continuation record for a named recipient. The handoff remained contextual evidence rather than canonical project authority, and publication, recipient response, revision reconciliation, and closure each required explicit actors and verified lifecycle transitions.Handoff contract and storage
prepare,resume, andcloseintents with separate preview and finalize stages.repository-filesadapter, with one Markdown record per handoff under.hve/handoffs/by default.RPI continuation and lifecycle
Documentation, packaging, and coverage
Related Issue(s)
Fixes #2815
Type of Change
Select all that apply:
Code & Documentation:
Infrastructure & Configuration:
AI Artifacts:
hve-builderand addressed all actionable findings.github/instructions/*.instructions.md).github/prompts/*.prompt.md).github/agents/*.agent.md).github/skills/*/SKILL.md).github/hooks/*/*.json)evals/)Other:
.ps1,.sh,.py)Sample Prompts (for AI Artifact Contributions)
User Request:
Execution Flow:
Output Artifacts:
Success Indicators:
Review the expected two-person outcome in Follow a Developer A-to-Developer B Example. The walkthrough shows the rendered RPI continuation fields, a phase-1-of-4 pause, branch advancement, Developer B's baseline choice, and the next RPI action.
For detailed contribution requirements, see:
Testing
Automated validation covered artifact structure, packaging, documentation, YAML, spelling, diff hygiene, and focused advisory model behavior.
npm run validate:skillspassed for all 76 skill directories with no errors or warnings.npm run plugin:validatepassed with plugin and catalog membership synchronized.npm run validate:docspassed 10 Jest suites (78 tests) and 11 Mermaid accessibility tests.npm run spell-checkpassed all 825 checked files after adding the intentional regex stems to the eval spec's cspell ignore header.npm run lint:yamlandgit diff --checkpassed.npm run lint:md-linksfailed on external URLs in six unchanged files. The same lane preventednpm run validate:localfrom completing successfully.gpt-5.6-luna. All 33 resulting trajectories passed every finalized grader during offline regrading.The behavior-conformance additions remain advisory. The focused result verifies the calibrated handoff cases locally; the hosted full suite remains pending CI.
For manual reviewer verification, replace the illustrative source paths and public URL in the sample with repository-safe fixture sources, then run the
/shared-work-handoff prepare previewcall. Confirm that it renders, but does not publish, a prepared record containing mode history, supplied context, issues and learnings, the four-phase map, pause point, and exact next RPI action. Compare the result with the Developer A-to-Developer B walkthrough.Checklist
Required Checks
AI Artifact Contributions
hve-builderreview mode to review contributionhve-builderreviewRequired Local Checks
The following local-safe validation commands must pass before merging:
npm run validate:localnpm run validate:docsnpm run spell-checknpm run lint:md-linksSecurity Considerations
Additional Notes
The new storage adapter is a declarative contract rather than an executable SDK or runtime provider. Behavior coverage is advisory and uses
output-matchesgraders to exercise the documented boundaries.Link validation could not confirm external references in
.github/instructions/rai-planning/rai-license-posture.instructions.md,.github/skills/coding-standards/code-review/references/change-risk-model.md,.github/skills/project-planning/security-planning/references/data-classification.md,.github/skills/rai/rai-standards/references/eu-ai-act.md,.github/skills/rai/rai-standards/SKILL.md, andGOVERNANCE.md. None of those files changed in this PR.