get_session_context
Reads session.md to detect active pipeline phase and assemble role guidelines, ADRs, and skill stubs. Optionally resolve a role directly without altering session state.
Instructions
[SESSION TOOLS] Reads session.md, detects the active pipeline phase, and returns core guidelines + phase-appropriate role guidelines + filtered foundational ADRs
role-linked skill stubs (=== PLAYBOOKS === section, when the role has skills registered) as a single assembled string.
If start_role is provided, session.md is bypassed entirely: the named role is resolved directly and SESSION STATE is omitted from the response.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | Project name to read session state from | |
| start_role | No | Optional. If provided, resolve this role directly without reading session.md. Useful for invoking standalone or on-demand roles without disturbing pipeline state. Returns an error string listing valid roles if the value is unrecognised. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |