activity-core/src/activity_core
tegwick d563d516f5
All checks were successful
CI Smoke / host-smoke (push) Successful in 1s
CI Smoke / container-smoke (push) Successful in 3s
Build and Publish Container Image / build-and-push (push) Successful in 1m4s
Add pending_decisions state-hub query + monthly secrets-elevation review
New context_resolvers/state_hub.py query type: pending_decisions, a thin
GET /decisions/ passthrough (topic_id/workstream_id/workplan_id/decision_type
passed through, status defaults to open). Generic -- not special-cased to
any one decision.

New activity-definitions/monthly-secrets-elevation-review.md: fires 08:00
Berlin on the 1st of each month, sweeps open State Hub decisions under the
infotech/reuse-surface topic, and opens a review task for each. First
target: the temporary autoMode.allow/permissions.allow elevation added to
~/.claude/settings.json on 2026-07-07 (decision 11bf5cbf-458d-4275-a870-
77a82b4058b9, deadline 2026-07-31) for ops-warden/kubectl/OpenBao secret
reads.

Requested by Bernd: no existing scheduling mechanism (session-only cron,
cloud routines with no local access) can durably re-check a local security
posture a month out -- this closes that gap using activity-core's own
durable Temporal-backed trigger instead.

Verified: definition_parser.parse_file + scan_and_parse load it cleanly
alongside the two existing definitions; new resolver tests pass (20/20 in
that file); pending_decisions confirmed against the live local State Hub.
Full suite: 241 passed, 2 pre-existing unrelated failures (confirmed via
git stash -- present before this change too).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-07 15:26:00 +02:00
..
context_resolvers Add pending_decisions state-hub query + monthly secrets-elevation review 2026-07-07 15:26:00 +02:00
rules feat: Phase 5 stabilization schedules and custodian path URIs 2026-07-07 00:48:36 +02:00
__init__.py Add project scaffold: contracts, schemas, docker-compose, workplans 2026-03-04 22:45:40 +01:00
activities.py feat: Phase 5 stabilization schedules and custodian path URIs 2026-07-07 00:48:36 +02:00
api.py Add admin sync hot reload path 2026-06-19 01:54:13 +02:00
automation_status.py feat(T06): hostPath working-memory sync and repo-relative sink paths 2026-07-07 01:00:49 +02:00
db.py feat(db): init Alembic (async) + SQLAlchemy declarative base — T08 2026-03-26 21:45:40 +00:00
definition_parser.py feat(WP-0003b): parser, workflow wiring, triggers, webhooks 2026-05-14 23:02:33 +02:00
event_router.py feat(WP-0004): railiance deployment & service ops 2026-05-15 00:04:39 +02:00
event_type_registry.py Deploy activity-core on railiance01 2026-05-22 13:49:46 +02:00
issue_sink.py fix(issue-sink): stringify triggering_event_id before JSON encode 2026-06-19 00:15:03 +02:00
llm_client.py Add automation status surface 2026-07-01 20:12:04 +02:00
models.py feat(ACTIVITY-WP-0014): explicit run-miss recovery policies (T02, T04) 2026-06-23 14:15:45 +02:00
ops_evidence_sinks.py feat: Phase 5 stabilization schedules and custodian path URIs 2026-07-07 00:48:36 +02:00
orm.py feat(WP-0003b): parser, workflow wiring, triggers, webhooks 2026-05-14 23:02:33 +02:00
report_sinks.py feat(T06): hostPath working-memory sync and repo-relative sink paths 2026-07-07 01:00:49 +02:00
runtime_paths.py feat(T06): hostPath working-memory sync and repo-relative sink paths 2026-07-07 01:00:49 +02:00
schedule_health.py feat(ACTIVITY-WP-0014): idempotency-keyed State Hub writes (T05, in-repo part) 2026-06-23 21:38:46 +02:00
schedule_manager.py feat(ACTIVITY-WP-0014): explicit run-miss recovery policies (T02, T04) 2026-06-23 14:15:45 +02:00
seed.py feat(db): add dev seed script for ActivityDefinition — T12 2026-03-26 21:53:59 +00:00
state_hub_write.py feat(ACTIVITY-WP-0014): idempotency-keyed State Hub writes (T05, in-repo part) 2026-06-23 21:38:46 +02:00
sync_activity_definitions.py Fix ActivityDefinition sync for daily triage canary 2026-05-19 20:13:23 +02:00
sync_schedules.py Add admin sync hot reload path 2026-06-19 01:54:13 +02:00
sync_service.py Add admin sync hot reload path 2026-06-19 01:54:13 +02:00
template_engine.py feat(activities): resolve_context stub + evaluate_templates — T15/T16 2026-03-26 22:06:09 +00:00
webhook_receiver.py feat(WP-0003b): parser, workflow wiring, triggers, webhooks 2026-05-14 23:02:33 +02:00
worker.py Add admin sync hot reload path 2026-06-19 01:54:13 +02:00
workflows.py Align activity-core scope boundaries 2026-06-18 15:11:48 +02:00