Commit Graph
4 Commits
Author SHA1 Message Date
Nucleic 2c3240ed39 Merge nucleic/dapper-quartz-gecko into dev 2026-06-20 16:25:05 -07:00
abkslmandClaude Opus 4.8 94743bbb54 Add LOCKING.md: parent-scoped file-lock + nested-worktree design
Design doc only (no code). Diagnoses the agent-merge lock leak — locks are emergent git-diff state released only via autoship's forceReleaseLocks, so agent self-merges and non-default parents leak — and specifies a dedicated LockManager: parent-scoped lock domains, all-or-nothing acquisition with a demotion queue, merge-into-parent release (mediated + git-ancestry poll), update-on-grant merge, and nested worktrees with cascade re-target. Indexed in PLAN.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
2026-06-15 19:47:20 -07:00
abkslmandClaude Opus 4.8 43279a038e Land M0 deliverable: NucleicCore package + spike + fixtures
M0 (the stream-json spike) was completed earlier but its code was left
uncommitted in a sibling worktree and never landed on any branch. This
commits it verbatim as the M1 baseline:

- NucleicCore: AgentEvent/JSONValue model, AgentBackend protocol,
  ApprovalCoordinator, ProcessHost, Transcript writer/reader,
  ClaudeStreamDecoder, in-process MCP approval server, ClaudeCodeBackend
- nucleic-spike CLI + fake-claude wire stub
- 41 hermetic tests (golden + contract + drift) and live captures under
  fixtures/claude/2.1.167/
- PLAN.md / ADAPTERS.md updated with M0 findings; docs/M0_RESULTS.md

Built and tested with `swift build/test --build-system native` (iCloud
codesign workaround).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
2026-06-12 00:34:10 -07:00
abkslmandClaude Opus 4.8 0e47298720 Add Nucleic design plan: Swift/SwiftUI Claude Code/Codex wrapper
Comprehensive design for a Conductor-style macOS app (host) + iPhone
(thin remote client) that runs parallel Claude Code / Codex sessions in
isolated git worktrees, with interactive per-session approvals.

PLAN.md is the hub; docs/ over-specifies each layer:
- BACKEND_PROTOCOL: normalized AgentEvent model, capabilities, approvals
- ADAPTERS: Claude MCP approval server + Codex app-server JSON-RPC,
  with wire contracts confirmed from primary sources
- SYNC_PROTOCOL: LAN/relay E2EE sync, seq-cursor catch-up
- WORKTREE_MANAGER: worktree lifecycle, diff, integrate, reconcile
- RUNTIME_ARCHITECTURE: single-writer pipeline, GRDB schema, concurrency
- UX_MACOS / UX_IOS: information architecture and approval flows
- OBSERVABILITY_AND_TESTING: redaction-aware observability + fixture harness

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
2026-06-11 23:49:19 -07:00