run-parity-test-d — Entry Skill
Entry point for the
parity-test-dpipeline. Orchestrates the sequential dispatch ofscannerandreporteragents on Tier 1c (Antigravity CLI) via model_driven dispatch.
Platform Context
- Tier:
tier_1c(Antigravity CLI) - Dispatch mechanism:
model_driven— the host orchestrator drives subagent sequencing; noTask()primitive available. - model_field_format:
omit— agents do not declaremodel:ormodel_tier:in their dispatch prompts; the host owns model selection. - Degradation warning (MUST surface before execution):
"Antigravity uses dynamic subagents — per-step model assignment is not supported. Only the orchestrator's model tier is user-configurable. Subagent model selection is owned by Antigravity's orchestrator."
Workflow
PHASE 0: PREFLIGHT
- Emit the Tier 1c degradation warning above.
- Resolve
{ROOT}viask-pipeline-paths(scope root resolved from the active tier profile at runtime — never hardcoded). - Resolve
{runId}= ISO-8601 timestamp (e.g.,20260526T143000Z). - Create temp directory:
{ROOT}/superpipelines/temp/parity-test-d/{runId}/. - Create
output/directory if absent:{ROOT}/output/. - Initialize
pipeline-state.jsonat{ROOT}/superpipelines/temp/parity-test-d/{runId}/pipeline-state.json:
{
"pipeline_id": "parity-test-d",
"run_id": "{runId}",
"started_at": "{iso8601}",
"plugin_version": "2.0.0",
"pattern": "1",
"status": "running",
"current_phase": 0,
"metadata": {
"source_tier": "tier_1c",
"runtime_tier": "tier_1c",
"orchestrator_tier": "fast",
"resolved_models": {}
},
"phases": [
{
"index": 0,
"step_id": "scanner",
"name": "scan",
"status": "pending",
"agent": "agents/superpipelines/parity-test-d/scanner.md",
"outputs": [],
"error": null
},
{
"index": 1,
"step_id": "reporter",
"name": "report",
"status": "pending",
"agent": "agents/superpipelines/parity-test-d/reporter.md",
"outputs": [],
"error": null
}
]
}
- Ask the user to provide the path to the source directory to scan if not already supplied. Record as
{SOURCE_DIR}.
PHASE 1: DISPATCH SCANNER (model_driven)
DISPATCH via model_driven orchestration:
Agent: scanner
Protocol: {ROOT}/skills/superpipelines/parity-test-d/scanner-protocol/SKILL.md
Context to pass:
- source_directory: {SOURCE_DIR}
- state_path: {ROOT}/superpipelines/temp/parity-test-d/{runId}/pipeline-state.json
- metrics_output_path: {ROOT}/superpipelines/temp/parity-test-d/{runId}/scanner-metrics.json
- run_id: {runId}
- root: {ROOT}
Wait for terminal status from scanner:
DONE→ updatepipeline-state.jsonphases[0].status = "completed"; advance to Phase 2.DONE_WITH_CONCERNS→ update phases[0].status = "completed_with_concerns"; emit concerns; advance to Phase 2.NEEDS_CONTEXT→ update phases[0].status = "blocked"; surface message to user; STOP.BLOCKED→ update phases[0].status = "blocked"; surface message to user; STOP.
PHASE 2: DISPATCH REPORTER (model_driven)
DISPATCH via model_driven orchestration:
Agent: reporter
Protocol: {ROOT}/skills/superpipelines/parity-test-d/reporter-protocol/SKILL.md
Context to pass:
- metrics_path: {ROOT}/superpipelines/temp/parity-test-d/{runId}/scanner-metrics.json
- output_path: {ROOT}/output/parity-test-d-health-report.md
- state_path: {ROOT}/superpipelines/temp/parity-test-d/{runId}/pipeline-state.json
- run_id: {runId}
- root: {ROOT}
Wait for terminal status from reporter:
DONE→ update phases[1].status = "completed"; advance to Phase 3.DONE_WITH_CONCERNS→ update phases[1].status = "completed_with_concerns"; emit concerns; advance to Phase 3.NEEDS_CONTEXT→ update phases[1].status = "blocked"; surface message to user; STOP.BLOCKED→ update phases[1].status = "blocked"; surface message to user; STOP.
PHASE 3: FINALIZE
- Update
pipeline-state.json:status:"completed"(or"completed_with_concerns"if any phase had concerns)completed_at: ISO-8601 timestamp
- Delete the temp run directory:
{ROOT}/superpipelines/temp/parity-test-d/{runId}/- On BLOCKED or NEEDS_CONTEXT: preserve the directory (do NOT delete); it holds resume state.
- Confirm to the user:
Pipeline
parity-test-dcompleted. Health report written to:{ROOT}/output/parity-test-d-health-report.md