Skip to content

feat(dreaming): add Pi AgentSession planning harness - #981

Open
NicholaiVogel wants to merge 1 commit into
nicholai/913-ingest-unificationfrom
NicholaiVogel/947-pi-dreaming-harness
Open

feat(dreaming): add Pi AgentSession planning harness#981
NicholaiVogel wants to merge 1 commit into
nicholai/913-ingest-unificationfrom
NicholaiVogel/947-pi-dreaming-harness

Conversation

@NicholaiVogel

@NicholaiVogel NicholaiVogel commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • adds @earendil-works/pi-coding-agent and a Pi-backed AgentSession factory using the daemon’s resolved Pi model and credentials
  • makes the Refactor: make agentic dreaming and pipeline dreaming two ways of doing the same thing. #913 ingest planner route Pi providers through an AgentSession, returning only a strict plan body to the existing daemon-owned validation/apply/lease seam
  • exposes capability-constrained context inspection and plan submission tools; no tool has direct database or filesystem write access

Relationship

Stacked on #946 (#913 unified ingest) because this consumes its leased context → plan → deterministic apply boundary.

Verification

  • bun test platform/daemon/src/pipeline/ingest platform/daemon/src/pipeline/extraction-queue.test.ts --timeout 120000 (101 passing)
  • bun run --filter @signet/daemon build (passed)

PR readiness

  • Spec alignment validated (INDEX.md + dependencies.yaml)
  • Agent scoping verified on all new/changed data queries
  • Input/config validation and bounds checks added
  • Error handling and fallback paths tested (no silent swallow)
  • Security checks applied to admin/mutation endpoints
  • Docs updated for API/spec/status changes
  • Regression tests added for each bug fix
  • Lint/typecheck/tests pass locally

No public API or spec status changed; the documentation readiness item is not applicable to this internal planning-harness change.

Assisted-by: Hermes-Agent:openai-codex/gpt-5.6-terra
@aaf2tbz
aaf2tbz self-requested a review July 24, 2026 19:56
@aaf2tbz

aaf2tbz commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

Reviewed by hand: No appearing faults or edge cases. Code looks clean and imports / exports align with their callee values and definitions / aligned functions.

@aaf2tbz
aaf2tbz marked this pull request as ready for review July 24, 2026 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants