observability: activity-ops-event-contract — the feed's ONE root — the ops-event type, its subject fence, and the deterministic merge #824
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
Matou/idss#824
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Feature spec: #796 — control-panel observability child spec: activity feed (P12) (DDR 0206).
Design ticket #763; slice-map fan-in #770; wayfinder map #7.
Slice
activity-ops-event-contractofdocs/slices/observability.yaml; covers spec #796 stories 45–48, 54–61 (contract half).What to build
A tiny domain module, not a service. It holds the ops-event shape (a time, a source, a subject
carrying kind + display name, the owner's own words, an outcome token, whether the owner classified
it as a problem, an optional operation-log handle and the owner's own drill-in intent), the source
enumeration, and the deterministic newest-first merge with a stable tie-break on
(source, subject, owner's own record id) — so two reads over unchanged records produce
byte-identical row order. A chronology that reshuffles on refresh is unreadable, and a
non-deterministic order makes every component test worthless.
THE FENCE LIVES IN THE TYPE. A subject carries a kind — machine, service, dataset, release,
community — and there is no person kind, so a source cannot express a person-subject event.
The composition drops (and reports in the control plane's own log) any event whose subject kind it
cannot honour. This is DDR 0172's fence made mechanical rather than editorial: sign-ins, invites,
approvals, suspensions, removals and above all removal reasons stay in the ADR 0027 cross-cutting
logs, off-screen. No event carries operator attribution at all.
Rejected: an
activityservice, a bus, a subscriber, an append-only log — every one of them isthe event store ADR 0097 and DDR 0206 refuse, and every one would let the feed and its owners
disagree. This module has no store, no I/O, and no clock of its own beyond the window bound.
The one test to write first is the fence test — the cheapest possible red, and every later
slice inherits it.
Acceptance criteria
activityservice is explicitly rejected.Blocked by
bootstrap:skeleton(#23 — done, satisfied)Task manifest
Emitted by
/to-ticketsoverdocs/slices/observability.yamlin an unattended session under ADR 0174 (two-way-door posture — Ben's veto is asynchronous, never blocking). Advances #797.swarm-claim host=elitebook-distributed-server-03 run=10071
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #824 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope