Skip to content

[v0.17 S4] Extract agent planning behind a pinned-reader trait #1673

Description

@TheGreenCedar

Package S4 in the v0.17.0 consolidated remediation program.

Contract

Move runtime agent planning into codestory-agent behind a pinned-reader trait. The new crate owns no activation, storage, retrieval execution, publication retry, or mutable readiness authority; add an architecture dependency rule.

Dependencies

Every EV package and runtime point fix in the moved files.

Program boundaries

  • The implementation PR uses a codex/* branch, targets dev/codestory-next, and carries this issue as Closes #N.
  • Keep source, package, protected-host, installed-runtime, and publication proof distinct.
  • Preserve atomic old-or-new publication, pinned readers, crash recovery, content-verified freshness, fail-closed evidence, observational status/doctor, accelerated embedding without CPU fallback, proof-owned cleanup, and serial Cargo execution.
  • Do not touch product version surfaces. The release lane owns the single synchronized version change after implementation is integrated.
  • Run focused proof while iterating and the owning path gate on the accepted candidate; broad source proof remains once on the frozen release candidate.

Done when

The extraction is behavior-preserving, the crate DAG enforces ownership, adapters keep packet as the broad-retrieval owner, and fidelity/eval outputs are unchanged.

Refs #1179

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:p1Release blocker or high-risk reliability/security issuetype:refactorBehavior-preserving code reduction and refactoring work

    Projects

    Status
    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions