Skip to content

B03: Error assistant-message and E2E integration - #10

Closed
myk1yt wants to merge 6 commits into
mainfrom
pr/b03-error-integration
Closed

myk1yt wants to merge 6 commits into
mainfrom
pr/b03-error-integration

Conversation

@myk1yt

@myk1yt myk1yt commented Jul 28, 2026

Copy link
Copy Markdown
Owner

WHY

Wire structured error presentation into assistant messages with WHAT/WHY/NEXT format, retryable/disposition metadata, and MODULE/function/NNN traceability codes.

Scope

  • src/core/assistant-message/presentAssistantMessage.ts — structured error formatting in handleError callbacks

Dependencies

B01 (pr/b01-error-contracts) and B02 (pr/b02-error-runtime)

Non-goals

  • Error types, patterns, classifier (B01)
  • Transformer, validator, state, interceptor (B02)
  • No shell, task-org, stats, MiMo, or provider changes

Verification

  • pnpm lint — PASS
  • pnpm check-types — PASS
  • pnpm knip — PASS

Shared-file note

  • presentAssistantMessage.ts will be extended by B12 (MiMo retention/quarantine policy)

Exclusion attestation

No reports, helpers, stale reversions, or operational noise.

const category = details.pattern ? details.pattern.split("/")[1] ?? "unknown" : "unknown"
const type = details.pattern
? details.pattern.startsWith("EI/")
? details.pattern.replace("EI/", "guided_").toLowerCase().replace(/_/g, "_")
const type = details.pattern
? details.pattern.startsWith("EI/")
? details.pattern.replace("EI/", "guided_").toLowerCase().replace(/_/g, "_")
: details.pattern.toLowerCase().replace(/_/g, "_")
@myk1yt myk1yt closed this Jul 29, 2026
@myk1yt
myk1yt deleted the pr/b03-error-integration branch August 7, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants