ACTIVITY-WP-0043: owner-return pickup adapter (STATE-WP-0094-T03 owner side)
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
Build and Publish Container Image / build-and-push (push) Successful in 1m28s

Disabled reviewed definition, pinned profile/grant, server-side unique
submission adapter with receipts, and opt-in activation plan. No schedule,
deployment or dispatch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 671493@bnt-lap001
Assistant-Session: 60d7b11f-78f9-4731-9367-918511b2762d
This commit is contained in:
tegwick 2026-10-04 12:42:43 +02:00
parent ab10835a0c
commit 5a9012453c
5 changed files with 541 additions and 0 deletions

View file

@ -0,0 +1,43 @@
---
id: owner-return-pickup
name: State Hub Owner-Return Pickup
enabled: false
owner: activity-core
governance: custodian
status: proposed
trigger:
type: scheduled
at: "2099-01-01T00:00:00Z"
timezone: UTC
---
# State Hub Owner-Return Pickup
Reviewed source definition for ACTIVITY-WP-0043 (owner side of State Hub
STATE-WP-0094-T03). **Not activated.** `enabled: false` prevents any Temporal
schedule; the far-future timestamp is only a valid definition shape. The rule
condition is `False`, so even a forced run emits nothing.
Owner-return ops runs are inserted only by the submission adapter
`activity_core.owner_return_pickup.submit_owner_returns`, from candidates
produced by State Hub's offline planner (`scripts/owner_return_handoff.py`).
The adapter refuses unless `ACTIVITY_CORE_OWNER_RETURN_PICKUP_ENABLED` is set by
a founder-reviewed activation (`docs/owner-return-pickup-activation-plan.md`).
Pinned identities (also asserted by `tests/test_owner_return_pickup.py`):
- Definition UUID: `uuid5(uuid5(NAMESPACE_URL, "activity-core:activity-definition"), "owner-return-pickup")`
- Harness profile: `harness.agent-dev-local@1.0.0`
- Repository grant v1: `allowed_paths: [workplans]`, `commit_count 1..1`, `publish: false`
- Idempotency key: `<definition-uuid>:<repo>/<task_record_id>:owner-return:<sha256([repo,task,message])>`
```rule
id: owner-return-pickup-placeholder
condition: "False"
action:
task_template: Review owner return (adapter-only; never rule-emitted)
description: Owner-return work is inserted by the submission adapter, not by this rule.
priority: low
labels: ["automated", "owner-return"]
harness_profile_ref: harness.agent-dev-local@1.0.0
```