Skip to content

Commit 8e0361b

Browse files
committed
Align current truth with owner-operated harness
Narrow the front-door docs, roadmap, and ADR 0032 language to what the repo can currently prove. Keep owner friction as real evidence only, with a lighter capture path and stricter closure semantics. Constraint: Harness-first direction descopes external adoption and broad daily-driver claims from current truth until real owner or external evidence exists. Rejected: Simulated owner friction or adoption proof | would repeat the closed-loop evidence problem this direction pass is trying to stop. Confidence: high Scope-risk: narrow Directive: Do not cite aspirational adoption, hosted/team expansion, or simulated pilots as current roadmap evidence without a new evidence source. Tested: .venv/bin/python -m pytest tests/test_docs_consistency.py -q; .venv/bin/python scripts/validate_event_spine_wiring.py; .venv/bin/python -m pytest tests/integration/test_audit_sink_isolation.py -q; .venv/bin/python -m pytest tests/acceptance/test_hook_lifecycle_flow.py -q; .venv/bin/python -m pytest tests/test_event_spine_wiring.py tests/lifecycle/test_run_event_spine.py -q; .venv/bin/python scripts/validate_docs_consistency.py; .venv/bin/python scripts/detect_stale_plans.py; git diff --check Not-tested: Full repository test suite.
1 parent 5bfa6f8 commit 8e0361b

8 files changed

Lines changed: 93 additions & 45 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> **Last reviewed:** 2026-06-13
44
> **Review trigger:** README feature claims, golden path, or provider count changes.
5-
> **Direction record:** [Harness-First Direction](docs/strategy/harness-first-direction-2026-06-13.md) (owner-operator persona, aspirational adoption)
5+
> **Direction record:** [Harness-First Direction](docs/strategy/harness-first-direction-2026-06-13.md) (owner-operator harness-first current direction)
66
77
A personal, local-first governance harness for autonomous coding tasks — built by and for the owner-operator who maintains, uses, and audits his own runs. Thin orchestration layer with tool governance, state boundaries, audit logging, and destructive-tool approval.
88

docs/INDEX.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ follow dated evidence documents only when you need the reasoning trail.
1212

1313
| Need | Start here | Status rule |
1414
| --- | --- | --- |
15-
| What can a daily user trust today? | [Daily-Driver Current Status](daily-driver-current-status.md) | Current truth; update whenever TUI, chat, agent mode, approval, cost, undo, or resume behavior changes. |
15+
| What can the owner-operator trust today? | [Daily-Driver Current Status](daily-driver-current-status.md) | Current truth for owner-operated daily use; update whenever TUI, chat, agent mode, approval, cost, undo, or resume behavior changes. |
1616
| What is the current documentation-state assessment? | [Documentation State Review](analysis/documentation-state-review-2026-06-04.md) | Current dated evidence for corpus shape, drift risks, and consolidation priorities. |
1717
| What is the documentation operating model? | [Documentation Operating Model](governance/documentation-operating-model-2026-06-04.md) | Governance rulebook for claim types, TTL, owners, supersession, and CI guard targets. |
1818
| What should be done next? | [Work Direction Execution Index](plans/work-direction-execution-index-2026-06-10.md) | Sprint 1 truth pass (WDA-001, WDB-001, WDB-003, WDG-001/002) after the June 10 critical review. |
@@ -45,15 +45,16 @@ governance ledgers should prefer the canonical set above.
4545

4646
| Question | Canonical source |
4747
| --- | --- |
48-
| Current daily-driver behavior | [Daily-Driver Current Status](daily-driver-current-status.md) |
48+
| Current owner-operated daily behavior | [Daily-Driver Current Status](daily-driver-current-status.md) |
4949
| Acceptance flow inventory | [Acceptance Coverage](acceptance.md) |
5050
| Roadmap state | [Roadmap Status](roadmap-status.md) |
51-
| Ticket execution order (daily-driver) | [Ticket Execution Plans](plans/ticket-plans/index.md) |
51+
| Ticket execution order for current harness work | [Ticket Execution Plans](plans/ticket-plans/index.md) |
5252
| Work direction Sprint 1 tickets | [Work Direction Execution Index](plans/work-direction-execution-index-2026-06-10.md) |
5353
| Module ownership and inspection paths | [Module Documentation Index](modules/INDEX.md) |
5454
| Release gates | [Release Checklist](release-checklist.md) and [Daily-Driver Release Gates](governance/daily-driver-release-gates-2026-06-02.md) |
5555
| Permission and approval behavior | [Permission And Approval Playbook](permission-and-approval-playbook.md) |
5656
| Operator trust model | [Operator Trust Model](operator-trust-model.md) |
57+
| Owner friction intake | [Operator Friction Log](work-log/operator-friction-log.md) |
5758

5859
## Evidence And Review
5960

@@ -94,10 +95,10 @@ governance ledgers should prefer the canonical set above.
9495
| June 6 risk and trust model critique | [Risk And Trust Model Critique](analysis/risk-and-trust-model-critique-2026-06-06.md) |
9596
| Phase 0-to-1 outlook | [Phase 0 To Phase 1 Outlook](strategy/phase-0-to-phase-1-outlook-2026-06-04.md) |
9697
| Malleable governed agent harness | [Malleable Governed Agent Harness](strategy/malleable-governed-agent-harness-2026-06-03.md) |
97-
| Daily-driver roadmap rationale | [Daily-Driver Roadmap Rationale](strategy/daily-driver-roadmap-rationale-2026-06-04.md) |
98-
| Daily-driver critique and counterarguments | [Daily-Driver Critique And Counterarguments](reviews/daily-driver-critique-and-counterarguments-2026-06-04.md) |
99-
| Daily-driver docs package review | [Daily-Driver Docs Package Review](reviews/daily-driver-docs-package-review-2026-06-02.md) |
100-
| Daily-driver red-team review | [Daily-Driver Red Team Review](reviews/daily-driver-red-team-review-2026-06-02.md) |
98+
| Historical daily-driver roadmap rationale | [Daily-Driver Roadmap Rationale](strategy/daily-driver-roadmap-rationale-2026-06-04.md) |
99+
| Historical daily-driver critique and counterarguments | [Daily-Driver Critique And Counterarguments](reviews/daily-driver-critique-and-counterarguments-2026-06-04.md) |
100+
| Historical daily-driver docs package review | [Daily-Driver Docs Package Review](reviews/daily-driver-docs-package-review-2026-06-02.md) |
101+
| Historical daily-driver red-team review | [Daily-Driver Red Team Review](reviews/daily-driver-red-team-review-2026-06-02.md) |
101102

102103
## Processes
103104

@@ -107,8 +108,8 @@ governance ledgers should prefer the canonical set above.
107108
| Competitor gap watch | [OpenCode Gap Watch](processes/opencode-gap-watch.md) |
108109
| Community presence and dev-rel | [Community Presence](processes/community-presence.md) |
109110
| Post-fix re-audit | [Postfix Reaudit Process](processes/postfix-reaudit-process.md) |
110-
| Daily-driver verification | [Daily-Driver Verification](processes/daily-driver-verification.md) |
111-
| Daily-driver manual QA smoke | [Daily-Driver Manual QA Smoke](processes/daily-driver-manual-qa-smoke.md) |
111+
| Owner-operated daily verification | [Daily-Driver Verification](processes/daily-driver-verification.md) |
112+
| Owner-operated manual QA smoke | [Daily-Driver Manual QA Smoke](processes/daily-driver-manual-qa-smoke.md) |
112113
| Quarterly competitor refresh | [Quarterly Competitor Refresh Process](processes/quarterly-competitor-refresh.md) · [Release Checklist](release-checklist.md) |
113114
| Trust and audit whitepaper | [Trust and Audit Whitepaper](governance/trust-and-audit-whitepaper.md) |
114115
| When not to use TeaAgent | [When Not to Use TeaAgent](guides/when-not-to-use-teaagent.md) |
@@ -137,7 +138,7 @@ governance ledgers should prefer the canonical set above.
137138
| [Work Direction Decomposition](plans/work-direction-decomposition-2026-06-10.md) | Full WD-A … WD-H backlog with acceptance gates. |
138139
| [Documentation Optimization Master Plan](plans/documentation-optimization-master-plan-2026-06-04.md) | Prioritizing documentation work by stability, UX, risk, and ROI. |
139140
| [Documentation Optimization Work Items](work-log/documentation-optimization-work-items-2026-06-04.md) | Concrete task execution ledger. |
140-
| [Daily-Driver Complete Work Plan](plans/daily-driver-complete-work-plan-risk-roi-2026-06-04.md) | Daily-driver risk, feasibility, ROI, and sequence. |
141+
| [Daily-Driver Complete Work Plan](plans/daily-driver-complete-work-plan-risk-roi-2026-06-04.md) | Historical daily-driver risk, feasibility, ROI, and sequence; use harness-first direction for current persona claims. |
141142
| [Roadmap Work Items](work-log/roadmap-work-items-2026-06-04.md) | Product roadmap work items and acceptance criteria. |
142143
| [Phase 0 Priority Work Items](work-log/phase-0-priority-work-items-2026-06-04.md) | Trust-repair tasks derived from project-state review. |
143144
| [Phase 0 Governance Closure Report](work-log/phase-0-governance-closure-report-2026-06-04.md) | Closure evidence for coverage omit, dependency audit, and ADR-state governance. |

docs/adr/0032-run-event-taxonomy.md

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,17 @@ register_interceptor(fn, *, name: str) -> None
5656
# Interceptors run in registration order before consumers
5757
# Exceptions propagate (veto semantics)
5858
59-
register_consumer(fn, *, name: str) -> None
60-
# Callable[[RunEvent], None]; never veto
59+
register_consumer(fn, *, name: str, critical: bool = False) -> None
60+
# Callable[[RunEvent], None]; isolated by default
6161
# Consumers run after interceptors
62-
# Exceptions are caught, logged, and isolated (never affect run)
62+
# Exceptions are caught, logged, and isolated unless critical=True
63+
# Critical consumers propagate to preserve required durability boundaries
6364
64-
emit(event: RunEvent) -> None
65+
emit(type_: RunEventType, run_id: str, payload: Mapping[str, Any]) -> None
6566
# Fire an event: run interceptors in order, then consumers
6667
# If any interceptor raises, propagate immediately (no further subscribers run)
67-
# If any consumer raises, log and continue
68+
# If any non-critical consumer raises, log and continue
69+
# If any critical consumer raises, propagate
6870
# Return normally on success or after isolated consumer failure
6971
```
7072

@@ -80,13 +82,15 @@ emit(event: RunEvent) -> None
8082
**Consumers:**
8183
- Represent audit, receipt building, evidence, ContextBus, webhook sinks
8284
- Run after all interceptors complete
83-
- Each wrapped in try/except (exception logged via logging module, never propagates)
84-
- Never affect the run (crash-safe)
85+
- Each wrapped in try/except by default (exception logged via logging module)
86+
- Non-critical consumers never affect the run (crash-safe)
87+
- Critical consumers may propagate when their side effect is part of the
88+
required safety boundary, such as compliance-mode audit durability
8589
- Used for side effects and derived state
8690

8791
### 4. HookRegistry Alignment
8892

89-
Existing Claude-Code hook names (SessionStart, PreToolUse, PostToolUse, etc.) are preserved as **aliases** to RunEventType members where semantically equivalent (e.g., PRE_TOOL_USE ← PreToolUse). The public hook API (teaagent/hooks.py) will be re-homed onto the spine in a later migration step (M5).
93+
Existing Claude-Code hook names (SessionStart, PreToolUse, PostToolUse, etc.) remain the public `teaagent/hooks.py` API. The spine taxonomy includes semantically equivalent typed hook-observability events (for example, `PRE_TOOL_USE`) so later integration can bridge the public hook API without changing hook names.
9094

9195
### 5. Compliance with ADR 0030
9296

@@ -210,7 +214,7 @@ belonged on the spine.
210214

211215
```
212216
RUN_STARTED # Run begins; payload: run_id, task, model, etc.
213-
SESSION_START # Session begins (alias: SessionStart)
217+
SESSION_START # Session begins; equivalent public hook: SessionStart
214218
PLAN_RESOLVED # Plan loaded/validated
215219
ITERATION_STARTED # Iteration loop begins
216220
DECISION_RECEIVED # Model returns a decision (tool call or final answer)
@@ -228,15 +232,15 @@ RUN_FAILED # Run ends in failure
228232
RUN_PENDING_APPROVAL # Run paused for approval
229233
RUN_CANCELLED # Run cancelled by user
230234
RECEIPT_EMITTED # Receipt finalized
231-
SESSION_END # Session ends (alias: SessionEnd)
235+
SESSION_END # Session ends; equivalent public hook: SessionEnd
232236
SKILL_LOAD # Skill loaded
233237
MODEL_ROUTE # Model routed (provider selection)
234238
GIT_SANDBOX_STARTED # Sandbox workspace initialized
235239
GIT_SANDBOX_RESOLVED # Sandbox resolved/cleaned
236240
UNDO_PERFORMED # Undo action executed
237-
PRE_TOOL_USE # Hook: before tool execution (alias: PreToolUse)
238-
POST_TOOL_USE # Hook: after tool execution (alias: PostToolUse)
239-
PRE_COMPACT # Hook: before context compaction (alias: PreCompact)
241+
PRE_TOOL_USE # Hook observability: before tool execution; public hook: PreToolUse
242+
POST_TOOL_USE # Hook observability: after tool execution; public hook: PostToolUse
243+
PRE_COMPACT # Hook observability: before context compaction; public hook: PreCompact
240244
```
241245

242246
The M0 spike covers RUN_STARTED, ITERATION_STARTED, TOOL_CALL_REQUESTED, TOOL_CALL_COMPLETED, TOOL_CALL_FAILED, RUN_COMPLETED, RUN_FAILED. Extended events are added in later phases as gates migrate.

docs/generated/docs-aging-dashboard.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
**Stale threshold:** 90 days since `Last reviewed`
66
**Current-truth docs scanned:** 17
7-
**Needs attention (working tier only):** 3
7+
**Needs attention (working tier only):** 2
88
**Archive-tier docs (exempt from staleness):** 1
99

1010
Regenerate: `python3 scripts/report_docs_aging.py`
@@ -21,13 +21,7 @@ Regenerate: `python3 scripts/report_docs_aging.py`
2121

2222
| Document | Status | Last reviewed | File mtime | Notes |
2323
| --- | --- | --- | --- | --- |
24-
| `docs/INDEX.md` | stale_by_mtime | 2026-06-06 | 2026-06-12 | Missing owner banner; File modified after last reviewed date |
25-
26-
### roadmap
27-
28-
| Document | Status | Last reviewed | File mtime | Notes |
29-
| --- | --- | --- | --- | --- |
30-
| `docs/roadmap-status.md` | stale_by_mtime | 2026-06-10 | 2026-06-12 | File modified after last reviewed date |
24+
| `docs/INDEX.md` | stale_by_mtime | 2026-06-06 | 2026-06-13 | Missing owner banner; File modified after last reviewed date |
3125

3226
## Archive Tier (Dated, Immutable Records — Exempt from Staleness Checks)
3327

docs/generated/docs-inventory.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Do not edit this file manually — regenerate instead.
4242
| `adr/0029-consensus-validation-deferred.md` | working | 1587 | `8a2da40abc07` |
4343
| `adr/0030-root-module-freeze.md` | working | 1297 | `bee25422e85f` |
4444
| `adr/0031-shadow-mode-exit-criteria.md` | working | 3598 | `46a9a0d5eaac` |
45-
| `adr/0032-run-event-taxonomy.md` | working | 13534 | `dcae5044f4c4` |
45+
| `adr/0032-run-event-taxonomy.md` | working | 14011 | `50c291b14941` |
4646
| `adr/README.md` | working | 7109 | `713a782f5411` |
4747
| `agent-contribution-contract.md` | constitution | 5204 | `9c2dad1195d2` |
4848
| `agent-mode-operator-guide.md` | working | 2778 | `25b258ab7bfe` |
@@ -233,7 +233,7 @@ Do not edit this file manually — regenerate instead.
233233
| `error-reference.md` | working | 4897 | `4d8a143b3322` |
234234
| `gateway-oauth-tenants.md` | working | 1818 | `0ff9c7df4652` |
235235
| `generated/command-snippet-inventory.md` | working | 8128 | `5256119bb8fe` |
236-
| `generated/docs-aging-dashboard.md` | working | 3359 | `f4fcc1ed6dc3` |
236+
| `generated/docs-aging-dashboard.md` | working | 3141 | `03454afd0476` |
237237
| `generated/release-docs-evidence.md` | working | 3621 | `3eacf81cef02` |
238238
| `governance-compliance.md` | constitution | 1648 | `031cfe1796cd` |
239239
| `governance/code-review-checklist.md` | working | 4379 | `f580da208c75` |
@@ -289,7 +289,7 @@ Do not edit this file manually — regenerate instead.
289289
| `http-surface-auth.md` | working | 5135 | `e5299e595353` |
290290
| `implementation/daily-driver-fix-log.md` | working | 978 | `474648b41793` |
291291
| `implementation/fix-log-2026-06-02.md` | archive | 8520 | `21239812e63e` |
292-
| `INDEX.md` | working | 19436 | `7c8bcd6a3e39` |
292+
| `INDEX.md` | working | 19697 | `89be0c9b9399` |
293293
| `maturity-matrix.md` | working | 6953 | `b5616937c67a` |
294294
| `migration-top-level-api.md` | working | 1505 | `2ba32dedee5a` |
295295
| `model-capability-matrix.md` | working | 4640 | `a5f83e814136` |
@@ -518,7 +518,7 @@ Do not edit this file manually — regenerate instead.
518518
| `reviews/project-state-critical-questioning-2026-06-04.md` | archive | 7340 | `78b9b54c3a9c` |
519519
| `reviews/security-risk-assessment-2026-06-02.md` | archive | 24112 | `4c9e2e00d001` |
520520
| `reviews/seven-control-loops-critical-questioning-2026-06-05.md` | archive | 7531 | `ae1e34b8369d` |
521-
| `roadmap-status.md` | constitution | 20384 | `45df7fe47c52` |
521+
| `roadmap-status.md` | constitution | 20910 | `17a4c5db9445` |
522522
| `run-evidence-and-audit-guide.md` | working | 1980 | `97b527c850b1` |
523523
| `security-whitepaper.md` | working | 9691 | `d65a19a755cb` |
524524
| `security/approval-abuse-cases-2026-06-02.md` | archive | 1281 | `4c43296d1c66` |
@@ -592,7 +592,7 @@ Do not edit this file manually — regenerate instead.
592592
| `work-log/m4-approval-sliceB-blocked-2026-06-13.md` | archive | 7347 | `3981ed82bc08` |
593593
| `work-log/m4-budget-stays-inline-2026-06-13.md` | archive | 5727 | `0e7a6ee74954` |
594594
| `work-log/m5-hooks-observability-only-2026-06-13.md` | archive | 5000 | `8a87eaee4d15` |
595-
| `work-log/operator-friction-log.md` | working | 2560 | `fe79899db10f` |
595+
| `work-log/operator-friction-log.md` | working | 3910 | `6dd6635ed859` |
596596
| `work-log/p0-p1-governance-implementation-ledger-2026-06-11.md` | archive | 5212 | `0b72cd69de32` |
597597
| `work-log/parallel-phase-0-implementation-report-2026-06-04.md` | archive | 13181 | `098186167459` |
598598
| `work-log/phase-0-governance-closure-report-2026-06-04.md` | archive | 4309 | `2af44267aaf4` |

0 commit comments

Comments
 (0)