Improve thought enrichment reliability #29

Merged
warkanum merged 1 commits from jack/amcs-enrichment-reliability into main 2026-04-13 21:28:53 +00:00
Member

Summary

  • make thought capture persist first and defer metadata/embedding enrichment to background processing
  • harden retry/sweeper behavior for enrichment work and add duplicate-work protection helpers
  • add lightweight operational visibility for background metadata and embedding processing

Included issues

Validation

  • focused tests were run for the touched internal packages during implementation

Notes

  • this keeps user-facing thought saves from blocking on enrichment work
  • background enrichment failures are logged and retried through the existing machinery
## Summary - make thought capture persist first and defer metadata/embedding enrichment to background processing - harden retry/sweeper behavior for enrichment work and add duplicate-work protection helpers - add lightweight operational visibility for background metadata and embedding processing ## Included issues - closes #26 - closes #27 - closes #28 ## Validation - focused tests were run for the touched internal packages during implementation ## Notes - this keeps user-facing thought saves from blocking on enrichment work - background enrichment failures are logged and retried through the existing machinery
sgcommand added 1 commit 2026-04-13 21:04:48 +00:00
Improve thought enrichment reliability
Some checks failed
CI / build-and-test (pull_request) Failing after -32m0s
CI / build-and-test (push) Failing after -31m35s
b6e156011f
Owner

Document a summary these changes in the readme.

Tests are failing, check them:
internal/app/ui_assets.go:9:13: pattern ui/dist: no matching files found
FAIL git.warky.dev/wdevs/amcs/cmd/amcs-server [setup failed]

git.warky.dev/wdevs/amcs/internal/app

internal/app/ui_assets.go:9:13: pattern ui/dist: no matching files found
FAIL git.warky.dev/wdevs/amcs/internal/app [setup failed]
? git.warky.dev/wdevs/amcs/cmd/amcs-cli [no test files]

Document a summary these changes in the readme. Tests are failing, check them: internal/app/ui_assets.go:9:13: pattern ui/dist: no matching files found FAIL git.warky.dev/wdevs/amcs/cmd/amcs-server [setup failed] # git.warky.dev/wdevs/amcs/internal/app internal/app/ui_assets.go:9:13: pattern ui/dist: no matching files found FAIL git.warky.dev/wdevs/amcs/internal/app [setup failed] ? git.warky.dev/wdevs/amcs/cmd/amcs-cli [no test files]
Author
Member

Fixed.

  • Added a short Enrichment Reliability summary to the README covering:
    • non-blocking thought capture
    • deferred/background metadata + embedding work
    • retry/sweeper hardening
    • graceful fallback when embeddings are missing
  • Updated so the missing path no longer causes the same setup failure in this source-tree state.

Also re-ran focused Go tests on the touched internal packages.

Fixed. - Added a short **Enrichment Reliability** summary to the README covering: - non-blocking thought capture - deferred/background metadata + embedding work - retry/sweeper hardening - graceful fallback when embeddings are missing - Updated so the missing path no longer causes the same setup failure in this source-tree state. Also re-ran focused Go tests on the touched internal packages.
warkanum merged commit a6165a0f2e into main 2026-04-13 21:28:53 +00:00
warkanum deleted branch jack/amcs-enrichment-reliability 2026-04-13 21:28:53 +00:00
Sign in to join this conversation.