wastebin-mcp-go/docs/adr
Repository files (latest commit first)
Filename Latest commit message Latest commit date
opencode-agent[bot] 124b5628f5
fix: typed error model with data and legacy sentinel compatibility (#240)
* Typed error refactor done; verify passes.

Co-authored-by: xlionjuan <[email protected]>

* All 6 items done; verify passes.

Co-authored-by: xlionjuan <[email protected]>

* Review: narrow error-model claims, fix Unwrap coverage, docs sync

* All findings fixed; verify passes, tests added, docs synced.

Co-authored-by: xlionjuan <[email protected]>

* Both changes done; verify + diff check pass.

Co-authored-by: xlionjuan <[email protected]>

* Docs contract fixed; verify passes clean.

Co-authored-by: xlionjuan <[email protected]>

* All 3 findings fixed; verify passes, fixture shrunk 44→26.

Co-authored-by: xlionjuan <[email protected]>

* docs contract: cover parseErrorDocRows guardrails and fix fixture scope claim

Add TestParseErrorDocRows_Behavior, table-driven tests proving that a
same-named row outside the handler-error section is ignored, a duplicate
inside the section fails closed with errDocDuplicateRow, and extraction
stops at the next heading.

Correct the fixture scope description in errorDocCases and
TestDocsMCPTools_ErrorRows: some cases deliberately duplicate rows already
pinned verbatim by exact-output unit tests to exercise placeholder
normalization, rather than claiming those rows are not duplicated.

---------

Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: xlionjuan <[email protected]>
2026-08-04 00:39:12 +08:00
..
001-use-go-sdk.md fix(deps): update module github.com/modelcontextprotocol/go-sdk to v1.7.0 (#233) 2026-08-02 22:13:37 +08:00
002-path-validation.md fix: typed error model with data and legacy sentinel compatibility (#240) 2026-08-04 00:39:12 +08:00
003-error-verbosity.md docs: fix ADR numbering collision (002→003) and complete MCP_TOOLS.md error table (fixes #117, #118) 2026-07-01 04:02:29 +08:00
0004-file-read-allowlist-optional.md docs: document decision to keep file-read allowlist optional 2026-07-02 22:04:33 +08:00
005-error-model.md fix: typed error model with data and legacy sentinel compatibility (#240) 2026-08-04 00:39:12 +08:00