❄️ Cold Auditor Phase — Add Support for Context‑Isolated Sub‑Agent Audits
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- javascript
Direzione di ricerca
La proposta non indica file di implementazione, test o punti di ingresso. Inizia individuando il workflow e l’implementazione delle fasi esistenti di PromptKit, quindi segui come vengono gestiti i sub-agents e gli input espliciti; il lavoro è completato quando sono presenti una primitiva di audit isolata dal contesto, un workflow di esempio e una documentazione che copra i criteri di accettazione elencati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
❄️ Cold Auditor Phase — Add Support for Context‑Isolated Sub‑Agent Audits
Summary
Introduce a Cold Auditor Phase to PromptKit: a workflow primitive that spawns a context‑isolated sub‑agent to perform adversarial audits of earlier artifacts.
This sub‑agent receives only the artifacts and instructions explicitly passed to it, ensuring a cold read with zero inherited assumptions, memory, or narrative bias.
This pattern emerged organically during real‑world use and proved extremely effective at tightening specs, exposing drift, and stabilizing multi‑phase workflows.
Motivation
In multi‑phase workflows, later phases often inherit the model’s earlier assumptions.
This creates several problems:
- Early‑phase fuzziness gets “grandfathered in”
- The model avoids contradicting itself
- Drift accumulates across phases
- Audits become polite instead of adversarial
- The system loses its ability to self‑correct
A context‑reset audit eliminates these issues.
When a sub‑agent evaluates artifacts with no prior context, it behaves like a fresh engineer joining the project:
- no sunk‑cost bias
- no narrative loyalty
- no continuity assumptions
- no memory of earlier reasoning
This produces dramatically stronger audits and more stable specs.
Proposal
Add a workflow primitive that allows a phase to declare:
“Run this audit using a context‑isolated sub‑agent.
Provide only the specified artifacts and instructions.
Do not inherit any prior conversation or reasoning.”
Key properties
- Isolation: sub‑agent receives no parent context
- Explicit inputs only: artifacts + instructions
- Adversarial stance: evaluate as if encountering the spec for the first time
- Deterministic: no hidden state, no bleed‑through
- Model‑agnostic: works with any model combination
Benefits
-
True adversarial auditing
The sub‑agent is free to tear apart earlier phases without self‑consistency bias. -
Drift resistance
Specs converge toward correctness instead of drifting with model personality. -
Robustness to context loss
If a model loses its window, the workflow still behaves correctly. -
Multi‑model synergy
Cheap/creative models can propose; precise models can audit. -
Stronger invariants
Cold reads force vague requirements to become crisp, explicit, and enforceable.
Example Workflow Addition (conceptual)
- phase: protocol_audit
mode: cold_subagent
inputs:
- requirements
- spec
instructions: |
Evaluate these artifacts as if you have never seen them before.
Identify inconsistencies, missing invariants, and drift.
Produce a corrected, tightened version of the spec.
Acceptance Criteria
- Ability to spawn a sub‑agent with no inherited context
- Ability to pass explicit artifacts and instructions
- Deterministic isolation: no cross‑phase memory leakage
- Clear documentation of the “Cold Auditor Phase” pattern
- Example workflow demonstrating usage
Why This Belongs in PromptKit
PromptKit already enforces structure, determinism, and artifact‑bounded reasoning.
A Cold Auditor Phase extends this by adding a powerful correctness mechanism:
self‑disagreement as a feature, not a bug.
This turns PromptKit workflows into systems that:
- generate
- critique
- refine
- converge
…without relying on any single model’s continuity or assumptions.
Notes
This pattern emerged organically during real use when a context window reset caused an audit phase to evaluate the spec with zero preconceptions.
The result was dramatically better than a continuity‑preserving audit.
Formalizing this behavior would make it a first‑class tool for all PromptKit workflows.
- Lingua principale
- JavaScript
- Stelle
- 105
- Fork
- 23
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/PromptKit
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
-
enhancement
Tutte le issue di microsoft/PromptKit
Issue simili
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
apache/cloudstack#14222 ·
-
Browser Waiting for: Product Owner
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
getsentry/sentry-javascript#24577 · 1 commento ·
-
curation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
amponce/archive-movie-browser#186 ·
-
light
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
aemdemos/patients-stryker#253 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
clerk/javascript#9852 ·