governancecomplete-agent-session
maintained by venikman
star
0
account_tree
0
verified_user
MIT License
name: governance/complete-agent-session description: Completes an agent session with status and summary. version: 0.1.3 status: experimental family: governance role: Strategist allowed-tools:
- view_file
- write_to_file policies:
- A.15.1 U.Work outputs:
- SessionRecord
Governance: Complete Agent Session
1. Context
This skill updates a session record with completion status and summary, leaving a traceable end state for the session lifecycle.
2. Inputs
- context (required): Bounded context name (safe path segment).
- session_id (required): Session identifier (safe path segment).
-
status (required): Completion status (
success,needs-review,blocked,failed). -
allow_recomplete (optional): Allow re-completion when the session outcome is
needs-review. -
dod_report (optional): Path to a DoD report (required to mark
success). - roc_report (optional): Path to a RoC compliance report.
- roc_path (optional): Path to a RoC policy file (used to generate a compliance report).
- used_tools (optional): Semicolon-delimited tools used during the session (for RoC checks).
- approvals (optional): Semicolon-delimited approval keys satisfied (for RoC checks).
- summary (optional): Completion summary.
- agent_type (optional): Agent type completing the session.
- agent_model (optional): Agent model identifier.
- role_assignment (optional): RoleAssignment for U.Work logging (default: Strategist).
- decisions (optional): Semicolon-delimited DRR ids/paths.
- timestamp_start (optional): ISO-8601 timestamp for deterministic output.
3. Outputs
-
runtime/contexts/<context>/sessions/<session_id>.session.md
4. Procedure
- Validate inputs and confirm the session record exists.
- If the session is already completed, allow re-completion only when
allow_recompleteis true and the outcome isneeds-review. - If status is
success, require a DoD report with pass status or downgrade toneeds-review. - Evaluate RoC compliance when provided and apply violation outcomes.
- Update front matter with completion status and timestamp.
- Append a completion section with summary.
- Emit U.Work via
telemetry/log-workwhen available.
chat Comments (0)
Sign in to join the discussion and leave a comment.
Skill Details
GitHub Stars
0
GitHub Forks
0
Created
Jan 2026
Last Updated
il y a 5 mois
tools
tools project management
Related Skills
Build your own?
Join 12,000+ developers contributing to the Claude ecosystem.
No comments yet. Be the first to share your thoughts!