[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M736S3PQEXWMP249QH050GGB":3,"skill-same:01M736S3PQEXWMP249QH050GGB":50},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":28,"updatedAt":29,"install":30,"resources":43},"01M736S3PQEXWMP249QH050GGB","deliver-pr",null,"Deliver GitHub pull requests or GitLab merge requests end to end through the released nils-cli `forge-cli pr deliver` macro.","graysurf\u002Fagent-runtime-kit","graysurf","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F10785178?v=4","01M736PQHYKHFMNBYF8BT93NM4","01M736PQJWYH7G046WAN7EQCHD",0,"MIT","https:\u002F\u002Fgithub.com\u002Fgraysurf\u002Fagent-runtime-kit\u002Fblob\u002Fmain\u002Ftests\u002Fgolden\u002Fclaude\u002Fplugins\u002Fpr\u002Fskills\u002Fdeliver-pr\u002Fexpected\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: deliver-pr\ndescription: >\n  Deliver GitHub pull requests or GitLab merge requests end to end through the released nils-cli `forge-cli pr deliver` macro.\n---\n\n# Deliver PR \u002F MR\n\n## Contract\n\nPrereqs:\n\n- `agent-runtime`, `forge-cli >=1.22.12`, `plan-issue >=1.1.0`, and\n  `review-specialists` are installed from the released nils-cli package and\n  available on `PATH`. The generic code-review outcome uses a quick or full\n  profile in pre-merge context; native review summaries and observed\n  convergence need `forge-cli` 1.21.34, guarded pending-review recovery needs\n  1.22.12, the review-thread merge gate needs 1.0.16, the task-list merge gate\n  needs 1.0.17, and\n  existing-PR adoption in `pr deliver` needs 1.1.0. Linked issue closeout\n  relies on the unified terminal task-row contract in `plan-issue` 1.1.0.\n- Shared provider, branch, body, and label rules in\n  `references\u002Fpr-lifecycle.md` are satisfied.\n- The working tree contains only the intended delivery changes.\n- Local validation and review findings have been resolved before merge.\n- Implementation changes have been committed through `semantic-commit`; commit\n  mutation is an internal delivery prerequisite, not a user-selected workflow.\n- For every lifecycle mode except close-unmerged, if executable\n  `.agents\u002Fscripts\u002Fpre-pr.sh` exists, run it through the repository dispatcher\n  before the first provider mutation. Abandon-close is a remote terminal route\n  and must not depend on unrelated local pre-PR validation.\n\nInputs:\n\n- Provider: `github` or `gitlab` (let `forge-cli` detect it from the remote, or\n  pass `--provider` explicitly).\n- Delivery kind: `feature`, `bug`, `chore`, `docs`, `ci`, or `refactor`;\n  it must match the branch prefix.\n- PR\u002FMR title and body section files for `agent-runtime pr-body render`.\n- Optional head branch, base branch, merge method, reviewers, and timeout.\n- Requested lifecycle outcome: create only, deliver to readiness, repair review\n  findings, merge, or close an unmerged record.\n- Required labels selected from the shared taxonomy.\n- Optional `--no-merge` when the workflow should stop after checks.\n- Optional `--no-closeout` to stop after delivery readiness checks and before\n  linked issue closeout.\n- Mandatory generic code review in pre-merge context. The caller may prefer\n  quick or full review, but scope and risk own the final profile selection.\n- Local terminal identity captured before merge: checkout root, branch,\n  delivered head SHA, base ref, and whether the checkout is primary or a\n  managed linked worktree. When an outer L2\u002FL3 or requested post-merge workflow\n  still owns terminal duties, pass this identity outward instead of cleaning\n  early.\n- If the body references a linked tracking or dispatch issue, use non-closing\n  references such as `Refs #\u003Cissue>`; provider auto-close keywords are refused.\n  Carry the references through `pr-body render --issues-file` — rendered as\n  `## Issues` after `## Summary` for every kind (`bug` keeps its required\n  `## Issues Found` section) — instead of hand-placing them in the summary.\n- If the body references a linked tracking or dispatch issue, lifecycle\n  readiness is also a pre-merge gate: source, plan, complete state, latest\n  `role=session`, validation, and review evidence must be present before merge.\n\nOutputs:\n\n- A draft or ready GitHub PR or GitLab MR opened from the current branch.\n- Required checks \u002F pipeline state waited through `forge-cli pr wait-checks`.\n- A generic pre-merge review result completed before merge: either an eligible\n  quick `pass` for the current head, or a full review with at least `testing`\n  and `maintainability`.\n- Compact quick-finding or specialist reviews posted to the PR\u002FMR as each\n  blocking reviewer result returns\n  (native `COMMENT` review events on GitHub via `--submit-review`, outcome notes\n  on GitLab). These use portable `--decision comments-only` and `--lens`\n  semantics and report findings and evidence only; the active environment owns\n  any optional identity mapping. On GitHub, actionable findings that require owner\n  changes are also passed through `--thread-file` so the owning agent can fix and\n  resolve them; no-finding reports omit `--thread-file` and stay summary-only.\n  If a linked tracking or dispatch issue is present, mirror the compact review\n  URL breadcrumb to that issue.\n- A delivery review outcome posted to the PR\u002FMR before merge through\n  `forge-cli pr review`; combined owner outcomes use the final `--decision`\n  plus repeated selected lenses and own final finding dispositions. GitHub uses\n  a native `APPROVE` \u002F `REQUEST_CHANGES` review only when an environment-owned\n  router guarantees an identity independent from the PR author; other paths use\n  the outcome-note form.\n- On GitHub, current-head native review summaries inspected through\n  `forge-cli pr reviews` and semantically dispositioned before the final owner\n  outcome. Stale-head reviews remain informational. GitLab retains its outcome\n  note flow because native review snapshots are GitHub-only in v1.\n- Mechanical convergence, unresolved-thread, unchecked-task, and provider-head\n  gates executed by `forge-cli pr merge`. A typed gate failure routes to the\n  matching read\u002Fdisposition\u002Fretry path instead of an agent-authored polling\n  loop.\n- A merged PR\u002FMR through `forge-cli pr merge`, unless `--no-merge` is supplied.\n- When a linked issue closeout runs, `plan-issue record close` posts closeout\n  evidence, repairs the dashboard, verifies linked records, and closes the\n  issue.\n- When this is the outermost successful workflow, a terminal local cleanup\n  result: the clean primary checkout is restored to base, or the safe merged\n  managed worktree is removed through `git-cli worktree remove`; retained\n  unsafe state includes its reason and recovery command.\n\nFailure modes:\n\n- Provider auth fails, the branch has no pushed upstream, or the base branch is\n  not the intended target.\n- Required checks \u002F pipeline checks fail, time out, remain pending, or are\n  missing without an explicit no-checks decision.\n- Selected labels fail catalog validation or the provider rejects label\n  application.\n- Mandatory quick or full pre-merge review findings are unresolved or\n  undispositioned.\n- Current-head native review summaries are unread or contain actionable\n  feedback that has not been repaired, accepted with rationale, or moved to a\n  follow-up.\n- A GitHub native review submission returns `github_pending_review_exists`,\n  but `data.pending_reviews[]` does not\n  identify exactly one abandoned current-viewer review for this PR. Stop rather\n  than deleting ambiguous review state or falling back to an outcome note.\n- `forge-cli pr merge` returns `review_changes_requested`,\n  `review_convergence_activity_changed`, `review_convergence_head_changed`,\n  `review_convergence_timeout`, `review_snapshot_incomplete`,\n  `unresolved_review_threads`, or `unchecked_task_items`. Read and disposition\n  the matching provider evidence before retrying; do not replace the CLI gate\n  with a custom timing loop.\n- Unchecked `- [ ]` task-list items remain in the PR\u002FMR description at merge\n  time. The description is the delivery contract; `forge-cli pr merge` fails\n  closed with `unchecked_task_items`, and the task-list sweep is how the\n  workflow dispositions them before that gate trips.\n- Delivery review outcome posting fails.\n- `local_path_present`: rewrite useful evidence paths in provider-visible PR\n  bodies, delivery outcome comments, or linked issue closeout records to\n  `$HOME\u002F...` and omit remote-useless local artifact paths before retrying.\n- A PR\u002FMR body uses a provider auto-close keyword against a linked\n  plan-tracking or dispatch issue.\n- A linked tracking or dispatch issue is missing lifecycle readiness before\n  merge. Route to `deliver-plan-tracking-issue` or `deliver-dispatch-plan`\n  instead of merging and backfilling after the fact.\n- `plan-issue record close` rejects linked issue closeout.\n- Terminal cleanup cannot prove a clean checkout, provider-confirmed merge of\n  the captured delivered head, or safe ownership. Retain the worktree and\n  branch, report the failed proof, and do not force removal.\n\n## Lifecycle Mode Selection\n\nThe user requests the PR\u002FMR outcome, not a lifecycle helper.\n\n- **Create only** — render and validate the body, create the draft provider\n  record with `forge-cli pr create`, return its URL, and stop before checks,\n  review, merge, or linked-issue closeout.\n- **Deliver** — create or adopt the record, wait for checks, run the mandatory\n  risk-selected review gate, inspect and disposition native summaries, then\n  merge through the CLI-owned convergence\u002Fthread\u002Ftask gates unless the user\n  requested a readiness stop.\n- **Review repair** — adopt the existing record, classify unresolved review\n  threads, make authorized fixes, rerun validation and affected review modes,\n  and return to the delivery gates.\n- **Merge** — adopt an existing ready record, inspect native review evidence,\n  and satisfy every remaining semantic, linked-lifecycle, and provider gate\n  before `forge-cli pr merge`.\n- **Close unmerged** — only when the user explicitly abandons the record; read\n  current state, record the reason, and call `forge-cli pr close` without\n  pretending delivery succeeded.\n\nDispatch lane PR creation remains an internal L3 dispatch role because its\nplan-branch target and lane checkpoint authority belong to that outcome.\n\n## Review Profile Selection\n\nPre-merge remains mandatory. Select the smallest safe profile after checks and\nscope detection; a user request such as \"PR quick merge\" expresses a preference,\nnot permission to bypass escalation.\n\n- **Quick merge** — available for an L0 or L1 PR only when the diff is bounded,\n  required validation and checks pass, scope suggests or forces no risk\n  specialist, no unresolved current-head review state exists, and `reviewer-quick` has\n  enough confidence to inspect the complete change. A clean `pass` is terminal\n  review evidence for the current head; post one final outcome with `--lens\n  quick`, then continue through the ordinary merge gates.\n- **Quick findings** — post concrete findings before repair, block merge, rerun\n  affected validation, and use quick follow-up only while the scope stays\n  bounded.\n- **Full review** — mandatory for L2 or L3 delivery, any specialist trigger,\n  existing unresolved review state, insufficient quick-review confidence, or a\n  quick `escalate` verdict. It routes to the full pre-merge profile without changing the work tier\n  or requiring another user decision.\n\nThe quick profile changes review depth only. It never skips checks, final\nprovider review-state inspection, convergence, unresolved-thread, unchecked-task,\nexpected-head, linked-lifecycle, or terminal cleanup gates.\n\n## Body Format\n\nUse `agent-runtime pr-body render` as the canonical formatter. The shared\nPR\u002FMR lifecycle reference owns minimum headings, label selection, and\nnon-closing issue references.\n\n## Entrypoint\n\nRender the body with `agent-runtime` before calling the delivery macro:\n\n```bash\nagent-runtime pr-body render \\\n  --kind feature \\\n  --summary-file \"$SUMMARY_FILE\" \\\n  --changes-file \"$CHANGES_FILE\" \\\n  --test-first-file \"$TEST_FIRST_FILE\" \\\n  --test-plan-file \"$TEST_PLAN_FILE\" \\\n  --risk-file \"$RISK_FILE\" \\\n  --out \"$PR_BODY\"\n```\n\nAdd `--issues-file \"$ISSUES_FILE\"` when the PR references a linked issue: it is\nrequired for `--kind bug` and optional for every other kind, rendering the\nnon-closing references as `## Issues`. Kind-specific files passed with a\nnon-owning kind are rejected (`--changes-file` is feature-only;\n`--problem-file`, `--reproduction-file`, and `--fix-approach-file` are\nbug-only) instead of being silently dropped.\n\nUse the released provider CLI directly. `forge-cli` detects the provider from\nthe remote; pass `--provider \"$PROVIDER\"` to pin it (`github` or `gitlab`):\n\n```bash\nforge-cli pr deliver \\\n  --provider \"$PROVIDER\" \\\n  --kind feature \\\n  --title \"$PR_TITLE\" \\\n  --body-file \"$PR_BODY\" \\\n  --base main \\\n  --method squash \\\n  --label type::feature \\\n  --label area::runtime \\\n  --label size::m \\\n  --label-catalog manifests\u002Fforge-labels.yaml \\\n  --strict-labels \\\n  --test-first-evidence \"$EVIDENCE_DIR\" \\\n  --no-merge\n```\n\nWhen the test-first gate is enabled — `[test_first].require = true` in a repo\n`.forge-cli.toml` or the user-global\n`${XDG_CONFIG_HOME:-~\u002F.config}\u002Fforge-cli\u002Fconfig.toml` — a `--kind feature` \u002F\n`bug` deliver (the create, adopt, and `--dry-run` preflight steps) also requires\n`--test-first-evidence \"$EVIDENCE_DIR\"`, pointing at the `verify`-clean directory\nthe policy-owned `test-first-evidence` CLI flow produces. Omit it for the exempt kinds (`docs` \u002F\n`chore` \u002F `ci` \u002F `refactor`); without it delivery fails closed with\n`test_first_evidence_required`.\n\nRun the generic code-review outcome in pre-merge context before merge. Start\nwithout forced lenses so scope can admit quick review; when quick is ineligible\nor returns `escalate`, rerun scope with the full profile's minimum lenses:\n\n```bash\nreview-specialists scope \\\n  --base \"$BASE_REF\" \\\n  --format json\n\n# Full-profile route only: L2\u002FL3, a risk trigger, unresolved review state, or\n# quick-review escalation.\nreview-specialists scope \\\n  --base \"$BASE_REF\" \\\n  --testing \\\n  --maintainability \\\n  --format json\n# Read native review bodies after specialist posting and repair. Current-head\n# summaries are semantic evidence; stale-head summaries are informational.\nPRE_SUBMIT_PR=\"$(\n  forge-cli --provider \"$PROVIDER\" --repo \"$OWNER_REPO\" \\\n    --format json pr view \"$PR_NUMBER\"\n)\"\nEXPECTED_REVIEW_HEAD=\"$(\n  printf '%s\\n' \"$PRE_SUBMIT_PR\" |\n    jq -er 'select(.ok == true) | .data.head_sha'\n)\" || exit $?\nreadonly EXPECTED_REVIEW_HEAD\nif [ \"$PROVIDER\" = github ]; then\n  PRE_SUBMIT_REVIEWS=\"$(\n    forge-cli --provider \"$PROVIDER\" --repo \"$OWNER_REPO\" \\\n      --format json pr reviews \"$PR_NUMBER\"\n  )\"\n  printf '%s\\n' \"$PRE_SUBMIT_REVIEWS\"\n  printf '%s\\n' \"$PRE_SUBMIT_REVIEWS\" |\n    jq -e --arg head \"$EXPECTED_REVIEW_HEAD\" \\\n      '.ok == true and .data.head_sha == $head' >\u002Fdev\u002Fnull\nfi\n# Reuse the complete selected lens set for the final provider outcome. Quick\n# uses one final semantic lens; full starts with testing + maintainability and\n# appends every risk lens selected by review-specialists scope.\ncase \"$REVIEW_PROFILE\" in\n  quick) SELECTED_REVIEW_LENSES=(quick) ;;\n  full) SELECTED_REVIEW_LENSES=(testing maintainability) ;;\n  *) echo \"unsupported review profile: $REVIEW_PROFILE\" >&2; exit 64 ;;\nesac\nREVIEW_LENS_ARGS=()\nfor selected_lens in \"${SELECTED_REVIEW_LENSES[@]}\"; do\n  REVIEW_LENS_ARGS+=(--lens \"$selected_lens\")\ndone\n# Native combined approval requires an environment-owned router that guarantees\n# a GitHub review identity independent from the PR author. Otherwise post an\n# outcome note with the same semantic decision and lenses.\nFINAL_SUBMIT_REVIEW=()\ncase \"${AGENT_RUNTIME_FORGE_IDENTITY_ROUTER_REQUIRED:-}\" in\n  1|[Tt][Rr][Uu][Ee]|[Yy][Ee][Ss])\n    [ \"$PROVIDER\" = github ] &&\n      FINAL_SUBMIT_REVIEW=(--submit-review --expected-head \"$EXPECTED_REVIEW_HEAD\")\n    ;;\nesac\n# Observed convergence is GitHub-only in v1. Preserve GitLab delivery even when\n# the user's global forge-cli config enables it.\nREVIEW_CONVERGENCE_ARGS=()\n[ \"$PROVIDER\" = gitlab ] && REVIEW_CONVERGENCE_ARGS=(--review-convergence=false)\n\n# Capture the outcome bytes once. Initial submission, guarded recovery, and\n# the single retry must all use this immutable value rather than rereading a\n# mutable file path. Preserve capture failures before freezing the value, and\n# use `--option=value` below so hyphen-leading Markdown remains one argv value.\nEXPECTED_REVIEW_BODY=\"$(cat \"$DELIVERY_REVIEW_OUTCOME\")\" || exit $?\nreadonly EXPECTED_REVIEW_BODY\nNATIVE_REVIEW_CMD=(\n  forge-cli --provider \"$PROVIDER\" --repo \"$OWNER_REPO\" --format json\n  pr review \"$PR_NUMBER\"\n  --decision \"$REVIEW_DECISION\"\n  \"${FINAL_SUBMIT_REVIEW[@]}\"\n  --comment=\"$EXPECTED_REVIEW_BODY\"\n  \"${REVIEW_LENS_ARGS[@]}\"\n)\n# Clear stale selector state, then preserve the failed command status and JSON.\nunset PENDING_REVIEW_ID\nset +e\nNATIVE_REVIEW_JSON=\"$(\"${NATIVE_REVIEW_CMD[@]}\" 2>&1)\"\nNATIVE_REVIEW_STATUS=$?\nset -e\n\nif [ \"$NATIVE_REVIEW_STATUS\" -ne 0 ]; then\n  if [ \"$PROVIDER\" != github ] || ! printf '%s\\n' \"$NATIVE_REVIEW_JSON\" |\n    jq -e '.ok == false and .error.code == \"github_pending_review_exists\"' \\\n      >\u002Fdev\u002Fnull; then\n    printf '%s\\n' \"$NATIVE_REVIEW_JSON\" >&2\n    exit \"$NATIVE_REVIEW_STATUS\"\n  fi\n\n  # Fetch a fresh post-conflict pr reviews snapshot.\n  if [ \"$PROVIDER\" = github ]; then\n    POST_CONFLICT_REVIEWS=\"$(\n      forge-cli --provider \"$PROVIDER\" --repo \"$OWNER_REPO\" \\\n        --format json pr reviews \"$PR_NUMBER\"\n    )\"\n    PENDING_REVIEW_ID=\"$(\n      printf '%s\\n' \"$POST_CONFLICT_REVIEWS\" |\n        jq -er --arg head \"$EXPECTED_REVIEW_HEAD\" \\\n          --arg body \"$EXPECTED_REVIEW_BODY\" '\n            select(.ok == true and .data.head_sha == $head)\n            | [.data.pending_reviews[]\n                | select(.state == \"PENDING\")\n                | select(.commit_sha == $head)\n                | select(.summary_truncated == false)\n                | select((.summary | rtrimstr(\"\\n\")) == ($body | rtrimstr(\"\\n\")))]\n            | select(length == 1)\n            | .[0].id\n          '\n    )\"\n    if [ -n \"${PENDING_REVIEW_ID:-}\" ]; then\n      DELETE_REVIEW_JSON=\"$(\n        forge-cli --provider \"$PROVIDER\" --repo \"$OWNER_REPO\" \\\n          --format json pr pending-review delete \"$PR_NUMBER\" \\\n          --review \"$PENDING_REVIEW_ID\" \\\n          --expected-head \"$EXPECTED_REVIEW_HEAD\" \\\n          --expected-commit \"$EXPECTED_REVIEW_HEAD\" \\\n          --expected-body=\"$EXPECTED_REVIEW_BODY\" \\\n          --confirm-abandoned\n      )\"\n      POST_DELETE_REVIEWS=\"$(\n        forge-cli --provider \"$PROVIDER\" --repo \"$OWNER_REPO\" \\\n          --format json pr reviews \"$PR_NUMBER\"\n      )\"\n      printf '%s\\n' \"$POST_DELETE_REVIEWS\" |\n        jq -e --arg head \"$EXPECTED_REVIEW_HEAD\" \\\n          --arg id \"$PENDING_REVIEW_ID\" '\n            .ok == true\n            and .data.head_sha == $head\n            and (.data.pending_reviews | map(.id) | index($id) | not)\n          ' >\u002Fdev\u002Fnull\n\n      set +e\n      NATIVE_REVIEW_RETRY_JSON=\"$(\"${NATIVE_REVIEW_CMD[@]}\" 2>&1)\"\n      NATIVE_REVIEW_RETRY_STATUS=$?\n      set -e\n      if [ \"$NATIVE_REVIEW_RETRY_STATUS\" -ne 0 ]; then\n        printf '%s\\n' \"$NATIVE_REVIEW_RETRY_JSON\" >&2\n        exit \"$NATIVE_REVIEW_RETRY_STATUS\"\n      fi\n      NATIVE_REVIEW_JSON=\"$NATIVE_REVIEW_RETRY_JSON\"\n    fi\n  fi\nfi\n\nprintf '%s\\n' \"$NATIVE_REVIEW_JSON\"\n# Keep merge on the same provider head that was inspected and reviewed.\nforge-cli --provider \"$PROVIDER\" pr merge \"$PR_NUMBER\" --method squash \\\n  --expected-head \"$EXPECTED_REVIEW_HEAD\" \\\n  \"${REVIEW_CONVERGENCE_ARGS[@]}\"\n```\n\nIf a GitHub `pr review --submit-review` call returns\n`github_pending_review_exists`, preserve the failed command status and JSON,\nthen fetch a fresh post-conflict `pr reviews` result.\nThe command binds the native review to the inspected head with\n`--expected-head`. From\n`data.pending_reviews[]`, recover only when exactly one current-viewer node is\nthe abandoned attempt for this PR and the intended body, decision, and head\nare still current. Never choose a node from submitted reviews, delete multiple\nnodes, or use recovery for an unrelated rejection. The executable state machine\nuses only that exact node id.\n\nThe delete primitive independently verifies exact PR membership, pending\nstate, current-viewer authorship, and delete permission. After the refreshed\nsnapshot confirms the pending node is gone, retry the unchanged failed review\nonce; if the guard, refresh, retry, or a second rejection fails, stop and\npreserve the provider error.\n\nMap the final delivery review outcome to `approve` when delivery may merge and\n`request-changes` when the review blocks. Use `comments-only` only for\nspecialist review comments or other non-decisional notes, not for the final\ncombined delivery-owner outcome. On GitHub, `--submit-review` makes this a native\npull request review event (`approve`→`APPROVE`, `request-changes`→`REQUEST_CHANGES`)\nauthored by the adapter-selected independent identity. Without the capability,\nGitHub uses the same outcome-note path as GitLab, records the semantic decision,\nand does not mutate native approval state.\n\nFor identity and issue mirroring: post a compact specialist review comment\nafter each reviewer lens returns and after each focused follow-up rerun. Pass\nonly the portable `--provider`, `--decision`, and `--lens` semantics; do not\nset private identity-profile environment variables in this public workflow.\nThe active provider CLI uses ambient identity unless an environment-owned\nadapter maps those semantic flags. When the PR\u002FMR is linked to a tracking or\ndispatch issue and the issue number is available, add\n`--issue \"$ISSUE\" --mirror-issue` so the issue activity shows review progress\nwithout duplicating full outcome bodies.\nWhen the specialist report has actionable GitHub findings, include\n`--thread-file \"$REVIEW_THREAD_FILE\"` on the first specialist review post that\nsurfaces those findings. Omit `--thread-file` for clean reviews, informational\nnotes, follow-up pass summaries, and the final combined approval outcome.\n\nBefore the final owner outcome, read native provider reviews once:\n\n```bash\nif [ \"$PROVIDER\" = github ]; then\n  forge-cli --provider \"$PROVIDER\" --format json pr reviews \"$PR_NUMBER\"\nfi\n```\n\nOn GitHub, treat `data.current_head_reviews[].summary` as evidence, never as a\nmachine verdict: repair actionable feedback, accept it with rationale, or move\nit to a follow-up before posting the final combined owner outcome. Stale-head\nreviews are informational. GitLab has no native snapshot in v1 and keeps the\nexisting specialist\u002Foutcome-note flow. If `summary_truncated` is true, retrieve\nthe full review body through provider read tooling before disposition; stop if\nthe full body cannot be read. Do not poll or sleep in agent instructions; the\nreleased `forge-cli pr merge` owns the configured observed-bot quiet period,\ntimeout, complete snapshot, final recheck, native `CHANGES_REQUESTED`,\nunresolved-thread, unchecked-task, and provider-head gates.\n\nObserved convergence is GitHub-only in v1. On GitLab, pass\n`--review-convergence=false` explicitly so a user-global GitHub policy does not\nturn a supported MR delivery into `provider_unsupported`.\n\nIf merge returns `review_convergence_activity_changed`, read `pr reviews`\nagain, disposition the new current-head evidence, refresh the final owner\noutcome, and retry. For `review_changes_requested` or\n`review_snapshot_incomplete`, inspect `pr reviews` and stop until the native\nstate is cleared or complete. For `unresolved_review_threads`, use\n`forge-cli pr review-threads list`, then repair, reply and resolve as accepted,\nor create a follow-up and resolve with its link per\n`core\u002Fpolicies\u002Freview-thread-convergence.md`. Outdated unresolved threads are\nauto-dispositioned `stale` by `pr merge` (recorded in\n`data.stale_thread_dispositions`) and do not block, so this list\u002Fdisposition\npath applies only to the remaining non-outdated threads. For\n`unchecked_task_items`, use\n`forge-cli pr tasks`, then finish\u002Fcheck the item or rewrite it as deferred with\na follow-up ref. `review_convergence_head_changed` requires rebinding delivery\nevidence to the new head, then re-run validation and affected review lenses,\nread current-head summaries again, and post a new owner outcome before retrying.\nTimeout failures require a stable provider state before retry. Bypass flags\nremain exceptional and their rationale belongs in the delivery review outcome;\n`--allow-unresolved-threads` additionally requires a paired\n`--allow-unresolved-threads-reason \"\u003Cwhy>\"`, captured mechanically as\n`data.unresolved_threads_override_reason`.\n\nFor linked tracking or dispatch issues, run a pre-merge lifecycle audit before\nthe merge. This is not closeout yet, because `record close` verifies the merged\nPR\u002FMR after merge:\n\n```bash\nforge-cli --provider \"$PROVIDER\" --repo \"$OWNER_REPO\" --format json \\\n  issue view \"$ISSUE\" --with-comments >\"$ISSUE_VIEW_JSON\"\njq '{body:.data.body, comments:(.data.comments \u002F\u002F [])}' \\\n  \"$ISSUE_VIEW_JSON\" >\"$ISSUE_JSON\"\njq -r .body \"$ISSUE_JSON\" >\"$ISSUE_BODY\"\n\nplan-issue --format json record audit \\\n  --profile \"$PROFILE\" \\\n  --body-file \"$ISSUE_BODY\" \\\n  --comments-json \"$ISSUE_JSON\"\n```\n\nStop if the audit lacks `session` evidence, if the latest state is not\n`complete`, or if the dashboard still shows `Latest session: pending`.\n\nRun linked issue closeout after merge when the body references a tracking or\ndispatch issue via `Refs #\u003Cissue>` and `--no-closeout` was not supplied. Use the\nprovider-correct linked record ref: `$OWNER_REPO#$PR_NUMBER` on GitHub,\n`$OWNER_REPO!$MR_NUMBER` on GitLab:\n\n```bash\nplan-issue --repo \"$OWNER_REPO\" --format json record close \\\n  --issue \"$ISSUE\" \\\n  --profile \"$PROFILE\" \\\n  --linked-pr \"$LINKED_RECORD_REF\" \\\n  --approval \"$APPROVAL\" \\\n  --bundle \"$PLAN_BUNDLE\" \\\n  --add-label state::closed \\\n  --remove-label state::needs-triage\n```\n\nUse `profile=tracking` for lightweight plan-tracking issues and\n`profile=dispatch` for dispatch plan records.\n\n## Workflow\n\n1. Confirm the branch, base, dirty-tree scope, validation evidence, review\n   outcome, and requested lifecycle mode. Ensure implementation commits were\n   created through `semantic-commit`.\n2. In close-unmerged mode, read the current provider record, record the abandon\n   reason, run `forge-cli pr close` and stop before delivery or local pre-PR\n   validation.\n3. If `.agents\u002Fscripts\u002Fpre-pr.sh` is executable, run it through the repository\n   dispatcher and stop on failure.\n4. Inspect linked issues and closing references. For issue-backed plan work,\n   use `Refs #\u003Cissue>` until `record close` has passed.\n5. Render the PR\u002FMR body with `agent-runtime pr-body render`.\n6. Select labels before provider mutation; use\n   `references\u002Fpr-lifecycle.md` for the shared taxonomy rule.\n7. If `manifests\u002Fforge-labels.yaml` exists, validate labels with the\n   appropriate `forge-cli label` surface before the first live delivery.\n8. In create-only mode, run `forge-cli pr create`, return the provider URL, and\n   stop. Otherwise run `forge-cli pr deliver` with selected `--label` flags,\n   `--label-catalog manifests\u002Fforge-labels.yaml` when present, and\n   `--no-merge` so checks \u002F pipelines complete before the mandatory review gate.\n9. Run the generic code-review outcome in pre-merge context. Start with\n   unforced scope detection and select quick or full through **Review Profile\n   Selection**. Quick requires an eligible L0\u002FL1 change and a `pass`; L2\u002FL3,\n   risk signals, unresolved current-head review state, or `escalate` select full.\n10. Keep review workers read-only. For a clean quick pass, defer provider write\n   to the single final outcome in step 13. As each full-profile lens or blocking\n   quick finding returns, post one compact review comment through `forge-cli pr review`\n   (a native `COMMENT` review event via `--submit-review` on GitHub)\n   with `--decision comments-only` and that semantic `--lens` (`quick` for a\n   quick finding). The parent\n   delivery workflow posts; reviewer\n   subagents never call the provider. Post the moment each lens returns — before\n   the repair in step 11, never batched after it; the comment is the finding the\n   step-11 fix responds to, so it must exist first (see\n   `REVIEW_OUTCOME_POSTING_CONTRACT.md`, posting order). On GitHub, attach\n   `--thread-file` for actionable findings so the fix can close a native review\n   thread; summary-only reviews omit it.\n11. Repair concrete findings in this delivery workflow, then rerun validation,\n   checks, and affected review. Post each focused follow-up review comment with\n   the same semantic lens before continuing. Quick follow-up remains eligible\n   only while scope is bounded; otherwise switch to full.\n12. On GitHub, read `forge-cli pr reviews` once after specialist repairs and\n    semantically disposition every actionable current-head summary; stale-head\n    reviews are informational. When `summary_truncated` is true, obtain the full\n    review body and stop if it is unavailable. On GitLab, retain the outcome-note\n    path and do not invoke the unsupported snapshot. Do not implement a polling\n    or sleep loop in the workflow.\n13. Post the final combined delivery review outcome body produced by the\n   selected pre-merge profile with `forge-cli pr review` before merge. Use the\n   final `--decision` and repeat every selected `--lens` (`quick` for quick\n   merge; the complete specialist set for full); add native GitHub\n   approval only through the declared independent-identity capability, and keep\n   identity selection outside the public skill. If native submission\n   returns `github_pending_review_exists`, use the exact-node\n   `pending_reviews` recovery above and retry the unchanged outcome once; do\n   not delete ambiguous drafts or downgrade the outcome to a note.\n14. Before merge, if the PR\u002FMR references a linked tracking or dispatch issue,\n    audit it and confirm lifecycle readiness: source\u002Fplan snapshots, complete\n    state, latest `role=session`, validation, review, and dashboard links are\n    present. If not, stop and route to the matching plan delivery workflow.\n15. Merge with `forge-cli --provider \"$PROVIDER\" pr merge \"$PR_NUMBER\"` unless\n    `--no-merge` is the requested final stop. The CLI owns observed quiet\n    timing, complete\u002Ffinal native-review reads, native change requests,\n    thread\u002Ftask gates, and head CAS. On\n    `review_convergence_activity_changed`, re-read `pr reviews`, disposition\n    the new evidence, refresh the final owner outcome, and retry. Route other\n    typed review\u002Fthread\u002Ftask failures through the matching read surface and the\n    same repair\u002Faccept\u002Ffollow-up discipline before retrying.\n    `review_convergence_head_changed` additionally requires delivery-evidence\n    rebinding, validation and affected-review reruns, and a new owner outcome on\n    the new head before retry.\n16. After merge, if the body referenced a linked tracking or dispatch issue\n    and `--no-closeout` was not supplied, run `plan-issue record close` with\n    the correct profile. On gate fail, leave the issue open with the blocked\n    code surfaced by `plan-issue` and route to the matching closeout skill.\n17. Record the PR\u002FMR URL, labels, check\u002Fpipeline evidence, review outcome, merge\n    commit, chained closeout result, and any fallback used in delivery notes.\n18. If this workflow is the outermost terminal owner, finish any requested\n    post-merge deployment, activation, archive, evidence, and local closeout\n    duties, then apply `core\u002Fpolicies\u002Fgit-delivery.md` terminal cleanup. Recheck\n    status and provider merge\u002Fhead truth. Restore a clean primary checkout to\n    base, or invoke `git-cli worktree remove \u003Cpath-or-slug> --format json` from\n    the primary checkout through the supported hooked shell; the target-aware\n    lease guard must confirm no live foreign owner before removal. If that proof\n    or hook is unavailable, retain the worktree. Delete the local\n    branch only when its tip equals the provider-confirmed delivered head;\n    otherwise retain and report it. If an outer L2\u002FL3 workflow remains, hand it\n    the captured identity and defer this step.\n\n## Boundary\n\n`forge-cli` owns provider create, checks\u002Fpipeline wait, ready, native-review\nconvergence, thread\u002Ftask enforcement, provider-head binding, and merge calls.\n`plan-issue record` owns linked issue lifecycle closeout. The workflow owner\nowns scope judgment, code changes, local validation, review-profile and\npre-merge gate decisions,\nrepair loops, delivery outcome comments, and any temporary provider fallback\ndecision. The outermost workflow also owns terminal local cleanup after all\ndownstream duties; child delivery workflows hand off rather than clean early.\nProvider auto-close keywords against issue-backed plan records remain banned.\n","# Deliver PR \u002F MR\n\n## Contract\n\nPrereqs:\n\n- `agent-runtime`, `forge-cli >=1.22.12`, `plan-issue >=1.1.0`, and\n  `review-specialists` are installed from the released nils-cli package and\n  available on `PATH`. The generic code-review outcome uses a quick or full\n  profile in pre-merge context; native review summaries and observed\n  convergence need `forge-cli` 1.21.34, guarded pending-review recovery needs\n  1.22.12, the review-thread merge gate needs 1.0.16, the task-list merge gate\n  needs 1.0.17, and\n  existing-PR adoption in `pr deliver` needs 1.1.0. Linked issue closeout\n  relies on the unified terminal task-row contract in `plan-issue` 1.1.0.\n- Shared provider, branch, body, and label rules in\n  `references\u002Fpr-lifecycle.md` are satisfied.\n- The working tree contains only the intended delivery changes.\n- Local validation and review findings have been resolved before merge.\n- Implementation changes have been committed through `semantic-commit`; commit\n  mutation is an internal delivery prerequisite, not a user-selected workflow.\n- For every lifecycle mode except close-unmerged, if executable\n  `.agents\u002Fscripts\u002Fpre-pr.sh` exists, run it through the repository dispatcher\n  before the first provider mutation. Abandon-close is a remote terminal route\n  and must not depend on unrelated local pre-PR validation.\n\nInputs:\n\n- Provider: `github` or `gitlab` (let `forge-cli` detect it from the remote, or\n  pass `--provider` explicitly).\n- Delivery kind: `feature`, `bug`, `chore`, `docs`, `ci`, or `refactor`;\n  it must match the branch prefix.\n- PR\u002FMR title and body section files for `agent-runtime pr-body render`.\n- Optional head branch, base branch, merge method, reviewers, and timeout.\n- Requested lifecycle outcome: create only, deliver to readiness, repair review\n  findings, merge, or close an unmerged record.\n- Required labels selected from the shared taxonomy.\n- Optional `--no-merge` when the workflow should stop after checks.\n- Optional `--no-closeout` to stop after delivery readiness checks and before\n  linked issue closeout.\n- Mandatory generic code review in pre-merge context. The caller may prefer\n  quick or full review, but scope and risk own the final profile selection.\n- Local terminal identity captured before merge: checkout root, branch,\n  delivered head SHA, base ref, and whether the checkout is primary or a\n  managed linked worktree. When an outer L2\u002FL3 or requested post-merge workflow\n  still owns terminal duties, pass this identity outward instead of cleaning\n  early.\n- If the body references a linked tracking or dispatch issue, use non-closing\n  references such as `Refs #\u003Cissue>`; provider auto-close keywords are refused.\n  Carry the references through `pr-body render --issues-file` — rendered as\n  `## Issues` after `## Summary` for every kind (`bug` keeps its required\n  `## Issues Found` section) — instead of hand-placing them in the summary.\n- If the body references a linked tracking or dispatch issue, lifecycle\n  readiness is also a pre-merge gate: source, plan, complete state, latest\n  `role=session`, validation, and review evidence must be present before merge.\n\nOutputs:\n\n- A draft or ready GitHub PR or GitLab MR opened from the current branch.\n- Required checks \u002F pipeline state waited through `forge-cli pr wait-checks`.\n- A generic pre-merge review result completed before merge: either an eligible\n  quick `pass` for the current head, or a full review with at least `testing`\n  and `maintainability`.\n- Compact quick-finding or specialist reviews posted to the PR\u002FMR as each\n  blocking reviewer result returns\n  (native `COMMENT` review events on GitHub via `--submit-review`, outcome notes\n  on GitLab). These use portable `--decision comments-only` and `--lens`\n  semantics and report findings and evidence only; the active environment owns\n  any optional identity mapping. On GitHub, actionable findings that require owner\n  changes are also passed through `--thread-file` so the owning agent can fix and\n  resolve them; no-finding reports omit `--thread-file` and stay summary-only.\n  If a linked tracking or dispatch issue is present, mirror the compact review\n  URL breadcrumb to that issue.\n- A delivery review outcome posted to the PR\u002FMR before merge through\n  `forge-cli pr review`; combined owner outcomes use the final `--decision`\n  plus repeated selected lenses and own final finding dispositions. GitHub uses\n  a native `APPROVE` \u002F `REQUEST_CHANGES` review only when an environment-owned\n  router guarantees an identity independent from the PR author; other paths use\n  the outcome-note form.\n- On GitHub, current-head native review summaries inspected through\n  `forge-cli pr reviews` and semantically dispositioned before the final owner\n  outcome. Stale-head reviews remain informational. GitLab retains its outcome\n  note flow because native review snapshots are GitHub-only in v1.\n- Mechanical convergence, unresolved-thread, unchecked-task, and provider-head\n  gates executed by `forge-cli pr merge`. A typed gate failure routes to the\n  matching read\u002Fdisposition\u002Fretry path instead of an agent-authored polling\n  loop.\n- A merged PR\u002FMR through `forge-cli pr merge`, unless `--no-merge` is supplied.\n- When a linked issue closeout runs, `plan-issue record close` posts closeout\n  evidence, repairs the dashboard, verifies linked records, and closes the\n  issue.\n- When this is the outermost successful workflow, a terminal local cleanup\n  result: the clean primary checkout is restored to base, or the safe merged\n  managed worktree is removed through `git-cli worktree remove`; retained\n  unsafe state includes its reason and recovery command.\n\nFailure modes:\n\n- Provider auth fails, the branch has no pushed upstream, or the base branch is\n  not the intended target.\n- Required checks \u002F pipeline checks fail, time out, remain pending, or are\n  missing without an explicit no-checks decision.\n- Selected labels fail catalog validation or the provider rejects label\n  application.\n- Mandatory quick or full pre-merge review findings are unresolved or\n  undispositioned.\n- Current-head native review summaries are unread or contain actionable\n  feedback that has not been repaired, accepted with rationale, or moved to a\n  follow-up.\n- A GitHub native review submission returns `github_pending_review_exists`,\n  but `data.pending_reviews[]` does not\n  identify exactly one abandoned current-viewer review for this PR. Stop rather\n  than deleting ambiguous review state or falling back to an outcome note.\n- `forge-cli pr merge` returns `review_changes_requested`,\n  `review_convergence_activity_changed`, `review_convergence_head_changed`,\n  `review_convergence_timeout`, `review_snapshot_incomplete`,\n  `unresolved_review_threads`, or `unchecked_task_items`. Read and disposition\n  the matching provider evidence before retrying; do not replace the CLI gate\n  with a custom timing loop.\n- Unchecked `- [ ]` task-list items remain in the PR\u002FMR description at merge\n  time. The description is the delivery contract; `forge-cli pr merge` fails\n  closed with `unchecked_task_items`, and the task-list sweep is how the\n  workflow dispositions them before that gate trips.\n- Delivery review outcome posting fails.\n- `local_path_present`: rewrite useful evidence paths in provider-visible PR\n  bodies, delivery outcome comments, or linked issue closeout records to\n  `$HOME\u002F...` and omit remote-useless local artifact paths before retrying.\n- A PR\u002FMR body uses a provider auto-close keyword against a linked\n  plan-tracking or dispatch issue.\n- A linked tracking or dispatch issue is missing lifecycle readiness before\n  merge. Route to `deliver-plan-tracking-issue` or `deliver-dispatch-plan`\n  instead of merging and backfilling after the fact.\n- `plan-issue record close` rejects linked issue closeout.\n- Terminal cleanup cannot prove a clean checkout, provider-confirmed merge of\n  the captured delivered head, or safe ownership. Retain the worktree and\n  branch, report the failed proof, and do not force removal.\n\n## Lifecycle Mode Selection\n\nThe user requests the PR\u002FMR outcome, not a lifecycle helper.\n\n- **Create only** — render and validate the body, create the draft provider\n  record with `forge-cli pr create`, return its URL, and stop before checks,\n  review, merge, or linked-issue closeout.\n- **Deliver** — create or adopt the record, wait for checks, run the mandatory\n  risk-selected review gate, inspect and disposition native summaries, then\n  merge through the CLI-owned convergence\u002Fthread\u002Ftask gates unless the user\n  requested a readiness stop.\n- **Review repair** — adopt the existing record, classify unresolved review\n  threads, make authorized fixes, rerun validation and affected review modes,\n  and return to the delivery gates.\n- **Merge** — adopt an existing ready record, inspect native review evidence,\n  and satisfy every remaining semantic, linked-lifecycle, and provider gate\n  before `forge-cli pr merge`.\n- **Close unmerged** — only when the user explicitly abandons the record; read\n  current state, record the reason, and call `forge-cli pr close` without\n  pretending delivery succeeded.\n\nDispatch lane PR creation remains an internal L3 dispatch role because its\nplan-branch target and lane checkpoint authority belong to that outcome.\n\n## Review Profile Selection\n\nPre-merge remains mandatory. Select the smallest safe profile after checks and\nscope detection; a user request such as \"PR quick merge\" expresses a preference,\nnot permission to bypass escalation.\n\n- **Quick merge** — available for an L0 or L1 PR only when the diff is bounded,\n  required validation and checks pass, scope suggests or forces no risk\n  specialist, no unresolved current-head review state exists, and `reviewer-quick` has\n  enough confidence to inspect the complete change. A clean `pass` is terminal\n  review evidence for the current head; post one final outcome with `--lens\n  quick`, then continue through the ordinary merge gates.\n- **Quick findings** — post concrete findings before repair, block merge, rerun\n  affected validation, and use quick follow-up only while the scope stays\n  bounded.\n- **Full review** — mandatory for L2 or L3 delivery, any specialist trigger,\n  existing unresolved review state, insufficient quick-review confidence, or a\n  quick `escalate` verdict. It routes to the full pre-merge profile without changing the work tier\n  or requiring another user decision.\n\nThe quick profile changes review depth only. It never skips checks, final\nprovider review-state inspection, convergence, unresolved-thread, unchecked-task,\nexpected-head, linked-lifecycle, or terminal cleanup gates.\n\n## Body Format\n\nUse `agent-runtime pr-body render` as the canonical formatter. The shared\nPR\u002FMR lifecycle reference owns minimum headings, label selection, and\nnon-closing issue references.\n\n## Entrypoint\n\nRender the body with `agent-runtime` before calling the delivery macro:\n\n```bash\nagent-runtime pr-body render \\\n  --kind feature \\\n  --summary-file \"$SUMMARY_FILE\" \\\n  --changes-file \"$CHANGES_FILE\" \\\n  --test-first-file \"$TEST_FIRST_FILE\" \\\n  --test-plan-file \"$TEST_PLAN_FILE\" \\\n  --risk-file \"$RISK_FILE\" \\\n  --out \"$PR_BODY\"\n```\n\nAdd `--issues-file \"$ISSUES_FILE\"` when the PR references a linked issue: it is\nrequired for `--kind bug` and optional for every other kind, rendering the\nnon-closing references as `## Issues`. Kind-specific files passed with a\nnon-owning kind are rejected (`--changes-file` is feature-only;\n`--problem-file`, `--reproduction-file`, and `--fix-approach-file` are\nbug-only) instead of being silently dropped.\n\nUse the released provider CLI directly. `forge-cli` detects the provider from\nthe remote; pass `--provider \"$PROVIDER\"` to pin it (`github` or `gitlab`):\n\n```bash\nforge-cli pr deliver \\\n  --provider \"$PROVIDER\" \\\n  --kind feature \\\n  --title \"$PR_TITLE\" \\\n  --body-file \"$PR_BODY\" \\\n  --base main \\\n  --method squash \\\n  --label type::feature \\\n  --label area::runtime \\\n  --label size::m \\\n  --label-catalog manifests\u002Fforge-labels.yaml \\\n  --strict-labels \\\n  --test-first-evidence \"$EVIDENCE_DIR\" \\\n  --no-merge\n```\n\nWhen the test-first gate is enabled — `[test_first].require = true` in a repo\n`.forge-cli.toml` or the user-global\n`${XDG_CONFIG_HOME:-~\u002F.config}\u002Fforge-cli\u002Fconfig.toml` — a `--kind feature` \u002F\n`bug` deliver (the create, adopt, and `--dry-run` preflight steps) also requires\n`--test-first-evidence \"$EVIDENCE_DIR\"`, pointing at the `verify`-clean directory\nthe policy-owned `test-first-evidence` CLI flow produces. Omit it for the exempt kinds (`docs` \u002F\n`chore` \u002F `ci` \u002F `refactor`); without it delivery fails closed with\n`test_first_evidence_required`.\n\nRun the generic code-review outcome in pre-merge context before merge. Start\nwithout forced lenses so scope can admit quick review; when quick is ineligible\nor returns `escalate`, rerun scope with the full profile's minimum lenses:\n\n```bash\nreview-specialists scope \\\n  --base \"$BASE_REF\" \\\n  --format json\n\n# Full-profile route only: L2\u002FL3, a risk trigger, unresolved review state, or\n# quick-review escalation.\nreview-specialists scope \\\n  --base \"$BASE_REF\" \\\n  --testing \\\n  --maintainability \\\n  --format json\n# Read native review bodies after specialist posting and repair. Current-head\n# summaries are semantic evidence; stale-head summaries are informational.\nPRE_SUBMIT_PR=\"$(\n  forge-cli --provider \"$PROVIDER\" --repo \"$OWNER_REPO\" \\\n    --format json pr view \"$PR_NUMBER\"\n)\"\nEXPECTED_REVIEW_HEAD=\"$(\n  printf '%s\\n' \"$PRE_SUBMIT_PR\" |\n    jq -er 'select(.ok == true) | .data.head_sha'\n)\" || exit $?\nreadonly EXPECTED_REVIEW_HEAD\nif [ \"$PROVIDER\" = github ]; then\n  PRE_SUBMIT_REVIEWS=\"$(\n    forge-cli --provider \"$PROVIDER\" --repo \"$OWNER_REPO\" \\\n      --format json pr reviews \"$PR_NUMBER\"\n  )\"\n  printf '%s\\n' \"$PRE_SUBMIT_REVIEWS\"\n  printf '%s\\n' \"$PRE_SUBMIT_REVIEWS\" |\n    jq -e --arg head \"$EXPECTED_REVIEW_HEAD\" \\\n      '.ok == true and .data.head_sha == $head' >\u002Fdev\u002Fnull\nfi\n# Reuse the complete selected lens set for the final provider outcome. Quick\n# uses one final semantic lens; full starts with testing + maintainability and\n# appends every risk lens selected by review-specialists scope.\ncase \"$REVIEW_PROFILE\" in\n  quick) SELECTED_REVIEW_LENSES=(quick) ;;\n  full) SELECTED_REVIEW_LENSES=(testing maintainability) ;;\n  *) echo \"unsupported review profile: $REVIEW_PROFILE\" >&2; exit 64 ;;\nesac\nREVIEW_LENS_ARGS=()\nfor selected_lens in \"${SELECTED_REVIEW_LENSES[@]}\"; do\n  REVIEW_LENS_ARGS+=(--lens \"$selected_lens\")\ndone\n# Native combined approval requires an environment-owned router that guarantees\n# a GitHub review identity independent from the PR author. Otherwise post an\n# outcome note with the same semantic decision and lenses.\nFINAL_SUBMIT_REVIEW=()\ncase \"${AGENT_RUNTIME_FORGE_IDENTITY_ROUTER_REQUIRED:-}\" in\n  1|[Tt][Rr][Uu][Ee]|[Yy][Ee][Ss])\n    [ \"$PROVIDER\" = github ] &&\n      FINAL_SUBMIT_REVIEW=(--submit-review --expected-head \"$EXPECTED_REVIEW_HEAD\")\n    ;;\nesac\n# Observed convergence is GitHub-only in v1. Preserve GitLab delivery even when\n# the user's global forge-cli config enables it.\nREVIEW_CONVERGENCE_ARGS=()\n[ \"$PROVIDER\" = gitlab ] && REVIEW_CONVERGENCE_ARGS=(--review-convergence=false)\n\n# Capture the outcome bytes once. Initial submission, guarded recovery, and\n# the single retry must all use this immutable value rather than rereading a\n# mutable file path. Preserve capture failures before freezing the value, and\n# use `--option=value` below so hyphen-leading Markdown remains one argv value.\nEXPECTED_REVIEW_BODY=\"$(cat \"$DELIVERY_REVIEW_OUTCOME\")\" || exit $?\nreadonly EXPECTED_REVIEW_BODY\nNATIVE_REVIEW_CMD=(\n  forge-cli --provider \"$PROVIDER\" --repo \"$OWNER_REPO\" --format json\n  pr review \"$PR_NUMBER\"\n  --decision \"$REVIEW_DECISION\"\n  \"${FINAL_SUBMIT_REVIEW[@]}\"\n  --comment=\"$EXPECTED_REVIEW_BODY\"\n  \"${REVIEW_LENS_ARGS[@]}\"\n)\n# Clear stale selector state, then preserve the failed command status and JSON.\nunset PENDING_REVIEW_ID\nset +e\nNATIVE_REVIEW_JSON=\"$(\"${NATIVE_REVIEW_CMD[@]}\" 2>&1)\"\nNATIVE_REVIEW_STATUS=$?\nset -e\n\nif [ \"$NATIVE_REVIEW_STATUS\" -ne 0 ]; then\n  if [ \"$PROVIDER\" != github ] || ! printf '%s\\n' \"$NATIVE_REVIEW_JSON\" |\n    jq -e '.ok == false and .error.code == \"github_pending_review_exists\"' \\\n      >\u002Fdev\u002Fnull; then\n    printf '%s\\n' \"$NATIVE_REVIEW_JSON\" >&2\n    exit \"$NATIVE_REVIEW_STATUS\"\n  fi\n\n  # Fetch a fresh post-conflict pr reviews snapshot.\n  if [ \"$PROVIDER\" = github ]; then\n    POST_CONFLICT_REVIEWS=\"$(\n      forge-cli --provider \"$PROVIDER\" --repo \"$OWNER_REPO\" \\\n        --format json pr reviews \"$PR_NUMBER\"\n    )\"\n    PENDING_REVIEW_ID=\"$(\n      printf '%s\\n' \"$POST_CONFLICT_REVIEWS\" |\n        jq -er --arg head \"$EXPECTED_REVIEW_HEAD\" \\\n          --arg body \"$EXPECTED_REVIEW_BODY\" '\n            select(.ok == true and .data.head_sha == $head)\n            | [.data.pending_reviews[]\n                | select(.state == \"PENDING\")\n                | select(.commit_sha == $head)\n                | select(.summary_truncated == false)\n                | select((.summary | rtrimstr(\"\\n\")) == ($body | rtrimstr(\"\\n\")))]\n            | select(length == 1)\n            | .[0].id\n          '\n    )\"\n    if [ -n \"${PENDING_REVIEW_ID:-}\" ]; then\n      DELETE_REVIEW_JSON=\"$(\n        forge-cli --provider \"$PROVIDER\" --repo \"$OWNER_REPO\" \\\n          --format json pr pending-review delete \"$PR_NUMBER\" \\\n          --review \"$PENDING_REVIEW_ID\" \\\n          --expected-head \"$EXPECTED_REVIEW_HEAD\" \\\n          --expected-commit \"$EXPECTED_REVIEW_HEAD\" \\\n          --expected-body=\"$EXPECTED_REVIEW_BODY\" \\\n          --confirm-abandoned\n      )\"\n      POST_DELETE_REVIEWS=\"$(\n        forge-cli --provider \"$PROVIDER\" --repo \"$OWNER_REPO\" \\\n          --format json pr reviews \"$PR_NUMBER\"\n      )\"\n      printf '%s\\n' \"$POST_DELETE_REVIEWS\" |\n        jq -e --arg head \"$EXPECTED_REVIEW_HEAD\" \\\n          --arg id \"$PENDING_REVIEW_ID\" '\n            .ok == true\n            and .data.head_sha == $head\n            and (.data.pending_reviews | map(.id) | index($id) | not)\n          ' >\u002Fdev\u002Fnull\n\n      set +e\n      NATIVE_REVIEW_RETRY_JSON=\"$(\"${NATIVE_REVIEW_CMD[@]}\" 2>&1)\"\n      NATIVE_REVIEW_RETRY_STATUS=$?\n      set -e\n      if [ \"$NATIVE_REVIEW_RETRY_STATUS\" -ne 0 ]; then\n        printf '%s\\n' \"$NATIVE_REVIEW_RETRY_JSON\" >&2\n        exit \"$NATIVE_REVIEW_RETRY_STATUS\"\n      fi\n      NATIVE_REVIEW_JSON=\"$NATIVE_REVIEW_RETRY_JSON\"\n    fi\n  fi\nfi\n\nprintf '%s\\n' \"$NATIVE_REVIEW_JSON\"\n# Keep merge on the same provider head that was inspected and reviewed.\nforge-cli --provider \"$PROVIDER\" pr merge \"$PR_NUMBER\" --method squash \\\n  --expected-head \"$EXPECTED_REVIEW_HEAD\" \\\n  \"${REVIEW_CONVERGENCE_ARGS[@]}\"\n```\n\nIf a GitHub `pr review --submit-review` call returns\n`github_pending_review_exists`, preserve the failed command status and JSON,\nthen fetch a fresh post-conflict `pr reviews` result.\nThe command binds the native review to the inspected head with\n`--expected-head`. From\n`data.pending_reviews[]`, recover only when exactly one current-viewer node is\nthe abandoned attempt for this PR and the intended body, decision, and head\nare still current. Never choose a node from submitted reviews, delete multiple\nnodes, or use recovery for an unrelated rejection. The executable state machine\nuses only that exact node id.\n\nThe delete primitive independently verifies exact PR membership, pending\nstate, current-viewer authorship, and delete permission. After the refreshed\nsnapshot confirms the pending node is gone, retry the unchanged failed review\nonce; if the guard, refresh, retry, or a second rejection fails, stop and\npreserve the provider error.\n\nMap the final delivery review outcome to `approve` when delivery may merge and\n`request-changes` when the review blocks. Use `comments-only` only for\nspecialist review comments or other non-decisional notes, not for the final\ncombined delivery-owner outcome. On GitHub, `--submit-review` makes this a native\npull request review event (`approve`→`APPROVE`, `request-changes`→`REQUEST_CHANGES`)\nauthored by the adapter-selected independent identity. Without the capability,\nGitHub uses the same outcome-note path as GitLab, records the semantic decision,\nand does not mutate native approval state.\n\nFor identity and issue mirroring: post a compact specialist review comment\nafter each reviewer lens returns and after each focused follow-up rerun. Pass\nonly the portable `--provider`, `--decision`, and `--lens` semantics; do not\nset private identity-profile environment variables in this public workflow.\nThe active provider CLI uses ambient identity unless an environment-owned\nadapter maps those semantic flags. When the PR\u002FMR is linked to a tracking or\ndispatch issue and the issue number is available, add\n`--issue \"$ISSUE\" --mirror-issue` so the issue activity shows review progress\nwithout duplicating full outcome bodies.\nWhen the specialist report has actionable GitHub findings, include\n`--thread-file \"$REVIEW_THREAD_FILE\"` on the first specialist review post that\nsurfaces those findings. Omit `--thread-file` for clean reviews, informational\nnotes, follow-up pass summaries, and the final combined approval outcome.\n\nBefore the final owner outcome, read native provider reviews once:\n\n```bash\nif [ \"$PROVIDER\" = github ]; then\n  forge-cli --provider \"$PROVIDER\" --format json pr reviews \"$PR_NUMBER\"\nfi\n```\n\nOn GitHub, treat `data.current_head_reviews[].summary` as evidence, never as a\nmachine verdict: repair actionable feedback, accept it with rationale, or move\nit to a follow-up before posting the final combined owner outcome. Stale-head\nreviews are informational. GitLab has no native snapshot in v1 and keeps the\nexisting specialist\u002Foutcome-note flow. If `summary_truncated` is true, retrieve\nthe full review body through provider read tooling before disposition; stop if\nthe full body cannot be read. Do not poll or sleep in agent instructions; the\nreleased `forge-cli pr merge` owns the configured observed-bot quiet period,\ntimeout, complete snapshot, final recheck, native `CHANGES_REQUESTED`,\nunresolved-thread, unchecked-task, and provider-head gates.\n\nObserved convergence is GitHub-only in v1. On GitLab, pass\n`--review-convergence=false` explicitly so a user-global GitHub policy does not\nturn a supported MR delivery into `provider_unsupported`.\n\nIf merge returns `review_convergence_activity_changed`, read `pr reviews`\nagain, disposition the new current-head evidence, refresh the final owner\noutcome, and retry. For `review_changes_requested` or\n`review_snapshot_incomplete`, inspect `pr reviews` and stop until the native\nstate is cleared or complete. For `unresolved_review_threads`, use\n`forge-cli pr review-threads list`, then repair, reply and resolve as accepted,\nor create a follow-up and resolve with its link per\n`core\u002Fpolicies\u002Freview-thread-convergence.md`. Outdated unresolved threads are\nauto-dispositioned `stale` by `pr merge` (recorded in\n`data.stale_thread_dispositions`) and do not block, so this list\u002Fdisposition\npath applies only to the remaining non-outdated threads. For\n`unchecked_task_items`, use\n`forge-cli pr tasks`, then finish\u002Fcheck the item or rewrite it as deferred with\na follow-up ref. `review_convergence_head_changed` requires rebinding delivery\nevidence to the new head, then re-run validation and affected review lenses,\nread current-head summaries again, and post a new owner outcome before retrying.\nTimeout failures require a stable provider state before retry. Bypass flags\nremain exceptional and their rationale belongs in the delivery review outcome;\n`--allow-unresolved-threads` additionally requires a paired\n`--allow-unresolved-threads-reason \"\u003Cwhy>\"`, captured mechanically as\n`data.unresolved_threads_override_reason`.\n\nFor linked tracking or dispatch issues, run a pre-merge lifecycle audit before\nthe merge. This is not closeout yet, because `record close` verifies the merged\nPR\u002FMR after merge:\n\n```bash\nforge-cli --provider \"$PROVIDER\" --repo \"$OWNER_REPO\" --format json \\\n  issue view \"$ISSUE\" --with-comments >\"$ISSUE_VIEW_JSON\"\njq '{body:.data.body, comments:(.data.comments \u002F\u002F [])}' \\\n  \"$ISSUE_VIEW_JSON\" >\"$ISSUE_JSON\"\njq -r .body \"$ISSUE_JSON\" >\"$ISSUE_BODY\"\n\nplan-issue --format json record audit \\\n  --profile \"$PROFILE\" \\\n  --body-file \"$ISSUE_BODY\" \\\n  --comments-json \"$ISSUE_JSON\"\n```\n\nStop if the audit lacks `session` evidence, if the latest state is not\n`complete`, or if the dashboard still shows `Latest session: pending`.\n\nRun linked issue closeout after merge when the body references a tracking or\ndispatch issue via `Refs #\u003Cissue>` and `--no-closeout` was not supplied. Use the\nprovider-correct linked record ref: `$OWNER_REPO#$PR_NUMBER` on GitHub,\n`$OWNER_REPO!$MR_NUMBER` on GitLab:\n\n```bash\nplan-issue --repo \"$OWNER_REPO\" --format json record close \\\n  --issue \"$ISSUE\" \\\n  --profile \"$PROFILE\" \\\n  --linked-pr \"$LINKED_RECORD_REF\" \\\n  --approval \"$APPROVAL\" \\\n  --bundle \"$PLAN_BUNDLE\" \\\n  --add-label state::closed \\\n  --remove-label state::needs-triage\n```\n\nUse `profile=tracking` for lightweight plan-tracking issues and\n`profile=dispatch` for dispatch plan records.\n\n## Workflow\n\n1. Confirm the branch, base, dirty-tree scope, validation evidence, review\n   outcome, and requested lifecycle mode. Ensure implementation commits were\n   created through `semantic-commit`.\n2. In close-unmerged mode, read the current provider record, record the abandon\n   reason, run `forge-cli pr close` and stop before delivery or local pre-PR\n   validation.\n3. If `.agents\u002Fscripts\u002Fpre-pr.sh` is executable, run it through the repository\n   dispatcher and stop on failure.\n4. Inspect linked issues and closing references. For issue-backed plan work,\n   use `Refs #\u003Cissue>` until `record close` has passed.\n5. Render the PR\u002FMR body with `agent-runtime pr-body render`.\n6. Select labels before provider mutation; use\n   `references\u002Fpr-lifecycle.md` for the shared taxonomy rule.\n7. If `manifests\u002Fforge-labels.yaml` exists, validate labels with the\n   appropriate `forge-cli label` surface before the first live delivery.\n8. In create-only mode, run `forge-cli pr create`, return the provider URL, and\n   stop. Otherwise run `forge-cli pr deliver` with selected `--label` flags,\n   `--label-catalog manifests\u002Fforge-labels.yaml` when present, and\n   `--no-merge` so checks \u002F pipelines complete before the mandatory review gate.\n9. Run the generic code-review outcome in pre-merge context. Start with\n   unforced scope detection and select quick or full through **Review Profile\n   Selection**. Quick requires an eligible L0\u002FL1 change and a `pass`; L2\u002FL3,\n   risk signals, unresolved current-head review state, or `escalate` select full.\n10. Keep review workers read-only. For a clean quick pass, defer provider write\n   to the single final outcome in step 13. As each full-profile lens or blocking\n   quick finding returns, post one compact review comment through `forge-cli pr review`\n   (a native `COMMENT` review event via `--submit-review` on GitHub)\n   with `--decision comments-only` and that semantic `--lens` (`quick` for a\n   quick finding). The parent\n   delivery workflow posts; reviewer\n   subagents never call the provider. Post the moment each lens returns — before\n   the repair in step 11, never batched after it; the comment is the finding the\n   step-11 fix responds to, so it must exist first (see\n   `REVIEW_OUTCOME_POSTING_CONTRACT.md`, posting order). On GitHub, attach\n   `--thread-file` for actionable findings so the fix can close a native review\n   thread; summary-only reviews omit it.\n11. Repair concrete findings in this delivery workflow, then rerun validation,\n   checks, and affected review. Post each focused follow-up review comment with\n   the same semantic lens before continuing. Quick follow-up remains eligible\n   only while scope is bounded; otherwise switch to full.\n12. On GitHub, read `forge-cli pr reviews` once after specialist repairs and\n    semantically disposition every actionable current-head summary; stale-head\n    reviews are informational. When `summary_truncated` is true, obtain the full\n    review body and stop if it is unavailable. On GitLab, retain the outcome-note\n    path and do not invoke the unsupported snapshot. Do not implement a polling\n    or sleep loop in the workflow.\n13. Post the final combined delivery review outcome body produced by the\n   selected pre-merge profile with `forge-cli pr review` before merge. Use the\n   final `--decision` and repeat every selected `--lens` (`quick` for quick\n   merge; the complete specialist set for full); add native GitHub\n   approval only through the declared independent-identity capability, and keep\n   identity selection outside the public skill. If native submission\n   returns `github_pending_review_exists`, use the exact-node\n   `pending_reviews` recovery above and retry the unchanged outcome once; do\n   not delete ambiguous drafts or downgrade the outcome to a note.\n14. Before merge, if the PR\u002FMR references a linked tracking or dispatch issue,\n    audit it and confirm lifecycle readiness: source\u002Fplan snapshots, complete\n    state, latest `role=session`, validation, review, and dashboard links are\n    present. If not, stop and route to the matching plan delivery workflow.\n15. Merge with `forge-cli --provider \"$PROVIDER\" pr merge \"$PR_NUMBER\"` unless\n    `--no-merge` is the requested final stop. The CLI owns observed quiet\n    timing, complete\u002Ffinal native-review reads, native change requests,\n    thread\u002Ftask gates, and head CAS. On\n    `review_convergence_activity_changed`, re-read `pr reviews`, disposition\n    the new evidence, refresh the final owner outcome, and retry. Route other\n    typed review\u002Fthread\u002Ftask failures through the matching read surface and the\n    same repair\u002Faccept\u002Ffollow-up discipline before retrying.\n    `review_convergence_head_changed` additionally requires delivery-evidence\n    rebinding, validation and affected-review reruns, and a new owner outcome on\n    the new head before retry.\n16. After merge, if the body referenced a linked tracking or dispatch issue\n    and `--no-closeout` was not supplied, run `plan-issue record close` with\n    the correct profile. On gate fail, leave the issue open with the blocked\n    code surfaced by `plan-issue` and route to the matching closeout skill.\n17. Record the PR\u002FMR URL, labels, check\u002Fpipeline evidence, review outcome, merge\n    commit, chained closeout result, and any fallback used in delivery notes.\n18. If this workflow is the outermost terminal owner, finish any requested\n    post-merge deployment, activation, archive, evidence, and local closeout\n    duties, then apply `core\u002Fpolicies\u002Fgit-delivery.md` terminal cleanup. Recheck\n    status and provider merge\u002Fhead truth. Restore a clean primary checkout to\n    base, or invoke `git-cli worktree remove \u003Cpath-or-slug> --format json` from\n    the primary checkout through the supported hooked shell; the target-aware\n    lease guard must confirm no live foreign owner before removal. If that proof\n    or hook is unavailable, retain the worktree. Delete the local\n    branch only when its tip equals the provider-confirmed delivered head;\n    otherwise retain and report it. If an outer L2\u002FL3 workflow remains, hand it\n    the captured identity and defer this step.\n\n## Boundary\n\n`forge-cli` owns provider create, checks\u002Fpipeline wait, ready, native-review\nconvergence, thread\u002Ftask enforcement, provider-head binding, and merge calls.\n`plan-issue record` owns linked issue lifecycle closeout. The workflow owner\nowns scope judgment, code changes, local validation, review-profile and\npre-merge gate decisions,\nrepair loops, delivery outcome comments, and any temporary provider fallback\ndecision. The outermost workflow also owns terminal local cleanup after all\ndownstream duties; child delivery workflows hand off rather than clean early.\nProvider auto-close keywords against issue-backed plan records remain banned.\n",{"name":5,"description":7},"main","da7119f2ebece510d6955cea72743069f5496c73","tests\u002Fgolden\u002Fclaude\u002Fplugins\u002Fpr\u002Fskills\u002Fdeliver-pr\u002Fexpected","https:\u002F\u002Fgithub.com\u002Fgraysurf\u002Fagent-runtime-kit","https:\u002F\u002Fgithub.com\u002Fgraysurf","Building reliable tools for teams of AI coding agents · Rust \u002F TypeScript · @sympoies","2026-08-29 05:27:47",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add graysurf\u002Fagent-runtime-kit --skill deliver-pr",{"tool":36,"command":37},"bunx","bunx skills add graysurf\u002Fagent-runtime-kit --skill deliver-pr",{"tool":39,"command":40},"pnpm","pnpm dlx skills add graysurf\u002Fagent-runtime-kit --skill deliver-pr","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgraysurf\u002Fagent-runtime-kit\u002Fblob\u002Fmain\u002Ftests\u002Fgolden\u002Fclaude\u002Fplugins\u002Fpr\u002Fskills\u002Fdeliver-pr\u002Fexpected\u002FSKILL.md",true,[44],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"references\u002Fpr-lifecycle.md","REFERENCE","参考文档",2712,"https:\u002F\u002Fgithub.com\u002Fgraysurf\u002Fagent-runtime-kit\u002Fblob\u002Fmain\u002Ftests\u002Fgolden\u002Fclaude\u002Fplugins\u002Fpr\u002Fskills\u002Fdeliver-pr\u002Fexpected\u002Freferences\u002Fpr-lifecycle.md",[51,57,62,69,76,83],{"skillNo":52,"name":53,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":18},"01M736XWK14DFRERMQ8RT3HS0Z","removable-skill","https:\u002F\u002Fgithub.com\u002Fgraysurf\u002Fagent-runtime-kit\u002Fblob\u002Fmain\u002Ftests\u002Fruntime-smoke\u002Ffixtures\u002Fskill-lifecycle\u002Fremove-skill\u002Ftests\u002Fgolden\u002Fcodex\u002Fplugins\u002Ffixture\u002Fskills\u002Fremovable-skill\u002FSKILL.md",[],[],{"skillNo":58,"name":53,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M736XTPQEKAYESDM1REN2KAN","https:\u002F\u002Fgithub.com\u002Fgraysurf\u002Fagent-runtime-kit\u002Fblob\u002Fmain\u002Ftests\u002Fruntime-smoke\u002Ffixtures\u002Fskill-lifecycle\u002Fremove-skill\u002Ftests\u002Fgolden\u002Fclaude\u002Fplugins\u002Ffixture\u002Fskills\u002Fremovable-skill\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M736XRMWHMJB4X563G9J6QYY","removable-project-skill","Fixture project-local skill used to prove remove-project-skill dry-run coverage.","https:\u002F\u002Fgithub.com\u002Fgraysurf\u002Fagent-runtime-kit\u002Fblob\u002Fmain\u002Ftests\u002Fruntime-smoke\u002Ffixtures\u002Fskill-lifecycle\u002Fremove-project-skill\u002F.agents\u002Fskills\u002Fremovable-project-skill\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M736XPT65YZMPCBD4K3RHV4P","project-sample-skill","Fixture project-local skill used to prove create-project-skill governance coverage.","https:\u002F\u002Fgithub.com\u002Fgraysurf\u002Fagent-runtime-kit\u002Fblob\u002Fmain\u002Ftests\u002Fruntime-smoke\u002Ffixtures\u002Fskill-lifecycle\u002Fcreate-project-skill\u002F.agents\u002Fskills\u002Fproject-sample-skill\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M736XKZVYWVQA1YB0P459WND","project-local-skill","Fixture project-local skill used by runtime-kit project-local smoke checks.","https:\u002F\u002Fgithub.com\u002Fgraysurf\u002Fagent-runtime-kit\u002Fblob\u002Fmain\u002Ftests\u002Fprojects\u002Fproject-local-smoke\u002F.agents\u002Fskills\u002Fproject-local-skill\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M736XHA73KZ5G2TKWSED5P1B","topic-radar","Aggregate read-only AI and technology trend signals (Polymarket, Hacker News, GitHub, arXiv, Hugging Face, news search) into source-grounded Markdown or JSON; the lower-level data engine behind `daily-brief`.","https:\u002F\u002Fgithub.com\u002Fgraysurf\u002Fagent-runtime-kit\u002Fblob\u002Fmain\u002Ftests\u002Fgolden\u002Fhermes\u002Fplugins\u002Freporting\u002Fskills\u002Ftopic-radar\u002Fexpected\u002FSKILL.md",[],[]]