audit-docs
Audit cross-document coherence: docs ↔ roadmap ↔ code ↔ fix index ↔ issues. Finds drift — features in docs/ not in the roadmap…
Internal machine-result contract for headless agentic-workflow drivers. The executable source is @gtrabanco/agentic-workflow-schema: strict Envelope v2 for workflow-status, compact SkillOutcome v1 for driven work, compatibility parsing, and deterministic document snapshots. Not
Claude Code
$ npx -y skills add gtrabanco/agentic-workflow --skill orchestration-envelope --agent claude-code
Codex
$ npx skills add gtrabanco/agentic-workflow --skill orchestration-envelope -a codex -y
Cursor
$ npx skills add gtrabanco/agentic-workflow --skill orchestration-envelope -a cursor -y
Gemini CLI
$ npx skills add gtrabanco/agentic-workflow --skill orchestration-envelope -a gemini-cli -y
GitHub Copilot
$ npx skills add gtrabanco/agentic-workflow --skill orchestration-envelope -a github-copilot -y
OpenCode
$ npx skills add gtrabanco/agentic-workflow --skill orchestration-envelope -a opencode -y
Windsurf
$ npx skills add gtrabanco/agentic-workflow --skill orchestration-envelope -a windsurf -y
name: orchestration-envelope user-invocable: false version: 4.10.0 author: "Gabriel Trabanco <1969593+gtrabanco@users.noreply.github.com>" license: MIT description: > Internal machine-result contract for headless agentic-workflow drivers. The executable source is @gtrabanco/agentic-workflow-schema: strict Envelope v2 for workflow-status, compact SkillOutcome v1 for driven work, compatibility parsing, and deterministic document snapshots. Not a menu entry.
Interactive skills remain text-first. A headless driver obtains a compact, validated result at the boundary; it does not add a repeated JSON section to every user-facing skill.
The canonical [Turn contract](references/TURN_CONTRACT.md) remains here for the executor and review skills that load it. The workflow's portability preamble has its owner here too: [Portability](references/PORTABILITY.md) — skills cite it instead of copying the preamble.
The executable source of truth is [`@gtrabanco/agentic-workflow-schema`](../../packages/agentic-workflow-schema/): types, JSON Schemas, `renderOutputInstruction(skill)`, `parseTurn(input)`, and `compileWorkflowSnapshot(input)`. This document states the policy only; do not copy a second schema here.
`WORKFLOW_SKILL_PROFILES` is the authoritative inventory.
Its envelope includes the detailed project view under `detail`.
driver appends `renderOutputInstruction(skill)` to that invocation. It has the small model-owned fields: outcome, next intent/targets, blockers, questions, discoveries, and evidence references.
profile: it runs as deterministic code over the sensor envelope and never emits a worker SkillOutcome.
result is required.
Both results are one final fenced `json` block. The package rejects unknown keys at the routing boundary. Repository facts are never reconstructed from model prose: the driver compiles `WorkflowSnapshot v1` from its selected, versioned documents and caller-supplied repository facts.
1. Read the profile and append `renderOutputInstruction(skill)` only for a driven invocation. 2. Pass the final response to `parseTurn({skill, text, context})`. Keep the returned source and diagnostics with the run journal. 3. On an absent, malformed, or invalid machine result, re-invoke the same session once with: `Emit only the machine result for the turn above.` 4. Parse the repair reply. A second failure is driver-level `FAILED`; never retry indefinitely and never turn arbitrary prose into workflow facts.
Compatibility is deliberately narrow: it can repair documented legacy v2 shapes only when the missing value is mechanically knowable. A nonzero issue count without issue identities, an unmatched numeric unit id, or unrelated prose remains invalid and is surfaced to the driver.
and skill-specific extensions live inside it; `design_candidates`, for example, is `detail.design_candidates`, never a root key.
`parseEnvelope()` remains the legacy-compatible package API; new consumers use `parseEnvelopeV2Strict()` or `parseTurn()`.
Schemas. A breaking change to any published contract is a package major.
Drivers call `discover-repository-state` before planning and retain the frozen `docs/workflow/REPOSITORY_STATE.md` reference. `WorkflowSnapshot v1` preserves unknowns, provenance, and declared contradictions; a driver routes a contradiction to `resolve-repository-state` rather than silently replacing it.
A reusable set of agent skills that run a disciplined, doc-driven workflow for building software with agents — from idea/issue to a reviewed, classified, merge-ready change.
Audit cross-document coherence: docs ↔ roadmap ↔ code ↔ fix index ↔ issues. Finds drift — features in docs/ not in the roadmap…
Audit a whole PR against the delivery contract and return MERGE-READY or evidenced blockers with the full URL. Consumes the…
Discover repository evidence and write a frozen Normalized Repository State. Produces verified repository evidence and keeps…
Step executor for units whose triage (unit-lane) decided which steps the unit needs. Implements one triaged step (or all…
Repair persisted fix-now findings in compatible atomic batches: root-cause fixes, green gate, commit/push, and per-row `folded:…
Adapt the workflow scaffold to a new repository or add only missing substrate blocks to an existing install. Every install, hook,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.