axint.workflow.check
Validates workflow stage gates by checking required Axint session actions, ensuring compliance before planning, writing, or building.
Instructions
Read-only agent workflow gate. Requires the current Axint session token from axint.session.start unless requireSession=false is explicitly set. Use this at session start, after context compaction, before planning, writing, building, or... Use: use at stage gates to prove Axint workflow coverage; not a final build/test substitute. Effects: read-only gate but may update tiny workflow freshness stamps; no network.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Project directory containing .axint/session/current.json. Defaults to the MCP process cwd. | |
| sessionStarted | No | Whether axint.session.start was called in this chat/recovery pass. | |
| agent | No | Agent host/tool lane for this gate. Codex/Claude/Cowork/Cursor use patch-first lanes; Xcode may use Xcode... | |
| sessionToken | No | Token returned by axint.session.start. Required by default so compaction cannot erase the Axint workflow... | |
| requireSession | No | Set false only for legacy/manual checks. Defaults to true. | |
| stage | No | Workflow stage being checked. Defaults to pre-build. | |
| surfaces | No | Apple surfaces touched by this task. If omitted, inferred from modifiedFiles. | |
| modifiedFiles | No | Files changed in this agent pass, used to infer whether Swift validation is required. | |
| ranSuggest | No | Whether axint.suggest was used during planning. | |
| ranStatus | No | Whether axint.status was called to confirm the running MCP version. | |
| readRehydrationContext | No | Whether .axint/AXINT_REHYDRATE.md was read after a new chat, context compaction, MCP restart, or drift. | |
| readAgentInstructions | No | Whether AGENTS.md, CLAUDE.md, or .axint/project.json was read after a new chat or context compaction. | |
| readDocsContext | No | Whether .axint/AXINT_DOCS_CONTEXT.md was read or axint.context.docs was called after a new chat or context... | |
| ranFeature | No | Whether axint.feature was used for a new surface scaffold. | |
| ranRepair | No | Whether axint.repair was used for an existing-code repair plan. This satisfies planning for patch-first... | |
| featureBypassReason | No | Concrete reason axint.feature was intentionally bypassed. Use for existing-code edits, patch-first repairs,... | |
| ranSwiftValidate | No | Whether axint.swift.validate was run on modified Swift. | |
| ranCloudCheck | No | Whether axint.cloud.check was run with source/evidence. | |
| xcodeBuildPassed | No | Whether Xcode build evidence passed. | |
| xcodeTestsPassed | No | Whether focused unit/UI tests passed. | |
| notes | No | Optional human/agent context for why a step was skipped. | |
| availableTools | No | Optional list of Axint MCP tools visible in this host session. When supplied, workflow.check will not... | |
| format | No | Output format. Defaults to markdown. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Primary Axint tool response text, matching the first text content block. | |
| isError | No | Whether Axint marked the tool response as an error. |