LearnNewsExamplesServices
Frontmatter
id13983
titleRestore Golden Path handoff forecast contract
stateClosed
labels
bugairegressionarchitecturemodel-experience
assigneesneo-gpt
createdAtJun 25, 2026, 3:33 AM
updatedAtJun 25, 2026, 4:25 PM
githubUrlhttps://github.com/neomjs/neo/issues/13983
authorneo-gpt
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtJun 25, 2026, 4:25 PM

Restore Golden Path handoff forecast contract

Closed v13.1.0/archive-v13-1-0-chunk-6 bugairegressionarchitecturemodel-experience
neo-gpt
neo-gpt commented on Jun 25, 2026, 3:33 AM

Context

resources/content/sandman_handoff.md is a generated Dream Pipeline / Golden Path artifact. The fix is generation code and orchestration contract, never manual markdown maintenance.

This ticket is intentionally scoped to the Golden Path forecast / strategic handoff contract only. REM parser over-cap behavior and stale PR-cycle snapshots are separate tickets.

The Problem

The generated handoff currently lacks the documented strategic summary layer and does not prove whether its Golden Path forecast is current, degraded, or stale. learn/agentos/DreamPipeline.md documents the Strategic Interpretation brief as part of the handoff output, but the checked generated artifact can contain a Computed Golden Path list without that summary/provenance layer.

When this happens, agents inherit a stale-looking forecast without enough generated context to judge whether the route is current, partial, or degraded.

The Architectural Reality

  • learn/agentos/DreamPipeline.md documents sandman_handoff.md as the Golden Path output and includes Strategic Interpretation as the explanation layer for computed route selection.
  • ai/services/graph/GoldenPathSynthesizer.mjs owns the centralized handoff render/write pass.
  • The orchestrator has a dedicated golden-path task that calls GoldenPathSynthesizer.synthesizeGoldenPath(...).
  • The generated handoff must make forecast provenance visible. A successful task-state record is not enough if the artifact itself can look current while carrying stale or incomplete route context.

The Fix

  • Make Golden Path handoff generation self-describing: generated timestamp, route source/provenance, freshness/degraded status, and summary status.
  • Ensure Strategic Interpretation is always present as either the model-generated brief or a compact deterministic fallback / explicit degraded reason.
  • Update DreamPipeline.md to match the current source-owned contract instead of the old monolithic REM pipeline wording where needed.

Contract Ledger

Target Surface Source of Authority Proposed Behavior Fallback / Edge Case Docs Evidence
resources/content/sandman_handoff.md Golden Path forecast DreamPipeline.md; GoldenPathSynthesizer Render route provenance, generated timestamp, freshness/degraded status, Computed Golden Path, and Strategic Interpretation. If model brief fails or graph route is unavailable, render deterministic/degraded explanation instead of omitting the section. Yes Renderer unit tests for success and degraded paths.
GoldenPathSynthesizer.synthesizeGoldenPath() current source Owns full Golden Path forecast rendering and returns enough outcome metadata for task state. Failure records a typed reason; artifact does not silently preserve old forecast as current. JSDoc if contract changes Focused synthesizer test.
learn/agentos/DreamPipeline.md current source + this ticket Describes the split between REM digestion and Golden Path forecast generation accurately. If manual paths remain documented, their relationship to the forecast writer is explicit. This doc Doc diff reviewed against source anchors.

Acceptance Criteria

  • Generated handoff contains a generated-at timestamp and Golden Path route provenance.
  • Generated handoff contains Strategic Interpretation on success.
  • If the model brief fails or returns invalid output, generated handoff contains a compact deterministic fallback or explicit degraded reason.
  • If Golden Path route synthesis fails, generated handoff fails loud instead of presenting an old route as current.
  • Focused tests cover success and degraded/failure rendering.
  • learn/agentos/DreamPipeline.md is updated to describe the current code-owned contract.

Out of Scope

  • REM parsing over-cap / runaway model-call behavior.
  • Active PR Cycle State freshness.
  • Manually editing the generated markdown artifact as a fix.

Related

  • #13956 / PR #13957 — previous handoff bloat and Strategic Interpretation fallback work.
  • #13962 / PR #13963 — zero-candidate stale-author-section fallthrough.
  • #13750 — historical Golden Path freeze root.

Release classification: boardless urgent Agent OS hardening; this is reliability substrate, not deployment-doc scope. Retrieval Hint: GoldenPathSynthesizer Strategic Interpretation sandman_handoff route provenance degraded forecast

tobiu
tobiu Jun 25, 2026, 3:45 AM

"or a compact deterministic fallback" => REJECTED

  • 2026-06-25T02:26:13Z @neo-gpt cross-referenced by PR #13988
  • 2026-06-25T08:59:50Z @neo-gpt referenced in commit 757df82 - "fix(ai): degrade Golden Path interpretation explicitly (#13983)"
  • 2026-06-25T09:09:41Z @neo-gpt referenced in commit bfdf928 - "fix(ai): degrade Golden Path interpretation explicitly (#13983)"
  • 2026-06-25T09:50:54Z @neo-gpt referenced in commit 0d41023 - "fix(ai): degrade Golden Path interpretation explicitly (#13983)"
  • 2026-06-25T10:06:35Z @neo-gpt cross-referenced by #13997
  • 2026-06-25T13:14:47Z @neo-gpt cross-referenced by #14005
  • 2026-06-25T14:10:20Z @neo-gpt referenced in commit 092c55c - "test(ai): cover Golden Path happy path format (#13983)"
tobiu referenced in commit 55b0f5d - "fix(ai): degrade Golden Path interpretation explicitly (#13983) (#13988) on Jun 25, 2026, 4:25 PM
tobiu closed this issue on Jun 25, 2026, 4:25 PM