School-Core Wayfinder Map

Durable topology map for the Agent School stack. This document answers who owns what, which artifact crosses each boundary, and where evidence returns. It does not replace a CE plan, a bd issue, or the runtime implementation.

Canonical location: school-core/docs/wayfinder-map.md Maintained with: docs/route-envelope.md, docs/school-core-architecture.md, docs/pipeline-explainer.md, and the active CE plan for the current change.

The route-envelope schema is the companion contract for the identifiers and state transitions shown in this map.

The stack in one view

                         CONTROL PLANE

 KnowledgeCore ──► deterministic intent route ──► Wayfinder map
        │                                             │
        └──────────────────────┬──────────────────────┘
                               ▼
                         CE plan + U-IDs
                               │
                               ▼
                    bd beads + dependencies
                               │
                               ▼
                         CE work execution
                               │
                               ▼
                         EXECUTION PLANE

                  FirstMate ──► Orca ──► Hermes
                  dispatch       runtime    agent/tools/model
                               │
                               ▼
                         git artifact + evidence
                               │
                               ▼
                         ASSURANCE PLANE

       project verify gate ──┬── Entire sensor ──┬── CTO/COO review
                             │                  │
                             └──────┬───────────┘
                                    ▼
                         acceptance + bookbag verdict
                                    │
                 ┌──────────────────┴──────────────────┐
                 ▼                                     ▼
          bd lifecycle update                     AgentMail human gate
                 │
                 ▼
                         LEARNING PLANE

      trajectory + consolidation + score + RouterExperience
                                    │
                                    ▼
                         next bounded route decision

                         OBSERVATION SURFACES

          Kanban / last_run / activity / reports = read models

Ownership boundaries

ConcernAuthorityEvidence it emitsMust not become
Durable task lifecyclebdbead status, dependencies, claim, closeA second Kanban/bookbag tracker
User intent and durable contextKnowledgeCoreanchor/context referencesA task executor
System topologyThis Wayfinder mapownership and dependency edgesA duplicate implementation plan
Implementation decisionsCE planrequirements, decisions, U-IDs, testsMutable execution state
Worktree/agent dispatchFirstMatecrew status, report, fallbackA quality judge
Runtime isolationOrcaworktree, terminal, automation identityCurriculum or scoring policy
Agent behaviorHermessession/tool/model evidenceTask lifecycle authority
Mechanical verificationverify_gate.py / project checkstest/typecheck/lint resultA subjective grader
Intent-aware diff reviewEntirecheckpoint/diff findingsThe sole acceptance gate
Quality judgmentCTO + COOverdicts, findings, scoreA task queue
Verdict recordbookbag.pyaccepted, findings, scoreFull task tracking
Human decision railAgentMailapprove/reject/fixAutomated merge authority
Learning statetrajectories, consolidation, scores, RouterExperiencebounded outcome/historyUnverified policy mutation
Operational visibilityKanban, last_run, activityread-only status projectionRouting authority

Canonical task identity

A task should be traceable through this chain:

KC anchor
  ↔ wayfinder_map
  ↔ ce_plan_id + plan_unit (U-ID)
  ↔ bd_id
  ↔ cycle_session_id
  ↔ firstmate_crew_id
  ↔ orca_worktree_id + terminal_id
  ↔ hermes_session_id
  ↔ git base/branch/commit + Entire checkpoint
  ↔ verify result
  ↔ bookbag verdict
  ↔ bd close/update
  ↔ learning record

Not every execution path exposes every identifier yet. Missing identifiers are observability gaps, not permission to invent a value. The route-envelope work should add the missing joins incrementally and preserve redaction boundaries.

Lifecycle paths

Normal implementation path

request
  → deterministic intent classification
  → KnowledgeCore pull
  → Wayfinder lookup/update
  → CE plan or existing plan unit
  → bd bead claim
  → CE work
  → FirstMate/Orca/Hermes when admitted
  → artifact and evidence
  → verify gate + Entire + CTO/COO
  → bookbag verdict
  → bd update/close
  → trajectory and compound record

Low-risk solo fast path

existing bd bead
  → deterministic low-risk admission (`fast_lane.py`)
  → CE work in current/disposable worktree
  → local verify + Entire
  → bd close with evidence

The fast path retains bd, verification, Entire, and close-out evidence. It only removes unnecessary crew/school overhead for work that is already bounded. Admission fails closed without a bd identity, one-file/low-risk scope, or all required checks. summarize_lane_metrics() must show lower overhead with no higher rework before the policy is promoted.

Failure and repair path

failure evidence
  → classify edge and mode
  → choose one bounded next action
      ├─ retry same route
      ├─ change capability/role
      ├─ repair task contract
      ├─ repair runtime/tool
      ├─ escalate to teacher/faculty
      └─ request human decision
  → record reason and evidence
  → stop after no progress

A failed task must not silently become a successful task merely because a fallback produced a response. Lifecycle success, task quality, and pipeline cost remain separate signals.

Current implementation truth

AreaCurrent stateBoundary to preserve
Capability bundleImplemented and recorded for role/profile/skills/tools/gateThe resolver is additive while older role maps remain compatible
FirstMate → Orca → Hermes crew pathWired behind a flag with bounded fallback and artifact checksDo not claim every model/delegation route is proven by worktree success
Verify gateWired with explicit production preflight and reusable soft-skip/strict behaviorA skipped gate is not a pass
EntireWired as a non-blocking intent-aware sensorIt informs review; it does not replace CTO/COO acceptance
CTO/COO reviewIndependent correctness/security and completeness lensesTeachers judge; they do not dispatch or edit
bdRepository task authorityBookbag and Kanban must not duplicate lifecycle state
KanbanRead model of last_run and issue stateIt displays state; it does not choose the next route
RouterExperienceAdaptive combo selection with static cold-start fallbackIt may optimize model choice inside a route, not the outer CE workflow
CE route decisionRecorded in route/bookbag evidenceFuture routing effect remains an open feedback-loop task
SkillOptInstallable, but no reproducible corpus/held-out benchmark contract yetDo not claim lift until the measurement spine exists

Design invariants

  1. One authority per concern. bd owns lifecycle; CE owns plan decisions; Orca owns runtime; school-core owns judgment and growth.
  2. Compiler before critic. Mechanical verification runs before subjective review whenever the project can execute the artifact.
  3. Entire is evidence, not authority. Intent-aware findings enrich the review record without silently changing the acceptance rule.
  4. A report is not proof by itself. The report, branch, commit, base, and inspected artifact must refer to the same work.
  5. Adaptive routing stays inside deterministic routing. Exploration may choose among approved model combos, but it must not change the task's workflow without a recorded policy decision.
  6. One policy change per learning cycle. Observe, choose one correction, act, verify independently, record, and stop on no progress.
  7. Read models do not become authorities. Kanban, activity, and dashboards project state from authoritative records; they do not mutate task policy.
  8. No fabricated evidence. Missing credentials, missing artifacts, skipped verification, and unavailable runtimes are explicit terminal states.

Follow-up map

The implementation work is tracked under Beads epic brandonbennett-een:

.3  durable Wayfinder map                         ← this artifact
.1  canonical cross-layer route envelope
.2  normalized failure-edge/outcome taxonomy
.4  CE U-ID ↔ bd/runtime evidence join
.9  deterministic route → verifier resolution
.5  Entire findings → learning record
.6  post-bead compound learning loop
.7  solo-dev fast lane
.8  bounded SkillOpt experiment contract

The dependency order intentionally delays SkillOpt until the pipeline can separate skill quality from model, routing, runtime, verifier, and task-contract effects.

Built with LogoFlowershow