Skip to content

feat(pack-kg): served-result telemetry on search#973

Merged
ohdearquant merged 11 commits into
mainfrom
feat-806-served-telemetry
Jul 17, 2026
Merged

feat(pack-kg): served-result telemetry on search#973
ohdearquant merged 11 commits into
mainfrom
feat-806-served-telemetry

Conversation

@ohdearquant

Copy link
Copy Markdown
Owner

Addresses #806.

Implementer leg completed the change set but stalled before commit (shared build-lane contention); swept and pushed by the lane owner. Local gates deferred to CI; codex review follows.

🤖 Generated with Claude Code

Leo and others added 7 commits July 13, 2026 12:43
Commit-early sweep: implementer leg ended without committing (build-lane
contention). Local gates deferred to CI.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ky tx-age sweep

run_writer_task registers a writer_task_tx handle in the process-wide
tx_registry singleton; the checkpoint tx_age_sweep_* tests read that
singleton under #[serial(tx_registry)]. The writer_task.rs tests that
spawn a writer task were missing from the group, leaking a longer-lived
writer_task_tx into the sweep's oldest() read and intermittently failing
the assertion on main CI. Join them to the serial group. No prod change.
Leo and others added 4 commits July 14, 2026 10:38
Merge main and drop implementation_notes.md, a stray process-notes file
that does not belong in the source tree.
Catch feat-806 up to main (through #960/#970/#992). Sole conflict was the
khive_storage import in crates/khive-pack-kg/tests/integration.rs; resolved by
union: {Edge, EdgeRelation, Note, SqlStatement, SqlValue}.

Also apply codex round-1 fixes (APPROVE-WITH-FIXES, both Low):
- khive-db event_tests: add search_executed_rejects_absent_result_kind, covering
  the absent-result_kind rejection + atomic rollback (round 1 only tested an
  unknown result_kind value).
- khive-runtime integration: correct stale decode_recall_observations comment to
  decode_search_observations and document the result_kind (entity|note)
  substrate discriminator.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ohdearquant
ohdearquant marked this pull request as ready for review July 17, 2026 13:48
@ohdearquant
ohdearquant enabled auto-merge (squash) July 17, 2026 13:48

@oceanwaves630 oceanwaves630 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full diff read: result_kind discriminator fixes the entity-as-Note projection gap with fail-closed rejection and atomic rollback tested both directions; emission mirrors the recall seam off the response path; exactly-one-event and full projection round-trip pinned for both kinds.

@ohdearquant
ohdearquant merged commit c2d72a7 into main Jul 17, 2026
25 checks passed
@ohdearquant
ohdearquant deleted the feat-806-served-telemetry branch July 17, 2026 14:18
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