Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Pipeline Design 189

ezigus edited this page Mar 18, 2026 · 2 revisions

The ADR has been written above. Here's the summary:

Architecture Decision: New scripts/lib/context-error.sh library

The design creates a bridge module between three existing silos — error output (pipeline-state.sh, daemon-failure.sh, loop-iteration.sh), memory search (sw-memory.sh), and error categorization (error-actionability.sh) — that currently operate independently.

Key decisions:

  • 6 functions in a single new library with inward-only dependencies
  • Optional integration via type guards — callers degrade gracefully if the module isn't sourced
  • 5-second timeout on memory queries to prevent pipeline blocking
  • Additive only — existing error output is never replaced, only augmented
  • Feedback loop via suggestions.jsonl tracks which suggestions lead to successful resolution

2 new files, 4 modified files, 10 test cases, 3 new event types.

The ADR is ready to be saved as the design artifact. Would you like me to proceed with saving it to .claude/pipeline-artifacts/design.md?

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /