SPEC §3.5/§3.6/§3.7/§3.8 — name F/B/C as port targets + add Archon-style workflow runner
Per the 2026-04-29 scope-discipline pause: the wave shipped four pieces beyond SPEC §3.4 component scope, and one architectural pattern surfaced (Archon-style multi-pass workflow runner) that's the observer's natural growth path. Document them as port targets so the next scrum review has authoritative SPEC components. §3.5 — Drift quantification (loop 5 of the PRD) Names the SCORER drift work shipped inbe65f85+ the deferred shapes (PLAYBOOK drift, EMBEDDING drift, AUDIT BASELINE drift). Acceptance gates G3.5.A–B. §3.6 — Staffing-side structured filter Names the metadata-filter MVP shipped inb199093+ the deferred pre-retrieval SQL gate via queryd. Acceptance gates G3.6.A–C. §3.7 — Operational rating wiring Names the bulk playbook-record endpoint shipped in6392772+ the deferred UI shim, negative-feedback path, and time-decay. Acceptance gates G3.7.A–B. §3.8 — Observer-KB workflow runner (Archon-style multi-pass) — PORT TARGET, not yet started Documents the architecture J was working on across the Rust observer-kb branch (10 commits ahead of main, never merged) and the local Archon mod (committed 2026-04-29 as 3f2afc8 in /home/profit/external/Archon, not pushed to coleam00/Archon). The pattern: multi-pass mode chain (extract → validator → hallucination → consensus → redteam → pipeline → render) where each pass is a deterministic measurement. The observer is the natural home — workflows ARE observation patterns whose every step is recorded. Five components in dependency order: workflow definition (YAML), node executor (DAG runner), provenance recording (ObservedOps), mode catalog (matrix.search, distillation.score, drift.scorer, llm.chat), HTTP surface (/v1/observer/workflow/run). Reference materials on the system (preserved, not lost): - /home/profit/lakehouse/.archon/workflows/lakehouse-architect-review.yaml (Rust main, 69919d9) — 3-node Archon-via-Lakehouse proof - /home/profit/external/Archon dev branch — upstream engine with local pi/provider.ts mod (3f2afc8) for Lakehouse routing - Rust observer-kb branch — apps/observer-kb/docs/PRD.md + Python prototypes proven on real ChatGPT/Claude PDF data Acceptance gates G3.8.A–D. Estimated effort: L. PRD updated with "Observer as system resource (clarified 2026-04-29)" section pointing at §3.8 as the architectural growth path. The bare-bones observerd inbc9ab93is the substrate; the workflow runner is what makes it the "objective measurement engine" the small-model pipeline needs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
+21
@@ -34,6 +34,27 @@ What the Go refactor is FOR: a second-language pass surfaces architectural weakn
|
||||
|
||||
**The playbook + matrix indexer must produce the results we're looking for.** That's the single load-bearing acceptance criterion. Throughput, scaling, code elegance — all secondary. If a deep-field reality test on the 500K corpus surfaces wrong answers, the loop isn't working and we fix that before adding anything else.
|
||||
|
||||
### Observer as system resource (clarified 2026-04-29)
|
||||
|
||||
The observer is not a service among services — it's a *system
|
||||
resource*. Its job is to be objective about the process: watch
|
||||
everything, record measurements, surface what worked vs what
|
||||
didn't, feed the KB so the playbook substrate can decide the
|
||||
right pathway to the correct outcome.
|
||||
|
||||
The bare-bones observerd shipped in `bc9ab93` (event ingest +
|
||||
stats) is the substrate for this. The architectural pattern
|
||||
that grows it into the full "objective measurement engine" is
|
||||
the **multi-pass workflow runner** documented in SPEC §3.8 —
|
||||
inspired by Archon (`/home/profit/external/Archon`) and proven
|
||||
in the Rust `observer-kb` branch's Python prototypes (`deep_analysis.py`,
|
||||
`extract_knowledge.py`, `process_knowledge.py`).
|
||||
|
||||
The pipeline mode-chain (extract → validator → hallucination →
|
||||
consensus → redteam → pipeline → render) IS how the observer
|
||||
makes actionable decisions: each mode pass is a deterministic
|
||||
measurement; what survives the gauntlet is what feeds the KB.
|
||||
|
||||
### Triage / human-in-loop
|
||||
|
||||
Most cases are abstract enough that small-model + pathway + matrix can complete them. Some can't — they need a human. The system's job is to **identify which is which** and only escalate the second class. Frontier models partially solve this internally with their thinking loops; we're externalizing it so:
|
||||
|
||||
Reference in New Issue
Block a user