• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dangernoodle-io / ouroboros / 29000103884
92%

Build:
DEFAULT BRANCH: main
Ran 09 Jul 2026 07:03AM UTC
Jobs 1
Files 45
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Jul 2026 06:57AM UTC coverage: 85.393% (+0.2%) from 85.217%
29000103884

push

github

web-flow
fix(kb): update by id to prevent retitle duplicates (#94)

The kb MCP write tool upserted by type+project+category+title, so
retitling a document created a new row under the new key and left the
original as a stale duplicate. entries[] now accepts an optional id:
when present, it addresses an existing document for an in-place
partial update (only provided fields change, so a title-only update
leaves content/notes/tags/metadata untouched); when absent, behavior
is unchanged (upsert by natural key). A single kb tool call is atomic
across creates AND updates — one transaction, one FTS rebuild — so a
mixed batch with a failing update rolls back any creates in the same
call rather than leaving them persisted under a "failed" result. The
id key must resolve to a positive integer (JSON number or numeric
string) when present; a present-but-unparseable id is a hard error,
never a silent misroute to create.

- store: UpdateDocumentFields/UpdateDocumentTx/UpdateDocument
- kb: EntryUpdate, ValidateEntryUpdate, WriteAndUpdateBatch (single-tx
  composition of the create and update paths; WriteBatch/UpdateBatch
  kept as their own single-purpose atomic entrypoints for the CLI)
- app: handleKB routes entries[] by id presence (parseKBEntryID) into
  one atomic kb.WriteAndUpdateBatch call; kb tool schema/description
  and server instructions updated; goldens regenerated
- docs: CLAUDE.md kb tool row; wiki Knowledge-Base.md (local commit)

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>

4285 of 5018 relevant lines covered (85.39%)

1.0 hits per line

Coverage Regressions

Lines Coverage ∆ File
64
84.56
-0.13% store/crud.go
34
80.0
1.21% kb/batch.go
12
94.69
2.43% app/handlers_kb.go
Jobs
ID Job ID Ran Files Coverage
1 29000103884.1 09 Jul 2026 07:03AM UTC 45
85.39
GitHub Action Run
Source Files on build 29000103884
  • Tree
  • List 45
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29000103884
  • f846ce5a on github
  • Prev Build on main (#28997605773)
  • Next Build on main (#29003970783)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc