Skip to content

Phase 8: Implement outcome linker (decision → metrics/incidents) #63

Description

@cursor

Background

Outcome node schema exists (V004__outcome_nodes.cypher). Trust scoring is designed to update from outcome validation. No outcome linker service yet.

Problem Statement

Decisions are stored without linking to what happened afterward, so memory cannot self-correct from real results.

Proposed Solution

  • Implement outcome linker: connect Decision nodes to Outcome nodes (incidents, metrics, deploy results)
  • Update trust scores when outcomes corroborate or refute a decision
  • Seed at least one outcome-linked decision in the demo catalog
  • Expose linkage in Explore/Review (or API) enough to demo

Acceptance Criteria

  • Outcome linker writes Outcome nodes + edges from Decision
  • Trust update path documented and tested
  • At least one demo decision shows an outcome link
  • Unit/integration tests cover link + trust update

Files / Modules Affected

intelligence/ (new outcome linker), graph/, scoring/trust_scorer.py, scripts/demo_catalog.py, API/query as needed

Phase: 8 — Outcome tracking + coverage scoring

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions