diff --git a/docs/batches/2026-10-04-state-hub-wp0094/OPERATOR.md b/docs/batches/2026-10-04-state-hub-wp0094/OPERATOR.md index f3496f0..057c567 100644 --- a/docs/batches/2026-10-04-state-hub-wp0094/OPERATOR.md +++ b/docs/batches/2026-10-04-state-hub-wp0094/OPERATOR.md @@ -11,7 +11,7 @@ human binds. Each memo is one question; approve-all is forbidden. | # | Memo | Question | Required acknowledgement | |---|---|---|---| | 1 | `state-hub-edge-receiving-rollout-c287ed8` | Deploy State Hub c287ed8 to railiance01? | `deploy-only` | -| 2 | `owner-return-pickup-plan-b2c6c56` | Approve owner-return pickup plan, definition, grant and one gated trial? | `preconditions-open` | +| 2 | `owner-return-pickup-plan-b6222af` | Approve owner-return pickup plan, definition, grant, worker operation and a gated single-repo trial? | `preconditions-open` | | 3 | `freshness-runner-deploy-trial-e77f8b4` | Deploy the freshness runner and run up to three `--limit 3` trials? | `no-schedule` | | 4 | `freshness-schedule-enable-retire-sweep` | Enable the freshness schedule and retire the legacy sweep? | `after-clean-trials` | diff --git a/docs/batches/2026-10-04-state-hub-wp0094/approval-create-intents.json b/docs/batches/2026-10-04-state-hub-wp0094/approval-create-intents.json index 734b200..a0d276c 100644 --- a/docs/batches/2026-10-04-state-hub-wp0094/approval-create-intents.json +++ b/docs/batches/2026-10-04-state-hub-wp0094/approval-create-intents.json @@ -25,15 +25,15 @@ } }, { - "memo_id": "owner-return-pickup-plan-b2c6c56", + "memo_id": "owner-return-pickup-plan-b6222af", "create_client": "informed-decision-sitting-requester", "binding": { "action": "accept", "actor": "informed-decision", "principal": "activity-core", - "purpose": "Plan approval plus one gated trial; the definition stays disabled and wakeups never clear waits.", + "purpose": "Plan approval plus a gated single-repo trial; the definition stays disabled and wakeups never clear waits.", "target": { - "id": "activity-core:source:b2c6c5613218dea9dbaef303aff22a8d1b07f074:owner-return-pickup", + "id": "activity-core:source:b6222af2cfd1094360a0d430e3907e8788a3acf9:owner-return-pickup", "type": "activity-plan", "system": "activity-core" } diff --git a/docs/batches/2026-10-04-state-hub-wp0094/provisioning/index.json b/docs/batches/2026-10-04-state-hub-wp0094/provisioning/index.json index fbd4561..8d72135 100644 --- a/docs/batches/2026-10-04-state-hub-wp0094/provisioning/index.json +++ b/docs/batches/2026-10-04-state-hub-wp0094/provisioning/index.json @@ -23,13 +23,13 @@ }, { "n": 2, - "memo_id": "owner-return-pickup-plan-b2c6c56", + "memo_id": "owner-return-pickup-plan-b6222af", "workplan": "ACTIVITY-WP-0043", "task": "ACTIVITY-WP-0043-T04", - "question": "Approve the owner-return pickup plan, definition and repository grant, and one single-repository trial once its preconditions are evidenced?", - "memo": "owner-return-pickup-plan-b2c6c56.memo.json", - "packet": "owner-return-pickup-plan-b2c6c56.packet.md", - "packet_hash": "sha256:1b5761484c3100627b4e3148c24d0d9e374d42b2aaa20a00fc54191ed801269e", + "question": "Approve the owner-return pickup plan, definition, grant and worker operation, and one single-repository trial (plan-only, then submit)?", + "memo": "owner-return-pickup-plan-b6222af.memo.json", + "packet": "owner-return-pickup-plan-b6222af.packet.md", + "packet_hash": "sha256:dacfb39b22a578d8c6ce3bdf7bd90a6ba8f1612a500b8336355ca5ec02816b9d", "required_highlight": "preconditions-open" }, { diff --git a/docs/batches/2026-10-04-state-hub-wp0094/provisioning/owner-return-pickup-plan-b2c6c56.packet.md b/docs/batches/2026-10-04-state-hub-wp0094/provisioning/owner-return-pickup-plan-b2c6c56.packet.md deleted file mode 100644 index 4cc274b..0000000 --- a/docs/batches/2026-10-04-state-hub-wp0094/provisioning/owner-return-pickup-plan-b2c6c56.packet.md +++ /dev/null @@ -1,37 +0,0 @@ -# Approve the owner-return pickup plan (STATE-WP-0094-T03, ACTIVITY-WP-0043) - -Approve, at activity-core b2c6c5613218dea9dbaef303aff22a8d1b07f074, the -owner-return pickup activation plan (docs/owner-return-pickup-activation-plan.md), -its ActivityDefinition owner-return-pickup (stays enabled: false), harness -profile harness.agent-dev-local@1.0.0, and the repository grant v1 (workplans -path only, exactly one commit, no publish). Also approve one operator-triggered -trial for a single repository, run only after preconditions 1 to 3 are evidenced. - -What this does when used: when an agent replied to a task that waits on it, -the owner is woken once through an Activity Core ops run. The wakeup ID is a -sha256 of repo, task and message, and the database unique key stops duplicates. -A wakeup never clears a wait, a task status, a human gate or any other field. -Tasks that still need a human, unresolved or unknown decisions, residual work, -nonterminal or unknown predecessors and future wait windows are stopped. - -Preconditions not yet met: -1. C-25 pagination deployed (memo 1). -2. The caller passes the scanned commit SHA to the eligibility builder - (C-25 does not yet report it). -3. The caller runs inside the existing supported runner. That wiring is not - built; no new schedule may be introduced for it. - -Trial: set ACTIVITY_CORE_OWNER_RETURN_PICKUP_ENABLED=true on that one process, -run once for one repository, save planner input/output and adapter receipts, -re-run the same input and show every insert becomes duplicate. Evidence goes to -activity-core docs/evidence/ACTIVITY-WP-0043-*.md. - -Rollback: unset the flag (the adapter refuses before any write); close open rows -through the normal ops-run close path, never delete them. - -Evidence so far: 20 adapter tests, 23 eligibility-builder tests; full -activity-core suite 734 passed, 1 skipped. No dispatch has happened. - -Alternatives: approve plan and trial; approve the plan only, no trial; return -for changes; decline. This answer does not enable the definition, add a -schedule, or resolve hub decision 7b19de6c-72a1-409e-89a9-ec3ac09c03fd. diff --git a/docs/batches/2026-10-04-state-hub-wp0094/provisioning/owner-return-pickup-plan-b2c6c56.memo.json b/docs/batches/2026-10-04-state-hub-wp0094/provisioning/owner-return-pickup-plan-b6222af.memo.json similarity index 55% rename from docs/batches/2026-10-04-state-hub-wp0094/provisioning/owner-return-pickup-plan-b2c6c56.memo.json rename to docs/batches/2026-10-04-state-hub-wp0094/provisioning/owner-return-pickup-plan-b6222af.memo.json index 3417be5..04c92a7 100644 --- a/docs/batches/2026-10-04-state-hub-wp0094/provisioning/owner-return-pickup-plan-b2c6c56.memo.json +++ b/docs/batches/2026-10-04-state-hub-wp0094/provisioning/owner-return-pickup-plan-b6222af.memo.json @@ -1,10 +1,10 @@ { - "id": "owner-return-pickup-plan-b2c6c56", + "id": "owner-return-pickup-plan-b6222af", "version": 1, - "question": "Approve the owner-return pickup plan, definition and repository grant, and one single-repository trial once its preconditions are evidenced?", + "question": "Approve the owner-return pickup plan, definition, grant and worker operation, and one single-repository trial (plan-only, then submit)?", "requested_act": "approve", "binding_level": "organizational", - "brief": "Plan approval plus one gated trial; the definition stays disabled and wakeups never clear waits.", + "brief": "Plan approval plus a gated single-repo trial; the definition stays disabled and wakeups never clear waits.", "binding": { "principal": { "id": "pending-human-session", @@ -14,7 +14,7 @@ "identifiers": [] }, "target": { - "id": "activity-core:source:b2c6c5613218dea9dbaef303aff22a8d1b07f074:owner-return-pickup", + "id": "activity-core:source:b6222af2cfd1094360a0d430e3907e8788a3acf9:owner-return-pickup", "kind": "activity-plan", "label": "Owner-return pickup", "environment": "production", @@ -26,21 +26,21 @@ "step_kind": "approve", "packet": [ { - "item_id": "owner-return-pickup-plan-b2c6c56-packet", + "item_id": "owner-return-pickup-plan-b6222af-packet", "label": "Change, evidence, rollback and limits", - "hash": "sha256:1b5761484c3100627b4e3148c24d0d9e374d42b2aaa20a00fc54191ed801269e" + "hash": "sha256:dacfb39b22a578d8c6ce3bdf7bd90a6ba8f1612a500b8336355ca5ec02816b9d" } ], "highlights": [ { "id": "preconditions-open", - "item_id": "owner-return-pickup-plan-b2c6c56-packet", + "item_id": "owner-return-pickup-plan-b6222af-packet", "locator": { "kind": "work_record", "workplan": "ACTIVITY-WP-0043", "task": "ACTIVITY-WP-0043-T04" }, - "note": "The runner wiring and scanned-commit handoff are not built yet; the trial may run only after preconditions 1 to 3 are evidenced.", + "note": "submit: true only after memo 1 is deployed and a plan-only run was reviewed; the C-25 report is operator-produced and only public repositories can be targeted.", "required_ack": true, "severity": "critical" } diff --git a/docs/batches/2026-10-04-state-hub-wp0094/provisioning/owner-return-pickup-plan-b6222af.packet.md b/docs/batches/2026-10-04-state-hub-wp0094/provisioning/owner-return-pickup-plan-b6222af.packet.md new file mode 100644 index 0000000..58a092d --- /dev/null +++ b/docs/batches/2026-10-04-state-hub-wp0094/provisioning/owner-return-pickup-plan-b6222af.packet.md @@ -0,0 +1,55 @@ +# Approve the owner-return pickup plan and a gated trial (STATE-WP-0094-T03, ACTIVITY-WP-0043) + +Approve, at activity-core b6222af2cfd1094360a0d430e3907e8788a3acf9, the +owner-return pickup activation plan (docs/owner-return-pickup-activation-plan.md), +its ActivityDefinition owner-return-pickup (stays enabled: false), harness +profile harness.agent-dev-local@1.0.0, repository grant v1 (workplans path only, +exactly one commit, no publish), and the worker operation owner_return_pickup. +Also approve one operator-triggered trial for a single public repository: first +with submit: false (plan only, no writes), then once with submit: true. + +What this does: when an agent replied to a task that waits on it, the owner is +woken once through an Activity Core ops run. The wakeup ID is a sha256 of repo, +task and message; the database unique key stops duplicates. A wakeup never +clears a wait, task status, human gate or any other field. Tasks needing a +human, unresolved or unknown decisions, residual work, nonterminal or unknown +predecessors and future wait windows are stopped. + +How a run is bound (built and tested at source level): +- The operator runs the State Hub checker (state-hub 150cb0b or later) for the + target repository on a clean tree and supplies its JSON, pinned by sha256. +- The report and every C-25 finding must carry the same full commit SHA; a null + revision refuses with its reason (for example dirty_workplans). +- Task state is read through Forge at exactly that commit, which must still be + the default-branch HEAD. Unknown predecessors and decisions stop the task. +- The State Hub planner runs as a drift-checked vendored copy; only reviewable + candidates are submitted, and only when ACTIVITY_CORE_OWNER_RETURN_PICKUP_ENABLED + is set. Evidence holds IDs and counts only, never message bodies. +- Triggered by POST /ops/automations/{id}/trigger with confirm_side_effect: true. + No schedule. + +Preconditions before submit: true: +1. State Hub with paginated C-25 is deployed (memo 1). +2. A read-only plan run (submit: false) has produced reviewed evidence. + +Gaps you accept with this answer: +- The C-25 report is produced by the operator on the workstation, not in the + cluster; no Forge-reading C-25 exists yet. +- Reply-collection completeness is inferred from the absence of the checker's + incomplete-collection warning; there is no structured per-agent page count. +- Forge reads are unauthenticated, so only public repositories can be targeted. + +Trial evidence: planner input and output, receipts, and a re-run of the same +input showing every insert becomes duplicate; stored as activity-core +docs/evidence/ACTIVITY-WP-0043-*.md with a hub progress event. + +Rollback: unset the flag (the operation refuses before any read); close open +rows through the normal ops-run close path, never delete them. + +Evidence so far: 27 runner tests, 91 focused tests, full activity-core suite +764 passed, 1 skipped; State Hub C-25 binding 214 tests passed. No dispatch has +happened. + +Alternatives: approve plan and both trial steps; approve plan and the plan-only +run; return for changes; decline. This answer does not enable the definition, +add a schedule, or resolve hub decision 7b19de6c-72a1-409e-89a9-ec3ac09c03fd. diff --git a/docs/batches/2026-10-04-state-hub-wp0094/sitting.json b/docs/batches/2026-10-04-state-hub-wp0094/sitting.json index 3932f09..7b35cb9 100644 --- a/docs/batches/2026-10-04-state-hub-wp0094/sitting.json +++ b/docs/batches/2026-10-04-state-hub-wp0094/sitting.json @@ -12,7 +12,7 @@ "memo_count": 4, "memo_ids": [ "state-hub-edge-receiving-rollout-c287ed8", - "owner-return-pickup-plan-b2c6c56", + "owner-return-pickup-plan-b6222af", "freshness-runner-deploy-trial-e77f8b4", "freshness-schedule-enable-retire-sweep" ],