Commit Graph

1860 Commits

Author SHA1 Message Date
12be7d5b0d chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-22:
  - update .custodian-brief.md for the-custodian
2026-05-22 12:12:54 +02:00
a28deec772 Record daily triage schema canary blocker 2026-05-21 03:19:27 +02:00
ed6a13c8d7 Use llm-connect profile for daily triage 2026-05-19 20:56:07 +02:00
d6640f297b chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-19:
  - update .custodian-brief.md for the-custodian
2026-05-19 20:53:31 +02:00
2e50588837 Record daily triage activity-core canary blocker 2026-05-19 20:14:19 +02:00
61afb44bfa chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-19:
  - update .custodian-brief.md for the-custodian
2026-05-19 20:11:42 +02:00
bdf21d895a chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-19:
  - update .custodian-brief.md for the-custodian
2026-05-19 20:08:42 +02:00
5bac8bd6a5 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-19:
  - update .custodian-brief.md for the-custodian
2026-05-19 19:10:43 +02:00
350c11c4f9 Make daily triage ActivityDefinition executable 2026-05-19 19:09:42 +02:00
a27e51b83a chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-19:
  - update .custodian-brief.md for the-custodian
2026-05-19 18:38:16 +02:00
925fee3f90 Record CUST-WP-0045 report sinks 2026-05-19 18:37:18 +02:00
a6d83893f3 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-19:
  - update .custodian-brief.md for the-custodian
2026-05-19 18:30:20 +02:00
92146099bc Record CUST-WP-0045 instruction execution 2026-05-19 18:29:02 +02:00
a902204366 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-19:
  - update .custodian-brief.md for the-custodian
2026-05-19 16:00:55 +02:00
4992d40a8b Record CUST-WP-0045 implementation start 2026-05-19 15:59:32 +02:00
842198c1d8 Register CUST-WP-0045 with State Hub 2026-05-19 15:52:29 +02:00
375c06fd4d chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-19:
  - update .custodian-brief.md for the-custodian
2026-05-19 15:51:17 +02:00
44be583cdd Add activity-core daily triage runner workplan 2026-05-19 15:49:47 +02:00
9ff8887480 Refresh agent instruction files 2026-05-18 16:55:54 +02:00
5d478cf746 Remove migrated State Hub workplans 2026-05-18 01:33:25 +02:00
be9ccf1074 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-17:
  - update .custodian-brief.md for the-custodian
2026-05-17 23:28:56 +02:00
45d296b236 Implement daily State Hub WSJF triage 2026-05-17 23:10:57 +02:00
c0a3fb6543 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-17:
  - update .custodian-brief.md for the-custodian
2026-05-17 23:01:27 +02:00
a8cfa735f3 Add daily State Hub WSJF triage workplan 2026-05-17 22:39:06 +02:00
ac58c50b4f chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-17:
  - update .custodian-brief.md for the-custodian
2026-05-17 22:31:02 +02:00
266b22da86 docs: close state hub extraction 2026-05-17 21:36:40 +02:00
404ad23c7c chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-17:
  - update .custodian-brief.md for the-custodian
2026-05-17 21:35:51 +02:00
dae787e89b chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-17:
  - update .custodian-brief.md for the-custodian
2026-05-17 20:30:41 +02:00
0f4eb756f3 docs(state-hub): close extraction handoff 2026-05-17 20:28:34 +02:00
d9ac2fa24f chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-17:
  - update .custodian-brief.md for the-custodian
2026-05-17 20:23:37 +02:00
0375e57626 chore(state-hub): decouple embedded service tree 2026-05-17 20:16:30 +02:00
260b6e8ebd chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-17:
  - update .custodian-brief.md for the-custodian
2026-05-17 20:03:09 +02:00
b94840b608 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-17:
  - CUST-WP-0043-T07: todo → in_progress
2026-05-17 20:03:04 +02:00
80299450da chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-17:
  - update .custodian-brief.md for the-custodian
2026-05-17 19:26:52 +02:00
f7a5aa46c5 docs(state-hub): record extraction progress 2026-05-17 19:19:26 +02:00
7812d9a053 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-17:
  - update .custodian-brief.md for the-custodian
2026-05-17 19:18:07 +02:00
a5c44d7bc9 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-17:
  - update .custodian-brief.md for the-custodian
2026-05-17 19:15:40 +02:00
9df48a7b4c chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-17:
  - update .custodian-brief.md for the-custodian
2026-05-17 19:11:58 +02:00
1e90685368 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-17:
  - update .custodian-brief.md for the-custodian
2026-05-17 18:52:12 +02:00
c01bc242e1 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-17:
  - CUST-WP-0043-T01: todo → in_progress
2026-05-17 18:52:05 +02:00
ab77698702 docs(state-hub): plan repo extraction 2026-05-17 18:48:31 +02:00
4121fc11dc chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-17:
  - update .custodian-brief.md for the-custodian
2026-05-17 18:36:41 +02:00
793c91bc95 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-17:
  - update .custodian-brief.md for the-custodian
2026-05-17 18:35:24 +02:00
45b1220e2f chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-17:
  - update .custodian-brief.md for the-custodian
2026-05-17 18:16:57 +02:00
ca8a09ed04 feat(state-hub): CUST-WP-0040 — NATS lifecycle event publishing for activity-core
Makes the state hub an event publisher so activity-core can drive
maintenance automation declaratively via ActivityDefinitions, rather
than the hub creating tasks itself.

- api/events/: lazy JetStream publisher + EventEnvelope mirroring
  activity-core's contract; no-op when NATS_URL unset, fire-and-forget
  with logged failures so publishing never breaks an API request.
- Wired publishers on the five v1.0 lifecycle events:
    org.statehub.repo.registered        (POST /repos/)
    org.statehub.workstream.completed   (PATCH /workstreams/* on transition)
    org.statehub.decision.resolved      (POST /decisions/*/resolve)
    org.statehub.domain.goal.activated  (POST /domain-goals/*/activate)
    org.statehub.task.stale             (scripts/cleanup_stale_tasks.py)
- docs/nats-event-subjects.md: subject naming convention + catalog.
- docs/cron-migration.md: design stub for replacing custodian-sync
  systemd timer and cleanup-stale cron with ActivityDefinitions
  (depends on activity-core WP-0003).
- docs/activity-core-delegation.md: protocol, invariants, cutover plan.
- SCOPE.md: declares activity-core as downstream event consumer and
  restates that the state hub stays a read model, not a task factory.

Workplan: workplans/CUST-WP-0040-state-hub-nats-activity-core-integration.md
242 tests pass.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-17 05:49:29 +02:00
2bc7fd8ce7 chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-17:
  - update .custodian-brief.md for the-custodian
2026-05-17 05:46:48 +02:00
3f098f1c0d chore(consistency): sync task status from DB [auto]
Updated by fix-consistency on 2026-05-17:
  - update .custodian-brief.md for the-custodian
2026-05-17 05:44:22 +02:00
a8ecdbfb4c Fix State Hub task links for NATS workplan 2026-05-15 15:09:13 +02:00
66db2da9d5 Update State Hub image build provenance 2026-05-15 15:02:30 +02:00
0eb2ef0650 perf(api): CUST-WP-0041 — DB indexes, TTL caches, noload on list endpoints
- Migration t7o8p9q0r1s2: indexes on tasks.status, tasks(workstream_id,status),
  workstreams.status, sbom_snapshots(repo_id,snapshot_at)
- workplan-index: 30 s TTL cache + ?refresh param (4171 ms → 16 ms on hit)
- /state/summary: 15 s TTL cache, bypassed on Cache-Control: no-cache
- /topics/: noload(workstreams, decisions, progress_events) (2382 ms → 115 ms)
- /domains/: noload(topics, repos, goals) (2252 ms → 39 ms)
- /repos/: noload(goals) (2222 ms → 599 ms first / fast on repeat)
- conftest: reset TTL caches between tests to prevent bleed-through

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-15 11:12:17 +02:00