[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6E5QYZRA3ENA32AHEXVFMD9":3,"skill-same:01M6E5QYZRA3ENA32AHEXVFMD9":43},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":14,"categories":15,"keywords":16,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":12,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M6E5QYZRA3ENA32AHEXVFMD9","wave-lifecycle",null,"parametrization\u002F2real-team-framework","parametrization","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1111097?v=4","01M6E5MC117M94CEXKX3C96PPX","01M6E5MC7YWG5N3VV4792VFK85",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fparametrization\u002F2real-team-framework\u002Fblob\u002Fmain\u002Fframework\u002Fassets\u002Fskills\u002Fwave-lifecycle\u002FSKILL.md",[],[17,18],"lifecycle","wave lifecycle","2026-11-10 10:12:30",false,"# wave-lifecycle\n\nDrive one iteration (\"wave\") of team work through its lifecycle:\n\n    allocate → start → scope → kickoff → (work) → wrapup → retro\n\nThis skill is **deterministic-first**: every state mutation goes through\n`.claude\u002Flib\u002Flifecycle.py`, which owns the state file (config'd\n`paths.state_file`, default `.claude\u002Fstate.json`) and writes canonical\n`wave_{W}_*` keys. Prompts only fill in decisions a human must make (the wave\ntheme, the in-scope repo list, the merge model). Everything else is mechanical.\n\nAll values come from `.claude\u002Fframework.config.json` — `scm.owner`,\n`scm.default_branch`, `branch.feature` \u002F `branch.integration`, `labels.wave`,\n`policy.reviewers_required`, `policy.merge_model`, `ci.tooling`. Read them; never\nhard-code a project choice here.\n\n## Preconditions\n\n- The framework is installed (`.claude\u002Fhooks\u002F`, `.claude\u002Flib\u002F`, a roster under\n  `paths.team`). If commit-identity is enforced, every commit in the steps below\n  uses `git -c user.name=… -c user.email=…` from the roster.\n- `gh` (or your SCM CLI) is authenticated for `scm.owner`.\n\n## Steps\n\n### 1. Allocate the wave id (monotonic, never reused)\n\n```bash\npython3 .claude\u002Flib\u002Flifecycle.py wave peek                 # what the next id will be\npython3 .claude\u002Flib\u002Flifecycle.py wave allocate --phase {P} --write\n```\n\n`allocate --write` advances `global_wave_seq` and stamps `wave_{W}_phase` +\n`wave_{W}_phase_ordinal` (the \"Phase P, Wave N\" display). The allocator is\nreservation-aware: an id reserved ahead of the counter (a `wave_{N}_meta_issue`)\nis claimed, not skipped.\n\n### 2. Start the wave\n\n```bash\npython3 .claude\u002Flib\u002Flifecycle.py wave start {W}\n```\n\nSets `current_wave`, `wave_{W}_active=true`, `wave_{W}_started_at`.\n\n### 3. Scope it (owner decision: which repos)\n\nDecide the in-scope repo list (single-repo: just the one; meta+children: the\nsubset that changes this wave), then record it:\n\n```bash\npython3 .claude\u002Flib\u002Flifecycle.py wave scope {W} --repos repo-a,repo-b --phase {P}\n```\n\nWrites `wave_{W}_repos_in_scope` + `wave_{W}_scope_reconciled_at`. For each\nin-scope repo, create the wave branch from `scm.default_branch` if the merge\nmodel is `wave-branch` (see step 4), and apply the `labels.wave` label to the\nwave's issues.\n\n### 4. Kick off (owner decision: merge model)\n\nA wave uses exactly ONE merge model for its whole life — `wave-branch` (per-issue\nPRs base on `branch.integration`; one integration PR to default at wrapup) or\n`direct-to-main` (every PR bases on the default branch). Mixing strands work.\n\n```bash\npython3 .claude\u002Flib\u002Flifecycle.py wave kickoff {W} --merge-model wave-branch\n```\n\nRecords `wave_{W}_kicked_off_at` + `wave_{W}_merge_model` and re-points\n`current_wave`. Then spawn implementers\u002Freviewers per the roster (reviewers =\n`policy.reviewers_required`).\n\n### 5. Mid-wave (on demand)\n\nCheck that nothing is stranding against the declared model — `lifecycle.py`\nexposes the pure `classify_reachability`; wrap it with your SCM's compare API\n(`main...\u003Cwave-branch>` ahead_by\u002Fstatus + whether an integration PR is open).\nA `direct-to-main` wave with commits on the wave branch is a hard violation.\n\n### 6. Wrap up\n\nMerge ready PRs in dependency order, close resolved issues, then record the\nwave's counters and close it:\n\n```bash\npython3 .claude\u002Flib\u002Flifecycle.py wave wrapup {W} \\\n    --pr-count {N} --cr-cycles {C} --concentration {PCT}\n```\n\nSets `wave_{W}_active=false`, `wave_{W}_completed_at`, advances\n`last_completed_wave`, and writes the three counters `\u002Fwave-retro` reads. Then\nextract per-engineer trust signals from the merged-PR set:\n\n```bash\npython3 .claude\u002Flib\u002Ftrust_signals.py extract {W}     # countable per-engineer signals\npython3 .claude\u002Flib\u002Ftrust_signals.py score   {W}     # bidirectional deltas + forced negative line\n```\n\n### 7. Retro\n\nApply the mechanical trust deltas from `trust_signals.py score` to\n`paths.team\u002Ftrust_matrix.md` (each row cites the signal numbers — no narrative\nself-grading), append a retro entry to `feedback_log.md`, and surface the\ngoing-well \u002F pain-points \u002F proposed-changes summary to the owner. Do **not**\napply charter\u002Fprocess changes without owner approval.\n\n## Inspecting state\n\n```bash\npython3 .claude\u002Flib\u002Flifecycle.py state path      # resolved state file path\npython3 .claude\u002Flib\u002Flifecycle.py state show      # dump current state\npython3 .claude\u002Flib\u002Flifecycle.py merge-model get {W}\n```\n\n## Why determinism-first\n\nThe lifecycle is a state machine; encoding it in code (`lifecycle.py`) instead of\nprose means the keyspace and the counter can never disagree, the writes preserve\nthe file shape and are JSON-validated, and re-running a step is idempotent. The\nskill is the thin human-decision layer on top.\n",{},"main","53ec1032b93d41533a48603e8fae7a92f56cc66c","framework\u002Fassets\u002Fskills\u002Fwave-lifecycle","https:\u002F\u002Fgithub.com\u002Fparametrization\u002F2real-team-framework","https:\u002F\u002Fgithub.com\u002Fparametrization","2026-09-21 01:06:30",{"source":7,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add parametrization\u002F2real-team-framework --skill wave-lifecycle",{"tool":35,"command":36},"bunx","bunx skills add parametrization\u002F2real-team-framework --skill wave-lifecycle",{"tool":38,"command":39},"pnpm","pnpm dlx skills add parametrization\u002F2real-team-framework --skill wave-lifecycle","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fparametrization\u002F2real-team-framework\u002Fblob\u002Fmain\u002Fframework\u002Fassets\u002Fskills\u002Fwave-lifecycle\u002FSKILL.md",true,[],[44,66,83,99,114,127],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":48,"categories":49,"keywords":50,"publishedAt":19},"01M6E5VG1R7FF1025BZAV6BDTS","wave-wrapup","Finalize a wave — PR review, merge sequencing, issue cleanup, worktree cleanup, and handoff to retro","https:\u002F\u002Fgithub.com\u002Fparametrization\u002F2real-team-framework\u002Fblob\u002Fmain\u002Fintake\u002Fnoorinalabs-2026-06\u002Fcandidates\u002Fskills\u002Fwave-wrapup\u002FSKILL.md",[],[51,52,53,54,55,56,57,58,59,60,61,62,63,64,65],"wave wrapup","wrapup","review","handoff","merge","pr review","pr","cleanup","worktree","retro","team","issue","worktree cleanup","name","sequencing",{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M6E5V9GDF75GV4YD2WPSH912","wave-start","Initialize a new wave — worktree cleanup, branch creation, label setup, status file update","https:\u002F\u002Fgithub.com\u002Fparametrization\u002F2real-team-framework\u002Fblob\u002Fmain\u002Fintake\u002Fnoorinalabs-2026-06\u002Fcandidates\u002Fskills\u002Fwave-start\u002FSKILL.md",[],[73,74,75,58,76,59,77,61,78,79,80,63,81,64,82],"wave start","start","setup","update","file","branch","file update","initialize","creation","status",{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M6E5V4VXEJ39V87VHN1A3AW9","wave-scope","Reconcile declared-vs-labeled wave scope between \u002Fwave-retro and \u002Fwave-kickoff — collect dispositions, fold in retro carry-forwards and memory must-includes, and refresh the meta-issue","https:\u002F\u002Fgithub.com\u002Fparametrization\u002F2real-team-framework\u002Fblob\u002Fmain\u002Fintake\u002Fnoorinalabs-2026-06\u002Fcandidates\u002Fskills\u002Fwave-scope\u002FSKILL.md",[],[90,91,92,93,94,60,95,96,97,62,98],"wave scope","scope","memory","collect","Meta","refresh","reconcile","Fold","kickoff",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M6E5TZNPGG5EXZEN1FKJJT6K","wave-retro","Automated wave retrospective — PR analysis, assessments, trust matrix updates, feedback log, charter change proposals","https:\u002F\u002Fgithub.com\u002Fparametrization\u002F2real-team-framework\u002Fblob\u002Fmain\u002Fintake\u002Fnoorinalabs-2026-06\u002Fcandidates\u002Fskills\u002Fwave-retro\u002FSKILL.md",[],[106,60,107,108,57,109,110,61,111,112,113,64],"wave retro","log","change","retrospective","analysis","feedback","proposals","trust",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":19},"01M6E5TR8XB3Z10A9SD4ZYNV45","wave-kickoff","Automated wave planning — branch creation, label management, issue labeling, kickoff comments, and execution plan","https:\u002F\u002Fgithub.com\u002Fparametrization\u002F2real-team-framework\u002Fblob\u002Fmain\u002Fintake\u002Fnoorinalabs-2026-06\u002Fcandidates\u002Fskills\u002Fwave-kickoff\u002FSKILL.md",[],[121,98,122,62,81,64,123,61,124,78,125,126],"wave kickoff","management","plan","execution","planning","execution plan",{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":19},"01M6E5TMZAFB6MTVYT750FZDVY","wave-audit","Audit open issues against merged PRs — find and close orphaned issues with proper comments","https:\u002F\u002Fgithub.com\u002Fparametrization\u002F2real-team-framework\u002Fblob\u002Fmain\u002Fintake\u002Fnoorinalabs-2026-06\u002Fcandidates\u002Fskills\u002Fwave-audit\u002FSKILL.md",[],[134,135,136,137,138,139],"audit","wave audit","close","find","open","issues"]