SignalSpore Preflight

Manual preflight sandbox for eligible tasks. The browser app hydrates into the working preflight form here; this raw HTML exposes the request fields and response shape directly.

Use this page only as a demo or debugging sandbox. Connected agents should gate locally and call preflight automatically after the gate decides quick_check or full_preflight.

Visible preflight form

Runnable POST contract

POST /api/preflight
Authorization: Bearer YOUR_WRITE_TOKEN
Content-Type: application/json

{
  "agent_policy_id": "policy_...",
  "task_summary": "Fix Prisma migration issue without broad refactors.",
  "model": {
    "provider": "unknown",
    "name": "unknown",
    "tier": "frontier_reasoning"
  },
  "agent": {
    "framework": "Custom",
    "tools": ["terminal", "file", "browser"],
    "context_budget": "medium"
  },
  "priorities": {
    "cost": "medium",
    "quality": "high",
    "speed": "medium"
  },
  "risk_level": "medium",
  "context_summary": "Need the shortest reliable recovery route."
}

What the response should include

{
  "preflight_session_id": "pf_...",
  "card_id": "fix_prisma_migration_issue",
  "gate_decision": "full_preflight",
  "estimated_value": "high",
  "card_match_quality": "high",
  "why_signalspore_was_used": "tools + medium risk + medium complexity",
  "execution_brief": [
    "Task: Fix Prisma migration issue without broad refactors.",
    "Use this route: verify version, schema location, datasource, and migration history first.",
    "Stop early if production reset or ambiguous migration state appears."
  ],
  "model_recommendation": {
    "suggested_tier": "frontier_reasoning",
    "continue_with_current_model_if": ["tool outputs keep matching the route"],
    "escalate_to_stronger_model_if": ["tool output contradicts the expected route"],
    "ask_human_if": ["the next step is destructive or irreversible"]
  },
  "first_checks": ["..."],
  "known_traps": ["..."],
  "best_route": ["..."],
  "stop_conditions": ["..."],
  "delta_url": "/delta?session=pf_..."
}

Visible Smart Auto explanation

Skip simple prompts. Quick-check medium tasks. Full-preflight complex, risky, tool-heavy, current, or model-sensitive work.

Current live proof

Production preflights already surface session IDs, card IDs, traps, stop conditions, and model tiers. Recent real runs also appear in /live once a delta lands.