Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
360 changes: 0 additions & 360 deletions .egg-state/agent-outputs/2623-architect-output.json

This file was deleted.

572 changes: 0 additions & 572 deletions .egg-state/agent-outputs/2623-risk_analyst-output.json

This file was deleted.

389 changes: 0 additions & 389 deletions .egg-state/agent-outputs/2717-architect-output.json

This file was deleted.

728 changes: 0 additions & 728 deletions .egg-state/agent-outputs/2717-risk_analyst-output.json

This file was deleted.

1,710 changes: 0 additions & 1,710 deletions .egg-state/brc-history/2623-plan.json

This file was deleted.

2,286 changes: 0 additions & 2,286 deletions .egg-state/brc-history/2623-plan.md

This file was deleted.

409 changes: 0 additions & 409 deletions .egg-state/brc-history/2623-refine.json

This file was deleted.

494 changes: 0 additions & 494 deletions .egg-state/brc-history/2623-refine.md

This file was deleted.

7,022 changes: 0 additions & 7,022 deletions .egg-state/brc-history/2717-implement-slice-1.json

This file was deleted.

8,071 changes: 0 additions & 8,071 deletions .egg-state/brc-history/2717-implement-slice-1.md

This file was deleted.

8,088 changes: 0 additions & 8,088 deletions .egg-state/brc-history/2717-implement-slice-2.json

This file was deleted.

10,030 changes: 0 additions & 10,030 deletions .egg-state/brc-history/2717-implement-slice-2.md

This file was deleted.

1,742 changes: 0 additions & 1,742 deletions .egg-state/brc-history/2717-plan.json

This file was deleted.

2,187 changes: 0 additions & 2,187 deletions .egg-state/brc-history/2717-plan.md

This file was deleted.

606 changes: 0 additions & 606 deletions .egg-state/brc-history/2717-refine.json

This file was deleted.

694 changes: 0 additions & 694 deletions .egg-state/brc-history/2717-refine.md

This file was deleted.

1,435 changes: 0 additions & 1,435 deletions .egg-state/contracts/issue-2623.json

This file was deleted.

1,754 changes: 0 additions & 1,754 deletions .egg-state/contracts/issue-2717.json

This file was deleted.

326 changes: 0 additions & 326 deletions .egg-state/drafts/2623-analysis.md

This file was deleted.

1,348 changes: 0 additions & 1,348 deletions .egg-state/drafts/2623-plan.md

This file was deleted.

221 changes: 0 additions & 221 deletions .egg-state/drafts/2717-analysis.md

This file was deleted.

1,557 changes: 0 additions & 1,557 deletions .egg-state/drafts/2717-plan.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/architecture/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ The SDLC pipeline orchestrates agent-based development with structurally enforce
- [Credential Injection](credential-injection.md) - Zero-credential sandbox with API key proxy
- [Network Isolation](network-isolation.md) - Public/private network modes
- [SDLC Pipeline](sdlc-pipeline.md) - Structurally enforced agent checkpoints
- [Claude Code Substrate](claude-code-substrate.md) - Substrate-swap walking skeleton (#2623): four `Protocol`s (`AgentSpawner` / `MessageBus` / `PolicyEnforcer` / `WorktreeManager`) under `orchestrator/substrate/`, env-var-selected via `EGG_SUBSTRATE`, with a working `K3sSpawnerAdapter` shim and Claude-Code-native implementations (`ClaudeCodeSpawner`, `InProcessMessageBus`, `PreToolUseHookPolicy`, `LocalWorktreeManager`); ships an in-process orchestrator generator (`run_pipeline_in_process`) yielding `HITLDecision` objects (cq-7 heredoc-HITL). The ADR records the trust-context shift (R1), PreToolUse-hook fallback to MCP-validator-side enforcement (R2), subagent context-budget regression vs `max_turns:1000` (R7), and the `EGG_PIPELINE_MAX_AGENT_INVOCATIONS` cost-cap recommendation (REC5); the four interfaces are marked `# v0.x — unstable until ≥3 roles exercise`; a "Follow-up issue draft" appendix captures the deferred rollout (plan / implement / pr phases, full 5-issue conformance matrix, perf budget)
- [Declarative Setup](declarative-setup.md) - Python-based setup
- [Logging](logging.md) - Structured JSON logging
- [Integration-Test Trust Boundary](integration-test-trust-boundary.md) - Test execution contexts (in-sandbox-agent / trusted-CI-runner / human-operator), fixture tier table, and hard-NACK rules for plan-phase Primitive-Existence (§9) and Trust-Boundary (§10) audits
Expand Down
297 changes: 0 additions & 297 deletions docs/architecture/claude-code-substrate.md

This file was deleted.

15 changes: 0 additions & 15 deletions docs/development/STRUCTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,21 +139,6 @@ orchestrator/
├── status_reporter.py # Real-time status reporter for collaborators
├── unified_sse.py # Unified SSE stream for all pipelines
├── webhooks.py # GitHub webhook handlers
├── substrate/ # Substrate-swap abstraction layer (walking-skeleton #2623): four Protocol interfaces + env-var-selected factory
│ ├── __init__.py # `select_substrate(env)` factory; reads `EGG_SUBSTRATE` (`k3s` or `claude-code`)
│ ├── spawner.py # `AgentSpawner` protocol + `AgentResult` dataclass
│ ├── message_bus.py # `MessageBus` protocol
│ ├── policy.py # `PolicyEnforcer` protocol
│ ├── worktree.py # `WorktreeManager` protocol
│ ├── k3s_adapter.py # `K3sSpawnerAdapter` shim wrapping `KubernetesSpawner.create_concurrent_spawn_fn`
│ ├── in_process.py # `run_pipeline_in_process()` generator entry point (claude-code substrate only)
│ └── claude_code/ # Claude-Code-native implementations
│ ├── spawner.py # `ClaudeCodeSpawner` — runs `egg_harness.run_agent` in-process (Agent-tool dispatch is a follow-up; see ADR "Open work")
│ ├── hook_entry.py # Standalone `python3 -m` PreToolUse hook script invoked by Claude Code (Bash/Write/Edit parser; fail-closed on ambiguous shapes)
│ ├── message_bus.py # `InProcessMessageBus` — subclasses `MessageStore` (in-memory)
│ ├── policy.py # `PolicyEnforcer` adapter (`check_write` + `install`) wrapping the `hook_entry.py` script
│ ├── settings.template.json # Claude Code settings template registering `hook_entry.py` as the PreToolUse hook
│ └── worktree.py # `LocalWorktreeManager` — per-agent worktrees under `~/.egg-worktrees/`
├── overseer/ # Overseer agent package (LLM-powered tier of pipeline health monitoring)
│ ├── classifier.py # Haiku-tier classifiers (stall, loop, error triage, off-track detection)
│ ├── decision_maker.py # Sonnet/Opus-tier decision-maker (corrective actions, redirect messages)
Expand Down
1 change: 0 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ This index helps both humans and LLMs navigate the documentation efficiently.
| [The Agentic Feedback Loop](architecture/agentic-feedback-loop.md) | The foundational work-review-feedback cycle that drives quality |
| [Why egg Works](architecture/collaboration-effectiveness.md) | How the public, sandboxed, async model delivers safety and collaboration |
| [Integration-Test Trust Boundary](architecture/integration-test-trust-boundary.md) | Test execution contexts (in-sandbox-agent / trusted-CI-runner / human-operator) and fixture tiers; authoritative reference for plan-phase Trust-Boundary Audit (#2594) |
| [Claude Code Substrate](architecture/claude-code-substrate.md) | Substrate-swap walking-skeleton (#2623): four `Protocol`s (`AgentSpawner` / `MessageBus` / `PolicyEnforcer` / `WorktreeManager`) under `orchestrator/substrate/`, env-var-selected via `EGG_SUBSTRATE`, with Claude-Code-native implementations and an in-process orchestrator generator (`run_pipeline_in_process`) |

### Development

Expand Down
Loading
Loading