How fairladyz625/harness-anything works
Harness Anything is an agent-work accountability system: it turns repository work into durable decisions, facts, task evidence, reviews, and gated completion. The main user workflow is issuing work through the CLI or GUI, recording and reviewing its outcomes, and retaining project memory for later runs. The graph includes the documented preset and GUI capabilities, plus the daemon, application, and kernel layers. Relationships are limited to README statements and SOURCE INDEX references; unsampled wiring is not asserted.
Main entry points: daemon-host.ts Daemon host · task-lifecycle-service.ts Task lifecycle · thin-command-router.ts CLI commands · client.ts Daemon client
Components 22
User interfaces
- CLI commands
packages/cli/src/cli/thin-command-router.ts - Daemon client
packages/cli/src/daemon/client.ts - Desktop workspace
packages/gui/src/renderer/App.tsx
Domain services
- Task lifecycle
packages/application/src/task-lifecycle-service.ts - Artifact entities
packages/application/src/artifact-entity-service.ts
Daemon runtime
- Daemon host
packages/daemon/src/daemon-host.ts - Agent runtime setup
packages/daemon/src/agent-runtime-instance-storage.ts - Task dispatch
packages/daemon/src/task-dispatch-admission.ts - Decision review
packages/daemon/src/decision-review-read.ts - Squad coordination
packages/daemon/src/squad-coordinator.ts - Scheduled work
packages/daemon/src/schedule-scheduler.ts - Document sync
packages/daemon/src/doc-sync-actions.ts - Fleet operations
packages/daemon/src/fleet/edge.ts
Kernel and storage
- Task and relations
packages/kernel/src/domain/task.ts - Task projections
packages/kernel/src/projection/task-query-projection.ts - Projection database
packages/kernel/src/projection/rebuildable-task-projection-database.ts - Event store
packages/kernel/src/store/sqlite-event-store.ts
Presets and integrations
- Preset processing
packages/preset/src/preset-process-service.ts - Local adapter
packages/adapters/local/src/index.ts - Multica adapter
packages/adapters/multica/src/index.ts
Other components
- Repository user
- Coding agent
Connections 21
- Repository user → CLI commands: issues commands
README.md - Repository user → Desktop workspace: uses workspace
README.md - CLI commands → Daemon client: routes commands
- Daemon client → Daemon host: connects to
- Task lifecycle → Task and relations: uses kernel
packages/application/src/task-lifecycle-service.ts - Artifact entities → Task and relations: uses kernel
packages/application/src/artifact-entity-service.ts - Task projections → Projection database: queries through
packages/kernel/src/projection/task-query-projection.ts - Projection database → Task projections: builds reads
packages/kernel/src/projection/rebuildable-task-projection-database.ts - Preset processing → Coding agent: runs preset scripts
- Coding agent → Task lifecycle: records work
README.md - Coding agent → Decision review: submits for review
README.md - Decision review → Task lifecycle: gates completion
README.md - Coding agent → Agent runtime setup: uses configured runtime
- Daemon host → Task dispatch: admits dispatch
- Daemon host → Squad coordination: coordinates squads
- Daemon host → Scheduled work: runs schedules
- Daemon host → Document sync: handles document sync
- Daemon host → Fleet operations: supports fleet work
- Daemon host → Event store: persists events
- Local adapter → Daemon host: adapts locally
- Multica adapter → Daemon host: provides integration