Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

❄️ Cold Auditor Phase — Add Support for Context‑Isolated Sub‑Agent Audits

Abierto
#259 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
javascript
Área
ai, tooling

Línea de trabajo

La propuesta no nombra archivos de implementación, pruebas ni puntos de entrada. Empieza por localizar el workflow y la implementación de fases existentes de PromptKit, y después sigue cómo se gestionan los sub-agents y las entradas explícitas; se considera terminado cuando existan una primitiva de auditoría aislada del contexto, un workflow de ejemplo y documentación que cubra los criterios de aceptación indicados.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

❄️ 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

  1. True adversarial auditing
    The sub‑agent is free to tear apart earlier phases without self‑consistency bias.

  2. Drift resistance
    Specs converge toward correctness instead of drifting with model personality.

  3. Robustness to context loss
    If a model loses its window, the workflow still behaves correctly.

  4. Multi‑model synergy
    Cheap/creative models can propose; precise models can audit.

  5. 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.

Lenguaje dominante
JavaScript
Estrellas
105
Forks
23
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de microsoft/PromptKit

Todos los issues de microsoft/PromptKit

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.