governance/complete-agent-session

Update agent session records with completion status and summary.

Updated Jan 11, 2026
One-click install
npx skills add https://github.com/venikman/fpf-foundry --skill governance-complete-agent-session
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: governance/complete-agent-session
Source: https://github.com/venikman/fpf-foundry/tree/main/design/skills/governance/complete-agent-session
Command: npx skills add https://github.com/venikman/fpf-foundry --skill governance-complete-agent-session

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill ensures a session's lifecycle is closed reliably by updating its completion status and adding a concise summary, providing a clear, auditable end state for governance workflows.

Core Features & Use Cases

  • Update an existing session record with completion status, timestamp, and summary to reflect the end of the lifecycle.
  • Enforce input validation and safety checks to prevent overwriting finalized sessions and to ensure safe context/session identifiers.
  • Support optional DoD (Definition of Done) and RoC (Rules of Compliance) checks and emit a U.Work log when telemetry is available.
  • Use cases include finalizing agent workflows in bounded contexts and generating auditable records for audits and reviews.

Quick Start

To finish a session, invoke the governance/complete-agent-session skill with a target context, a session_id, and a status (e.g., success or needs-review). Include dod_report and roc_report as needed to meet policy requirements and enable telemetry for logging.

Frequently Asked Questions about governance/complete-agent-session

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I finalize an agent session and record its completion status?

To finalize an agent session, you update its status and add a concise summary, ensuring a clear, auditable end state for governance workflows. This validates inputs to prevent overwriting finalized sessions and safely updates the session record file on disk.

What statuses can I assign when completing an agent session for compliance governance?

Agent session completion statuses include success, needs-review, blocked, or failed. You can apply these across bounded contexts and session lifecycles to accurately reflect the final outcome of the agent workflow.

Do I need Definition of Done and Rules of Compliance reports to close a session?

Definition of Done and Rules of Compliance reports are optional checks you can include when closing a session. Providing dod_report and roc_report as needed helps meet policy requirements and enables telemetry for logging a U.Work entry.

What inputs are required to update a session record file on disk?

You need a target context, a session_id, and a completion status to invoke session completion. Including optional DoD and RoC reports further enforces safety checks and prevents overwriting finalized sessions.

Can I overwrite a finalized agent session record if I need to make changes?

You cannot overwrite a finalized agent session record, as input validation and safety checks actively prevent overwriting finalized sessions. This limitation ensures auditable records remain stable for audits and reviews.

What inputs are required to update a session record file on disk?

You need a target context, a session_id, and a completion status to invoke session completion. Including optional DoD and RoC reports further enforces safety checks and prevents overwriting finalized sessions.