Repository navigation
skills: wait for activation completion notification (CXF-353) - #23
Conversation
Co-authored-by: c1-squire-dev[bot] <c1-squire-dev[bot]@users.noreply.github.com>
Superseded — see the current review report for commit
|
| 6. HARD STOP at the human boundary: present `activation_url` to a human | ||
| tenant OWNER and stop. Never redeem the approval token, never attempt | ||
| activation yourself. S11b/S11c are `skipped_human_boundary`. | ||
| activation yourself. S11b/S11c are `skipped_human_boundary`. After | ||
| minting, wait for the activation completion notification if your host | ||
| provides one; do not poll while waiting. The notification is not a call: | ||
| it replaces the readback rather than adding one. |
There was a problem hiding this comment.
🟡 Suggestion (medium confidence): Step 6 now says to wait for the activation notification after minting, but it doesn't say the S11 handoff write has to happen before that wait. An agent could hold the handoff until the human activates, which can take up to the 4h token TTL. The section below also says post-activation work is "NEVER performed in the funnel run". Consider saying explicitly: write the handoff first, then wait, and handle the notification-driven record of ACTIVE + epoch outside the funnel run.
| - Verification: a host with activation completion notification delivers the | ||
| target revision's `REVISION_STATUS_ACTIVE` status and `activation_epoch`; | ||
| record them and do not poll. If your session resumes with an outstanding | ||
| activation and no notification, check | ||
| `c1_connector_authoring_list_revision_summaries` once before re-minting. | ||
| Direct API callers without host wakeup poll | ||
| `c1_connector_authoring_list_revision_summaries` every 5-10s, up to ~10 | ||
| polls, until the target revision's status is `REVISION_STATUS_ACTIVE`; | ||
| record its `activation_epoch`. GATE: ACTIVE. STOP if not ACTIVE - if | ||
| approval reports `evidence is unsatisfied`, return to the test step and | ||
| confirm a PASS row binds this revision before minting a fresh approval URL. | ||
| If no ACTIVE row after ~10 polls, STOP and report. |
There was a problem hiding this comment.
🟡 Suggestion (high confidence): The new notification/resume/bounded-poll guidance only went into deploy-and-activate. skills/update-and-rollback/SKILL.md:27-33 covers the same human-activation wait and still says to poll unconditionally with backoff. So on a host with wakeup, the update flow will still poll list_revision_summaries while it waits for activation. Consider mirroring this wording there too, and bumping that skill's version and the bundle.
Superseded — see the current review report for commit
|
There was a problem hiding this comment.
No blocking issues found — see the full review report
…ions Complete S11 handoff before waiting, align update-and-rollback with notification-first activation waits, and advance the bundle to 0.7.0. Co-authored-by: c1-squire-dev[bot] <c1-squire-dev[bot]@users.noreply.github.com>
Superseded — see the current review report for commit
|
Superseded — see the current review report for commit
|
There was a problem hiding this comment.
No blocking issues found — see the full review report
Hand off and stop without waiting; restore the human-paced anchor for direct callers; resume check reports instead of re-minting; one notification contract stated in deploy-and-activate. Bundle 0.8.0. Co-authored-by: c1-squire-dev[bot] <c1-squire-dev[bot]@users.noreply.github.com>
Superseded — see the current review report for commit
|
| - Verification: if your host provides activation notifications, a | ||
| notification resuming you means the revision is ACTIVE - record the | ||
| `activation_epoch` it carries; do not poll. If you resume with an |
There was a problem hiding this comment.
🟡 Suggestion (medium confidence): The old text said the notification confirms the target revision's ACTIVE status. The new text says any notification that resumes the agent "means the revision is ACTIVE", and it never asks the agent to check that the notification's revision matches the minted revision_id. That gap matters in update-and-rollback, where several revisions exist. Consider adding: "confirm the notification's revision matches the target revision_id before recording activation_epoch." The same wording appears in update-and-rollback/SKILL.md step 6 and author-in-app-connector/SKILL.md (Human boundary section).
General PR Review: skills: wait for activation completion notification (CXF-353)Blocking Issues: 0 | Suggestions: 2 | Threads Resolved: 0 Review SummaryThe new commits simplify the activation-wait wording at all three skill sites:
Skill versions are bumped (0.3.2 / 0.3.1 / 0.2.1), the bundle goes to 0.8.0, and all scenario and test pins are aligned. One locked literal changed case ("If no ACTIVE row…") and still matches the file. I scanned the full PR diff (10 files) for security and correctness. The funnel's no-call-after-mint S11 discipline and the never-redeem / never-force_sync anti-patterns are unchanged. No repo-local criteria loaded, so only the base criteria were applied. There were no coverage gaps: the incremental diff was complete and not truncated. Security IssuesNone found. Correctness IssuesNone found. Suggestions
Prompt for AI agentsReviewed commit: |
There was a problem hiding this comment.
No blocking issues found — see the full review report
CXF-353 PR 2 companion (mirrors #21 for the human-activation wait).
ConductorOne c1aw now wakes the connector-authoring specialist when a human activates a minted revision (AUTHORING_JOB_COMPLETE, job_kind=ACTIVATION, payload revision + activation epoch; handler confirms ACTIVE via list_revision_summaries). This updates the skills text so the four sites agree:
list_revision_summariesonce before re-minting); direct API callers poll every 5-10s, up to ~10 polls.Versions: deploy-and-activate 0.2.0 -> 0.3.0, author-in-app-connector 0.3.0 -> 0.3.1 (wording reconciliation), update-and-rollback 0.1.0 -> 0.2.0, bundle 0.5.0 -> 0.7.0, scenario/test pins updated.
Gates:
npm run eval:test139/139 pass;npm run typecheckclean.Accepted review suggestions