[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6XCVEJ3P6KE0CDAN6H5HG6Z":3,"skill-same:01M6XCVEJ3P6KE0CDAN6H5HG6Z":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":50,"ownerHtmlUrl":51,"ownerBlogUrl":52,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M6XCVEJ3P6KE0CDAN6H5HG6Z","canary-lab-portify",null,"Use when making a Canary Lab feature concurrency-ready — \"portify \u003Cfeature>\", \"make the ports injectable\", \"why can't these run concurrently\", \"undo the portification\" — through the portify MCP tools (start\u002Fsubmit_external_portify, get_portify, save_portify, cancel_portify, remove_portification, list_portify_status).","ferterahadi\u002Fcanary-lab","ferterahadi","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F148174839?v=4","01M6XCHCY39C7QEF3JZJ3VZGNZ","Fer Terahadi","01M6XCHD1ZE9926NBC97ZMZZRY",4,"MIT","https:\u002F\u002Fgithub.com\u002Fferterahadi\u002Fcanary-lab\u002Fblob\u002Fmain\u002Fagent-integrations\u002Fplugin\u002Fcanary-lab\u002Fskills\u002Fcanary-lab-portify\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"canary lab","canary lab portify","lab","canary","list","when","make","submit","get","ready","remove","MCP","ports","why","save","concurrency","Tools","start","run","status","2026-11-10 10:12:30",false,"---\nname: canary-lab-portify\ndescription: Use when making a Canary Lab feature concurrency-ready — \"portify \u003Cfeature>\", \"make the ports injectable\", \"why can't these run concurrently\", \"undo the portification\" — through the portify MCP tools (start\u002Fsubmit_external_portify, get_portify, save_portify, cancel_portify, remove_portification, list_portify_status).\ntype: skill\n---\n\n# Canary Lab — Portify (Concurrency-Readiness)\n\n## User input through MCP 2.0\n\nUse the native Canary connector in the requesting chat so SDK 2.0 elicitation\n(`input_required`) reaches the human there. Do not substitute a shell MCP client,\nanswer a form yourself, or recreate the question in chat. Existing explicit\ninstructions and autopilot choices still apply without another ask.\n\nForm decisions have one shared record. The native form links to the same approval\nin Canary Notifications, also surfaced above the Flight page. On `needs-input`\nwith `approvalId` and `reviewUrl`, show that link and call `wait_for_approval` with\nthe ID; repeat on `still_waiting`. The human answers once in either surface.\nA browser answer resolves the server decision; some clients keep their native\nform visible until the human dismisses it. Dismissal then returns the stored\nresult. Client decline\u002Fcancel alone does not represent a human decision.\n\nWithout an `approvalId`, leave `needs-input` pending after decline\u002Fcancel, stale\ninput, or an unfinished UI action; do not automatically retry or repeat the\nquestion. Setup\u002Freconnection can use chat while MCP is unavailable. Never collect\npasswords, API keys, or access tokens in chat or form elicitation; use the returned\nCanary UI URL for secret entry.\n\n## MCP Invocation\n\nSetup and the plugin expose one public Canary Lab MCP tool: `exec` (usually\nrendered as `mcp__Canary_Lab__exec`). Every\nCanary Lab tool name below is the exact `command` value, not a separate public\ntool. For a feature-scoped command, replace both placeholders in this shape:\n\n```json\n{\"command\":\"\u003Cexact_tool_name>\",\"arguments\":{\"feature\":\"\u003Cfeature_name>\"}}\n```\n\nThis is the envelope shape, not every command's complete schema. Add the\nfields that command declares inside `arguments`; call `describe_tool` when a\nfield is uncertain.\n\nNever invent a wrapper verb such as `learn` or `call`, embed JSON in a command\nstring, or turn arguments into flags. Keep fields such as `confirm: true` inside\n`arguments`. Use `list_tools`, `search_tools`, or `describe_tool` as the\n`command` when discovery is needed. A deliberately selected focused or `full`\nprofile still exposes atomic tools for debugging; the setup-installed path is\n`compact` + `exec`.\n\nThis client edits the listeners in a scratch worktree; Canary Lab verifies\nwith a concurrent double-boot and owns the verdict. These tools arrive via\nthe Canary Lab MCP server. If this client is already connected (the plugin\nconnects with `compact`), skip this step. To configure the same connection\nmanually: `npx canary-lab mcp --profile compact`. Portify makes a feature's ports injectable so it can boot\nconcurrently (benchmark arms \u002F parallel runs). The\ndouble-boot verify is the success predicate — Canary Lab owns the verdict.\n\n## Arguments\n\nAn invocation argument (`\u002Fcanary-lab-portify \u003Csuite>` — the Getting Started\nguide's \"Enable Parallel Runs\" card emits exactly this shape) is a suite\n(feature) name in the connected workspace — start the loop on it directly.\nThe demo's \"start two copies \u002F confirm both work\" step IS the double-boot\nCanary runs automatically for declared injection, or on submit after edits — do not try to boot two copies yourself (those tools\nare not in this profile); your job is the edits, then relaying the proof.\n\n## Workspace Bootstrap\n\n1. Find the LIVE server first: read `~\u002F.canary-lab\u002Factive-servers.json`, which records `projectRoot`, `port` and `pid` for every UI that registered. A stopped server's entry LINGERS — the file is only rewritten when the next server registers — so an entry is a candidate, not proof: the health check below is what confirms it. One entry → that is your server and its `port`. Several → take the one whose `projectRoot` is the workspace the user means. None → fall back to `~\u002F.canary-lab\u002Fworkspaces.json` (Windows: `%USERPROFILE%\\.canary-lab\\workspaces.json`): one workspace → use it, several → ask which, none → ask the user to run `npx canary-lab setup`. Do NOT start from a guessed port.\n2. Then CONFIRM it is the right server: `curl -s http:\u002F\u002F127.0.0.1:\u003Cport>\u002Fmcp\u002Fhealth` and check that `projectRoot` is the workspace you intended. A healthy response does **not** settle the question on its own — a stale UI left behind by a demo or a tarball smoke test answers a port just as convincingly as the right one, and that is how a flight ends up running in someone's throwaway workspace. `projectRoot` matches what you intended → continue and tell the user which workspace. It names a DIFFERENT workspace → this is the wrong server; go back to step 1 rather than adopting it. It is under a temp directory (`\u002Ftmp`, `\u002Fprivate\u002Fvar\u002Ffolders`, `%TEMP%`) → never auto-select it; those are throwaway demo workspaces, so use one only when the user names it explicitly. Only when no live server serves the workspace you want does one need starting.\n3. If the health check fails, start `npx canary-lab ui` from the workspace in a visible long-running terminal; if this client cannot run long-lived commands, ask the user to run `npx canary-lab ui` from the workspace and confirm when it's up.\n4. A healthy `\u002Fmcp\u002Fhealth` means the server is live. On the setup-installed `compact` profile, atomic names such as `get_feature_coverage` are deliberately absent from `tools\u002Flist`; only `exec` is public. Call `exec` with `{\"command\":\"list_tools\",\"arguments\":{}}` before concluding the connection is missing. Only an unknown-tool error for `exec` means this session is not connected — ask the user to run `npx canary-lab setup --force` and reconnect\u002Frestart the client, then retry. Never drive `\u002Fmcp` with a hand-written HTTP\u002FJSON-RPC client (curl included; the health check above is the only direct HTTP use): a custom client bypasses client detection and reconnect handling.\n\n## Portify Loop\n\n1. Port-ify it YOURSELF (no local agent): `start_external_portify(feature)` sets up scratch worktree(s) and returns `targets[]` (edit paths) + `configPath` + instructions. If status is `verifying`, POLL `get_portify` before editing or submitting: Canary is checking declared injection. Otherwise edit the listeners IN PLACE to read an injected port, declare the matching `ports` slots in the config, then `submit_external_portify(workflowId)` — Canary boots the stack twice concurrently to verify. After submit, poll `get_portify(workflowId)` every ~15s until status is `ready-to-save` or `editing`. On `editing` the double-boot FAILED and `get_portify` carries a `prompt` — the retry playbook — next to `verification.failureDetail`: follow it (a `baseline-boot-failed` verdict means the app's own SOLO boot is broken, so ports are NOT the blocker; `concurrency-failure` means some listener still binds a hardcoded port — very often a NON-HTTP one: gRPC, WebSocket, raw TCP, a metrics\u002Fadmin port — or the two boots race on a shared build dir), fix the worktree, and `submit_external_portify` again; re-edit + re-submit is unbounded. On `ready-to-save` call `save_portify(workflowId, confirm: true)` — UNLESS the human wants a CHANGE first, in which case call `revise_external_portify(workflowId, feedback)`: it reopens the SAME verified worktree at `editing` and returns a `prompt` restating the constraints, so your prior edits survive. Never `cancel_portify` to make a change — that discards verified work and you start from scratch. `get_portify(workflowId)` also re-reads status + the verification result on demand (diff omitted by default; `includeDiff: true` inlines it). `cancel_portify(workflowId, confirm: true)` discards it. **After saving, relay the proof**: the `verification` on `get_portify` records the concurrent double-boot that passed — tell the user both copies booted concurrently (that is the \"confirm both work\" evidence), not just that an overlay was saved.\n2. One workflow PER FEATURE (a second start on the same feature is a 409). A 409 saying a verified review is **\"parked awaiting save\u002Fcancel\"** means an earlier workflow (a GUI session, or one that survived a server restart) already verified this feature and is waiting for its save\u002Fcancel decision — the error names its `workflowId`: `get_portify` it, show the user its diff\u002Fverification, then call `review_portify(workflowId)` to elicit save, revise, or discard; follow its chosen command. Only ask in chat when elicitation is unavailable; never start a second workflow around it. DIFFERENT features port-ify concurrently up to a resource cap, so to portify several features at once, if your client supports subagents, fan out a subagent per feature — otherwise portify features one at a time. At capacity `start_external_portify` returns a 429 — poll `get_portify` on an in-flight workflow (or `list_portify_status`) until one saves\u002Fcancels, then retry. The GUI shows each live on the suite's Flight page (Parallel readiness stage) — that view is read-only while this client drives; the user monitors there, you act here. `list_portify_status` shows which features are portified. If `start_external_portify` returns `type: \"getting_started_busy\"`, a Getting Started demo already owns the workspace — follow the active target it returns; do not start another workflow. Within ONE feature that has multiple repos, FAN OUT the per-repo edits: **one subagent per repo in a single parallel round** (up to 5 at once), each editing only its own worktree path. Then do the SHARED files yourself, once — the feature config and the envsets are single files every repo's slots land in, so concurrent writers clobber each other — and submit once. Treat a subagent that reports nothing as unfinished, not as a repo with no listeners: the double-boot catches a missed listener only when it binds eagerly and dies loudly on the clash.\n3. Already env-driven? If the repo ALREADY reads injected ports (e.g. it was portified for another feature, or the listeners are committed env-driven), no source edit is needed — if the matching `ports` slots already declare injection, Canary starts verification immediately; POLL `get_portify`. Otherwise declare the slots and `submit_external_portify`. The double-boot still verifies the concurrent boot, and save records an EMPTY overlay (a no-op at run time). An empty diff is only rejected when the boot also fails (the listeners genuinely don't read the injected ports yet).\n4. Borrowed start: if ANOTHER feature already saved an overlay for the same app, Canary pre-applies that patch into your scratch worktree at setup, and the returned `instructions` list the exact `ports` slots that feature declared. START from that list rather than re-deriving it from the diff — then check it against the start command(s) THIS feature boots and add a slot for any listener they expose that the list misses (a differently-booted stack can bind a port the other feature never did). If this feature ALREADY declares every listed slot there is nothing to edit at all: Canary starts the double-boot itself, the instructions say so, and you POLL `get_portify` instead of submitting (submit 409s while that boot is in flight). Otherwise review the edits, declare the slots, then submit. The borrowed lines are captured into THIS feature's own overlay, so it stays self-contained.\n5. Saving captures the verified edits as an EPHEMERAL OVERLAY under `features\u002F\u003Cfeature>\u002Fportify\u002F` — nothing committed or merged, so the product repo stays pristine; each run applies the overlay into a fresh per-run worktree (disjoint ports) before boot and reverse-applies at teardown. If the overlay later stops applying (the repo moved under it), the run fails loudly asking you to re-portify (`start_external_portify`, or the GUI).\n6. Undo it: `remove_portification(feature, confirm: true)` reverts the feature config (the declared `ports` slots + `${port.x}` health-check rewrites, restored from the snapshot saved with the overlay) and deletes the overlay, so the feature is no longer portified. Re-run `start_external_portify` (or the GUI) to redo.\n\n## Guardrails\n\n- If a full Flight starts while this standalone workflow is active, the Flight adopts this same workflow when it reaches Parallel setup; do not start a replacement.\n- Keep the same `session_id` for the whole conversation.\n- Edit only inside the returned scratch worktree paths — never the user's checked-out product repo.\n- A FLIGHT can hand you a portify workflow via an `external-work` checkpoint carrying a `workflowId`: drive this same loop against it, but STOP at `ready-to-save`, re-call `get_flight`, and answer with `respond_flight_checkpoint(flightId, choice: \"submit\")` — the flight owns the save\u002Freview decision. If that re-check carries `checkpoint.data.takeoverRequestedAt`, stop the workflow work and release with `choice: \"run-internally\"` instead — do not submit. Never `save_portify` or `cancel_portify` a flight-owned workflow. The flight will wait on you indefinitely — a parked hand-off has no deadline — so do not end your turn with it open; after 45 minutes with no `get_flight` contact the read reports `handOffIdle` on it.\n- Use `review_portify` only when a standalone review needs a user decision; do not ask again when the user already authorized the action. Flight-owned reviews use `respond_flight_checkpoint` instead.\n- Save\u002Fcancel\u002Fremove are confirm-gated; pass the confirmation only when the user asked for that action.\n","# Canary Lab — Portify (Concurrency-Readiness)\n\n## User input through MCP 2.0\n\nUse the native Canary connector in the requesting chat so SDK 2.0 elicitation\n(`input_required`) reaches the human there. Do not substitute a shell MCP client,\nanswer a form yourself, or recreate the question in chat. Existing explicit\ninstructions and autopilot choices still apply without another ask.\n\nForm decisions have one shared record. The native form links to the same approval\nin Canary Notifications, also surfaced above the Flight page. On `needs-input`\nwith `approvalId` and `reviewUrl`, show that link and call `wait_for_approval` with\nthe ID; repeat on `still_waiting`. The human answers once in either surface.\nA browser answer resolves the server decision; some clients keep their native\nform visible until the human dismisses it. Dismissal then returns the stored\nresult. Client decline\u002Fcancel alone does not represent a human decision.\n\nWithout an `approvalId`, leave `needs-input` pending after decline\u002Fcancel, stale\ninput, or an unfinished UI action; do not automatically retry or repeat the\nquestion. Setup\u002Freconnection can use chat while MCP is unavailable. Never collect\npasswords, API keys, or access tokens in chat or form elicitation; use the returned\nCanary UI URL for secret entry.\n\n## MCP Invocation\n\nSetup and the plugin expose one public Canary Lab MCP tool: `exec` (usually\nrendered as `mcp__Canary_Lab__exec`). Every\nCanary Lab tool name below is the exact `command` value, not a separate public\ntool. For a feature-scoped command, replace both placeholders in this shape:\n\n```json\n{\"command\":\"\u003Cexact_tool_name>\",\"arguments\":{\"feature\":\"\u003Cfeature_name>\"}}\n```\n\nThis is the envelope shape, not every command's complete schema. Add the\nfields that command declares inside `arguments`; call `describe_tool` when a\nfield is uncertain.\n\nNever invent a wrapper verb such as `learn` or `call`, embed JSON in a command\nstring, or turn arguments into flags. Keep fields such as `confirm: true` inside\n`arguments`. Use `list_tools`, `search_tools`, or `describe_tool` as the\n`command` when discovery is needed. A deliberately selected focused or `full`\nprofile still exposes atomic tools for debugging; the setup-installed path is\n`compact` + `exec`.\n\nThis client edits the listeners in a scratch worktree; Canary Lab verifies\nwith a concurrent double-boot and owns the verdict. These tools arrive via\nthe Canary Lab MCP server. If this client is already connected (the plugin\nconnects with `compact`), skip this step. To configure the same connection\nmanually: `npx canary-lab mcp --profile compact`. Portify makes a feature's ports injectable so it can boot\nconcurrently (benchmark arms \u002F parallel runs). The\ndouble-boot verify is the success predicate — Canary Lab owns the verdict.\n\n## Arguments\n\nAn invocation argument (`\u002Fcanary-lab-portify \u003Csuite>` — the Getting Started\nguide's \"Enable Parallel Runs\" card emits exactly this shape) is a suite\n(feature) name in the connected workspace — start the loop on it directly.\nThe demo's \"start two copies \u002F confirm both work\" step IS the double-boot\nCanary runs automatically for declared injection, or on submit after edits — do not try to boot two copies yourself (those tools\nare not in this profile); your job is the edits, then relaying the proof.\n\n## Workspace Bootstrap\n\n1. Find the LIVE server first: read `~\u002F.canary-lab\u002Factive-servers.json`, which records `projectRoot`, `port` and `pid` for every UI that registered. A stopped server's entry LINGERS — the file is only rewritten when the next server registers — so an entry is a candidate, not proof: the health check below is what confirms it. One entry → that is your server and its `port`. Several → take the one whose `projectRoot` is the workspace the user means. None → fall back to `~\u002F.canary-lab\u002Fworkspaces.json` (Windows: `%USERPROFILE%\\.canary-lab\\workspaces.json`): one workspace → use it, several → ask which, none → ask the user to run `npx canary-lab setup`. Do NOT start from a guessed port.\n2. Then CONFIRM it is the right server: `curl -s http:\u002F\u002F127.0.0.1:\u003Cport>\u002Fmcp\u002Fhealth` and check that `projectRoot` is the workspace you intended. A healthy response does **not** settle the question on its own — a stale UI left behind by a demo or a tarball smoke test answers a port just as convincingly as the right one, and that is how a flight ends up running in someone's throwaway workspace. `projectRoot` matches what you intended → continue and tell the user which workspace. It names a DIFFERENT workspace → this is the wrong server; go back to step 1 rather than adopting it. It is under a temp directory (`\u002Ftmp`, `\u002Fprivate\u002Fvar\u002Ffolders`, `%TEMP%`) → never auto-select it; those are throwaway demo workspaces, so use one only when the user names it explicitly. Only when no live server serves the workspace you want does one need starting.\n3. If the health check fails, start `npx canary-lab ui` from the workspace in a visible long-running terminal; if this client cannot run long-lived commands, ask the user to run `npx canary-lab ui` from the workspace and confirm when it's up.\n4. A healthy `\u002Fmcp\u002Fhealth` means the server is live. On the setup-installed `compact` profile, atomic names such as `get_feature_coverage` are deliberately absent from `tools\u002Flist`; only `exec` is public. Call `exec` with `{\"command\":\"list_tools\",\"arguments\":{}}` before concluding the connection is missing. Only an unknown-tool error for `exec` means this session is not connected — ask the user to run `npx canary-lab setup --force` and reconnect\u002Frestart the client, then retry. Never drive `\u002Fmcp` with a hand-written HTTP\u002FJSON-RPC client (curl included; the health check above is the only direct HTTP use): a custom client bypasses client detection and reconnect handling.\n\n## Portify Loop\n\n1. Port-ify it YOURSELF (no local agent): `start_external_portify(feature)` sets up scratch worktree(s) and returns `targets[]` (edit paths) + `configPath` + instructions. If status is `verifying`, POLL `get_portify` before editing or submitting: Canary is checking declared injection. Otherwise edit the listeners IN PLACE to read an injected port, declare the matching `ports` slots in the config, then `submit_external_portify(workflowId)` — Canary boots the stack twice concurrently to verify. After submit, poll `get_portify(workflowId)` every ~15s until status is `ready-to-save` or `editing`. On `editing` the double-boot FAILED and `get_portify` carries a `prompt` — the retry playbook — next to `verification.failureDetail`: follow it (a `baseline-boot-failed` verdict means the app's own SOLO boot is broken, so ports are NOT the blocker; `concurrency-failure` means some listener still binds a hardcoded port — very often a NON-HTTP one: gRPC, WebSocket, raw TCP, a metrics\u002Fadmin port — or the two boots race on a shared build dir), fix the worktree, and `submit_external_portify` again; re-edit + re-submit is unbounded. On `ready-to-save` call `save_portify(workflowId, confirm: true)` — UNLESS the human wants a CHANGE first, in which case call `revise_external_portify(workflowId, feedback)`: it reopens the SAME verified worktree at `editing` and returns a `prompt` restating the constraints, so your prior edits survive. Never `cancel_portify` to make a change — that discards verified work and you start from scratch. `get_portify(workflowId)` also re-reads status + the verification result on demand (diff omitted by default; `includeDiff: true` inlines it). `cancel_portify(workflowId, confirm: true)` discards it. **After saving, relay the proof**: the `verification` on `get_portify` records the concurrent double-boot that passed — tell the user both copies booted concurrently (that is the \"confirm both work\" evidence), not just that an overlay was saved.\n2. One workflow PER FEATURE (a second start on the same feature is a 409). A 409 saying a verified review is **\"parked awaiting save\u002Fcancel\"** means an earlier workflow (a GUI session, or one that survived a server restart) already verified this feature and is waiting for its save\u002Fcancel decision — the error names its `workflowId`: `get_portify` it, show the user its diff\u002Fverification, then call `review_portify(workflowId)` to elicit save, revise, or discard; follow its chosen command. Only ask in chat when elicitation is unavailable; never start a second workflow around it. DIFFERENT features port-ify concurrently up to a resource cap, so to portify several features at once, if your client supports subagents, fan out a subagent per feature — otherwise portify features one at a time. At capacity `start_external_portify` returns a 429 — poll `get_portify` on an in-flight workflow (or `list_portify_status`) until one saves\u002Fcancels, then retry. The GUI shows each live on the suite's Flight page (Parallel readiness stage) — that view is read-only while this client drives; the user monitors there, you act here. `list_portify_status` shows which features are portified. If `start_external_portify` returns `type: \"getting_started_busy\"`, a Getting Started demo already owns the workspace — follow the active target it returns; do not start another workflow. Within ONE feature that has multiple repos, FAN OUT the per-repo edits: **one subagent per repo in a single parallel round** (up to 5 at once), each editing only its own worktree path. Then do the SHARED files yourself, once — the feature config and the envsets are single files every repo's slots land in, so concurrent writers clobber each other — and submit once. Treat a subagent that reports nothing as unfinished, not as a repo with no listeners: the double-boot catches a missed listener only when it binds eagerly and dies loudly on the clash.\n3. Already env-driven? If the repo ALREADY reads injected ports (e.g. it was portified for another feature, or the listeners are committed env-driven), no source edit is needed — if the matching `ports` slots already declare injection, Canary starts verification immediately; POLL `get_portify`. Otherwise declare the slots and `submit_external_portify`. The double-boot still verifies the concurrent boot, and save records an EMPTY overlay (a no-op at run time). An empty diff is only rejected when the boot also fails (the listeners genuinely don't read the injected ports yet).\n4. Borrowed start: if ANOTHER feature already saved an overlay for the same app, Canary pre-applies that patch into your scratch worktree at setup, and the returned `instructions` list the exact `ports` slots that feature declared. START from that list rather than re-deriving it from the diff — then check it against the start command(s) THIS feature boots and add a slot for any listener they expose that the list misses (a differently-booted stack can bind a port the other feature never did). If this feature ALREADY declares every listed slot there is nothing to edit at all: Canary starts the double-boot itself, the instructions say so, and you POLL `get_portify` instead of submitting (submit 409s while that boot is in flight). Otherwise review the edits, declare the slots, then submit. The borrowed lines are captured into THIS feature's own overlay, so it stays self-contained.\n5. Saving captures the verified edits as an EPHEMERAL OVERLAY under `features\u002F\u003Cfeature>\u002Fportify\u002F` — nothing committed or merged, so the product repo stays pristine; each run applies the overlay into a fresh per-run worktree (disjoint ports) before boot and reverse-applies at teardown. If the overlay later stops applying (the repo moved under it), the run fails loudly asking you to re-portify (`start_external_portify`, or the GUI).\n6. Undo it: `remove_portification(feature, confirm: true)` reverts the feature config (the declared `ports` slots + `${port.x}` health-check rewrites, restored from the snapshot saved with the overlay) and deletes the overlay, so the feature is no longer portified. Re-run `start_external_portify` (or the GUI) to redo.\n\n## Guardrails\n\n- If a full Flight starts while this standalone workflow is active, the Flight adopts this same workflow when it reaches Parallel setup; do not start a replacement.\n- Keep the same `session_id` for the whole conversation.\n- Edit only inside the returned scratch worktree paths — never the user's checked-out product repo.\n- A FLIGHT can hand you a portify workflow via an `external-work` checkpoint carrying a `workflowId`: drive this same loop against it, but STOP at `ready-to-save`, re-call `get_flight`, and answer with `respond_flight_checkpoint(flightId, choice: \"submit\")` — the flight owns the save\u002Freview decision. If that re-check carries `checkpoint.data.takeoverRequestedAt`, stop the workflow work and release with `choice: \"run-internally\"` instead — do not submit. Never `save_portify` or `cancel_portify` a flight-owned workflow. The flight will wait on you indefinitely — a parked hand-off has no deadline — so do not end your turn with it open; after 45 minutes with no `get_flight` contact the read reports `handOffIdle` on it.\n- Use `review_portify` only when a standalone review needs a user decision; do not ask again when the user already authorized the action. Flight-owned reviews use `respond_flight_checkpoint` instead.\n- Save\u002Fcancel\u002Fremove are confirm-gated; pass the confirmation only when the user asked for that action.\n",{"name":5,"type":44,"description":7},"skill","main","2c85305cab69e5f773d59ea79a64a0b049a98345","agent-integrations\u002Fplugin\u002Fcanary-lab\u002Fskills\u002Fcanary-lab-portify",0,"https:\u002F\u002Fgithub.com\u002Fferterahadi\u002Fcanary-lab","https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fcanary-lab","https:\u002F\u002Fgithub.com\u002Fferterahadi","https:\u002F\u002Fgithub.com\u002Fferterahadi-oddle","Shipping well-tested, production-ready, vibe-coded code using today’s latest form of engineering - harness, agentic, loop, graph, or whatever drops next","2026-11-14 17:08:42",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add ferterahadi\u002Fcanary-lab --skill canary-lab-portify",{"tool":61,"command":62},"bunx","bunx skills add ferterahadi\u002Fcanary-lab --skill canary-lab-portify",{"tool":64,"command":65},"pnpm","pnpm dlx skills add ferterahadi\u002Fcanary-lab --skill canary-lab-portify","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fferterahadi\u002Fcanary-lab\u002Fblob\u002Fmain\u002Fagent-integrations\u002Fplugin\u002Fcanary-lab\u002Fskills\u002Fcanary-lab-portify\u002FSKILL.md",true,[],[70,77,85,95,114,130],{"skillNo":71,"name":72,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":39},"01M6XCWFJ75NNVF0N8C0XGNC17","off-by-one","https:\u002F\u002Fgithub.com\u002Fferterahadi\u002Fcanary-lab\u002Fblob\u002Fmain\u002Fapps\u002Fweb-server\u002Fprompts\u002Fsabotage-skills\u002Foff-by-one\u002Fskill.md",[],[76],"off by one",{"skillNo":78,"name":79,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":39},"01M6XCWBYW1QHVFKSDQCCRRRDT","multi-failure-cascade","https:\u002F\u002Fgithub.com\u002Fferterahadi\u002Fcanary-lab\u002Fblob\u002Fmain\u002Fapps\u002Fweb-server\u002Fprompts\u002Fsabotage-skills\u002Fmulti-failure-cascade\u002Fskill.md",[],[83,84],"multi","multi failure cascade",{"skillNo":86,"name":87,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":39},"01M6XCW8XA7QY74Q18D9PGFFMD","broken-delete-contract","https:\u002F\u002Fgithub.com\u002Fferterahadi\u002Fcanary-lab\u002Fblob\u002Fmain\u002Fapps\u002Fweb-server\u002Fprompts\u002Fsabotage-skills\u002Fbroken-delete-contract\u002Fskill.md",[],[91,92,93,94],"delete","broken","contract","broken delete contract",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":39},"01M6XCW439KA486AN2QZACNYTC","canary-lab","Use when the user wants Canary Lab to take a product repo end to end — \"test this app\", \"onboard this repo\", \"run a flight\", \"evaluate what I just built\" — through the flight pipeline (start_flight \u002F get_flight \u002F respond_flight_checkpoint over MCP). One conducted pipeline continues a configured suite or takes bare repo(s) to a green, covered, healed run and publishes a downloadable Report; Parallel setup continues as Canary-owned background work. Use a focused skill only when the user asks for that single capability without asking for a Flight or \u002Fcanary-lab.","https:\u002F\u002Fgithub.com\u002Fferterahadi\u002Fcanary-lab\u002Fblob\u002Fmain\u002Fagent-integrations\u002Fplugin\u002Fcanary-lab\u002Fskills\u002Fcanary-lab\u002FSKILL.md",[],[21,22,19,102,103,104,105,106,107,27,108,109,110,111,112,113,24,36,30,37],"capability","pipeline","work","only","take","green","end","app","respond","suite","product","bare",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":39},"01M6XCVYQ31KC4ZXCD5QMRKXEE","canary-lab-verify","Use when verifying a Canary Lab feature against a RUNNING target — a deployed environment (\"verify checkout on staging\", \"run the saved verify config\", \"check the deployed app\") or a locally booted app (\"verify a running app\") — through the verify MCP tools (list\u002Fget\u002Fcreate\u002Fupdate_verification_config, boot_services, execute_verification, get_verification_result). No heal loop. For run + heal use canary-lab-run; for end-to-end onboarding use canary-lab (flight).","https:\u002F\u002Fgithub.com\u002Fferterahadi\u002Fcanary-lab\u002Fblob\u002Fmain\u002Fagent-integrations\u002Fplugin\u002Fcanary-lab\u002Fskills\u002Fcanary-lab-verify\u002FSKILL.md",[],[22,121,21,122,19,27,30,123,124,37,125,126,35,127,23,108,109,128,129,24],"verify","canary lab verify","config","create","update","verification","loop","checkout","result",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":39},"01M6XCVSWW705CN3C69FQMPZXN","canary-lab-run","Use when running or healing an EXISTING Canary Lab feature locally — \"run \u003Cfeature>\", \"fix the failing run\", \"rerun 7cvh\", \"drive the heal loop\" — through the repair MCP tools (start_run, wait_for_heal_task, signal_run, get_heal_context, pause_run, cancel_heal, abort_run). Fix failing runs by editing app\u002Fservice code, not tests. For end-to-end onboarding of a new repo use canary-lab (flight); for deployed-environment checks use canary-lab-verify.","https:\u002F\u002Fgithub.com\u002Fferterahadi\u002Fcanary-lab\u002Fblob\u002Fmain\u002Fagent-integrations\u002Fplugin\u002Fcanary-lab\u002Fskills\u002Fcanary-lab-run\u002FSKILL.md",[],[137,19,37,22,21,108,27,138,139,127,35,36,140,30,24,141,142,109,143,144],"canary lab run","fix","context","code","rerun","wait","new repo","failing"]