[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6NTWKKD3D5R156CPKX6HDKH":3,"skill-same:01M6NTWKKD3D5R156CPKX6HDKH":72},{"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":48,"commitSha":49,"skillDirectory":50,"forksCount":51,"repositoryHtmlUrl":52,"repositoryHomepageUrl":53,"ownerHtmlUrl":54,"ownerBlogUrl":55,"ownerDescription":56,"updatedAt":57,"install":58,"resources":71},"01M6NTWKKD3D5R156CPKX6HDKH","cycle-render",null,"Render `.claude\u002Fcanvas\u002Fcycle-history.yml` as a Gantt chart + outcome distribution pie (or ascii \u002F json). Read-only. Consults the attribution registry per `${CLAUDE_PLUGIN_ROOT}\u002Fengine\u002Frender-conventions.md` consent + privacy gate. Third specialist in the render fleet.","haabe\u002Fmycelium","haabe","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2988921?v=4","01M6NTRKFVVHQG4RF09EB5FRB4","Håvard Bartnes","01M6NTRKKSM94X8BRYCYE2D80Y",54,"MIT","https:\u002F\u002Fgithub.com\u002Fhaabe\u002Fmycelium\u002Fblob\u002Fmain\u002Fplugins\u002Fmycelium\u002Fskills\u002Fcycle-render\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"cycle render","render","cycle","mycelium","fleet","gantt chart","read-only","chart","ascii","as","distribution","canvas","fallback","only","outcome","read","history","attribution","registry","memory","2026-11-10 10:12:30",false,"---\nname: cycle-render\ndescription: Render `.claude\u002Fcanvas\u002Fcycle-history.yml` as a Gantt chart + outcome distribution pie (or ascii \u002F json). Read-only. Consults the attribution registry per `${CLAUDE_PLUGIN_ROOT}\u002Fengine\u002Frender-conventions.md` consent + privacy gate. Third specialist in the render fleet.\nmetadata:\n  instruction_budget: \"55\"\n  framework_dependency: \"mycelium\"\n  framework_dependency_note: \"Reads .claude\u002Fcanvas\u002Fcycle-history.yml + attribution registry (env var $MYCELIUM_ATTRIBUTION_REGISTRY preferred; .claude\u002Fmemory\u002Fattribution-registry.yml fallback).\"\n  identifier_exposure: \"YES\"\n---\n\n# Cycle Render\n\nRead-only render of `.claude\u002Fcanvas\u002Fcycle-history.yml` as gantt + pie + (optionally) json. Third specialist in the render fleet. See `${CLAUDE_PLUGIN_ROOT}\u002Fengine\u002Frender-conventions.md` for shared conventions.\n\n## When NOT to use\n\n- For cross-cutting opportunity→solution→cycle traceability view → dispatcher's `\u002Fmycelium:render --view traceability` (deferred to Phase 4a–4d research-first methodology).\n- To RECORD a new cycle outcome → `\u002Fmycelium:retrospective`, `\u002Fmycelium:ice-score` (on discard), or `\u002Fmycelium:launch-tier` (on launch). This skill is read-only.\n- For framework-health full assessment → `\u002Fmycelium:framework-health`. cycle-render emits one visualization piece; framework-health is the broader audit.\n\n## Identifier exposure\n\n**Declared**: YES\n\n### Scope (canvas surfaces touched)\n\n| Canvas file | Identifier-bearing fields | Frequency |\n|---|---|---|\n| `.claude\u002Fcanvas\u002Fcycle-history.yml` | `learnings.process` prose; `learnings.framework` prose; `related_corrections` references | mid (cohort-related observation cycles directly reference participants) |\n| `$MYCELIUM_ATTRIBUTION_REGISTRY` env var (canonical) or `.claude\u002Fmemory\u002Fattribution-registry.yml` (fallback) | `people:` block with `name`+`consent`+`note` per entry | read-only consultation; never rendered |\n\n### Rationale\n\nCycle history is reflection-shaped: `learnings.process` is prose-heavy and often names testers whose feedback drove the cycle (e.g., a cycle entry with `leaf_id: ht-014-alex-first-week-observation` carries an identifier in the leaf_id itself). Identifier exposure is structural to the learnings narrative, not incidental. Consent state for named cohort testers can shift over time per the consent-state-change-skip cluster (anti-pattern #7 sub-shape #15) — cycle-render re-consults the registry on every invocation, never caches.\n\n### Anon-label convention\n\nPer `engine\u002Frender-conventions.md#anon-label-convention`. Numbering shared across the render-fleet session (cohort-tester-N in cycle-003 IS cohort-tester-N in opp-004 evidence if both rendered in one session).\n\nIn gantt output, anon labels appear in `section` names and task IDs. In ascii output, in chronological listings. In json output, in `learnings_process` strings AND a parallel `identifier_map` field for auditability.\n\n### Consent value semantics\n\nPer `engine\u002Frender-conventions.md#consent-value-semantics`. `public_ok` → render literal + carve-out footnote pointer if entry has non-empty `note:`. `generic_only` → redact to anon-label. `unknown` → treat as `generic_only`. Not-in-registry → fail loud unless `--no-identifiers=true`.\n\n### Worked examples\n\n**public_ok cohort tester → literal**: cycle entry with leaf_id `ht-014-alex-first-week-observation`, registry entry `{name: \"Alex\", consent: public_ok, note: \"...\"}` → gantt section reads `Alex first-week observation` + carve-out footnote pointer.\n\n**generic_only → anon-label**: a future cycle naming \"Random Tester\" with registry `consent: generic_only` → gantt section reads `cohort-tester-N first-week observation` + anon-mapping footnote.\n\n**Maintainer literal**: a cycle prose mentions \"Håvard's Torres-shape question\", registry `{name: \"Håvard\", consent: public_ok}` → renders literally.\n\n**Identifier not in registry → fail loud**: a future cycle adds a tester never registered → fail-loud per `engine\u002Frender-conventions.md`. The upstream fix is in `\u002Fmycelium:retrospective` (consult registry on cycle recording); cycle-render is the downstream gate.\n\n### Fixture pointer\n\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fredaction-public-ok-literal-gantt.yml`\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fredaction-generic-only-anon-gantt.yml`\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fredaction-public-maintainer.yml`\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fredaction-no-registry-entry-fail-loud.yml`\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fredaction-carve-out-note-footnote.yml`\n\n## Preflight: Read sources\n\n1. Read `.claude\u002Fcanvas\u002Fcycle-history.yml` with the Read tool. Full read; not `limit:1`.\n2. Read the attribution registry per path resolution order in `engine\u002Frender-conventions.md#registry-path-resolution`: `$MYCELIUM_ATTRIBUTION_REGISTRY` env var first; fall back to `.claude\u002Fmemory\u002Fattribution-registry.yml`. If registry absent, surface a `⚠ no attribution-registry — consent-redaction not enforceable; treat output as roadmap-internal` warning in the render header. **For `--audience external`, an absent registry BLOCKS the render and emits no artifact** (v0.173.0) — same outcome as an unregistered identifier, because an absent registry is that same unresolved-consent condition applied to every identifier at once. The warning-and-emit path is for `founder`\u002F`cohort` only.\n3. Note canvas-state timestamp per `engine\u002Frender-conventions.md#canvas-state-timestamp-resolution`: `_meta.last_validated` if present; fall back to top-level `last_updated:`.\n\n## Arguments\n\n| Arg | Default | Values | Effect |\n|---|---|---|---|\n| `--format` | `mermaid` | `mermaid` \\| `ascii` \\| `json` | Output format. `markdown-table` and `markdown-list` are NOT supported (gantt doesn't map cleanly); fail loud per `engine\u002Frender-conventions.md#format-support-negotiation-global-rule`. |\n| `--view` | `both` | `gantt` \\| `pie` \\| `both` | Which diagram(s) to emit. |\n| `--theme` | `base` | `base` \\| `dark` | Theme. `dark` is the WCAG-by-construction opt-in per `engine\u002Frender-conventions.md#wcag-aa-theme-convention`. |\n| `--since` | `null` | ISO date | Filter cycles whose `started_at` is on or after this date. |\n| `--cycle-class` | `all` | `product-leaf` \\| `meta-dogfood` \\| `observation` \\| `all` | Filter by cycle_class field. |\n| `--no-identifiers` | `false` | bool | Force all name references to redact regardless of consent state. |\n\n## Workflow\n\n### Step 1: Parse + filter\n\nRead cycles array. Apply `--since` and `--cycle-class` filters. Sort by `started_at`. If filtered set is empty:\n- For `--cycle-class product-leaf` with 0 matches: emit honest-dark-data placeholder (`No product-leaf cycles in window — meta-dogfood and observation cycles are filtered out per --cycle-class. Total cycles in scope: N`).\n- For all other empty cases: emit placeholder + pointer to `\u002Fmycelium:retrospective`.\n\n### Step 2: Consent check on identifier-bearing fields\n\nPer `engine\u002Frender-conventions.md#hard-rule-consent--privacy-gate`. For every `learnings.process`, `learnings.framework`, `related_corrections`, AND every `leaf_id` token that may contain an identifier:\n- Skip URL-shaped and file-path-shaped entries.\n- Skip already-anon canvas labels.\n- For name-shaped remaining entries: look up first-name token in `people:`.\n- Apply consent semantics per the engine doc table.\n- Maintain consistent anon-label numbering (same registry entry → same N) shared with concurrent renders.\n\n### Step 3: Staleness vs pending-retrospective check\n\nPer `engine\u002Frender-conventions.md#staleness-check-distinction`:\n\n- **Canvas-stale**: cycle data drifted from decision-log entries → use `⚠ STALE` shape.\n- **Pending-retrospective**: decision-log has substantive work since the most-recent cycle's `completed_at` BUT no cycle entry yet → use `ℹ Pending retrospective` shape. Render proceeds normally; informational not error.\n\n### Step 4: Build gantt model (if `--view gantt|both`)\n\nPer cycle in filtered set:\n- Section = cycle's cycle_class (`meta-dogfood`, `observation`, `product-leaf`).\n- Task ID = cycle's cycle_id (e.g., `c001` from `cycle-001`).\n- Task label = short title (truncated to ~40 chars per `engine\u002Frender-conventions.md#mermaid-label-escape-rules`).\n- Start = `started_at`.\n- Duration = `completed_at` minus `started_at` (default 1d if missing).\n- Status class (Mermaid gantt status keyword):\n  - `done` for `actual.outcome: success` AND `terminal_state: launched`\n  - `active` for in-progress (no `completed_at`)\n  - `crit` for `actual.outcome: failure` OR `terminal_state: killed`\n\n### Step 5: Build pie model (if `--view pie|both`)\n\nSum `actual.outcome` distribution across the filtered set: success \u002F partial \u002F failure \u002F archived \u002F killed (per `terminal_state` fallback when `actual.outcome` absent). Honest small-N display: if total \u003C5, prepend a header note `Note: N=\u003Ctotal>; distribution shape may not be load-bearing at this sample size`.\n\n### Step 6: Emit by format\n\n**Format `mermaid` (default)** — gantt + pie with WCAG AA themes.\n\nUse **frontmatter config syntax** per `engine\u002Frender-conventions.md#mermaid-frontmatter-syntax-preferred`. `--theme dark` opt-in.\n\n```mermaid\n---\nconfig:\n  theme: base\n  themeVariables:\n    sectionBkgColor: '#f5f5f5'\n    altSectionBkgColor: '#e8f5e9'\n    gridColor: '#666666'\n    doneTaskBkgColor: '#a5d6a7'\n    doneTaskBorderColor: '#1b5e20'\n    activeTaskBkgColor: '#90caf9'\n    activeTaskBorderColor: '#0d47a1'\n    critBkgColor: '#ef9a9a'\n    critBorderColor: '#b71c1c'\n    taskTextColor: '#1a1a1a'\n    taskTextDarkColor: '#1a1a1a'\n    taskTextOutsideColor: '#1a1a1a'\n    taskTextLightColor: '#1a1a1a'\n    titleColor: '#1a1a1a'\n---\ngantt\n  title Cycle History (filtered N=\u003Ccount>)\n  dateFormat YYYY-MM-DD\n  section meta-dogfood\n    cycle-001 ruff\u002Fcoverage cleanup :done, c001, 2026-05-03, 1d\n    cycle-002 AP#7 enforcement       :done, c002, 2026-05-09, 1d\n  section observation\n    cycle-003 first-week observation :done, c003, 2026-05-14, 11d\n```\n\n```mermaid\n---\nconfig:\n  theme: base\n  themeVariables:\n    pie1: '#a5d6a7'\n    pie2: '#fff59d'\n    pie3: '#ef9a9a'\n    pieTitleTextColor: '#1a1a1a'\n    pieSectionTextColor: '#1a1a1a'\n    pieLegendTextColor: '#1a1a1a'\n    pieStrokeColor: '#333333'\n    pieOuterStrokeColor: '#333333'\n---\npie title Outcome distribution\n  \"success\" : 5\n  \"partial\" : 3\n  \"failure\" : 0\n```\n\n**Status-color semantics warning**: Mermaid gantt `:crit` defaults to red, which reads as \"failure\" to viewers unfamiliar with the syntax. Cycle outcomes use a different ontology (success\u002Fpartial\u002Ffailure based on `actual.outcome`). The `:crit` color is currently reused for `actual.outcome: failure` AND `terminal_state: killed`; a `--status-mapping \u003Cstrict|loose>` future arg could disambiguate (open implementation question).\n\n**Format `ascii`** — terminal-friendly:\n\n```\nCycle History (filtered N=8, 2026-05-03 to 2026-06-05)\n═══════════════════════════════════════════════════════════\n\nmeta-dogfood (7)\n  cycle-001 ruff\u002Fcoverage cleanup        2026-05-03  [done]\n  cycle-002 AP#7 enforcement             2026-05-09  [done]\n  cycle-004 opp-007 tech-discovery       2026-05-31  [partial]\n  ...\n\nobservation (1)\n  cycle-003 first-week observation       2026-05-14  [done] 11d\n\nOutcome distribution:\n  success: ████████████        5\n  partial: ████████            3\n  failure: (none)              0\n```\n\n**Format `json`** — external-system integration:\n\n```json\n{\n  \"schema_version\": 1,\n  \"render\": \"cycle\",\n  \"source\": \".claude\u002Fcanvas\u002Fcycle-history.yml\",\n  \"source_last_validated\": \"\u003CYYYY-MM-DD>\",\n  \"filter\": {\"since\": null, \"cycle_class\": \"all\"},\n  \"cycles\": [\n    {\n      \"cycle_id\": \"cycle-001\",\n      \"cycle_class\": \"meta-dogfood\",\n      \"started_at\": \"2026-05-03T20:00:00Z\",\n      \"completed_at\": \"2026-05-03T22:00:00Z\",\n      \"terminal_state\": \"launched\",\n      \"outcome\": \"success\",\n      \"label\": \"ruff\u002Fcoverage cleanup\"\n    }\n  ],\n  \"distribution\": {\"success\": 5, \"partial\": 3, \"failure\": 0},\n  \"identifier_map\": {},\n  \"dropped_fields\": [\"predicted\", \"actual.user_metrics\", \"calibration\", \"learnings\", \"deliverables\", \"related_corrections\"]\n}\n```\n\n### Step 6b: Validate the emitted Mermaid (MANDATORY for `mermaid` format)\n\nPipe each block you just emitted (gantt and\u002For pie) through the static validator before showing it:\n\n```bash\nprintf '%s' \"$DIAGRAM\" | python3 ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fvalidate_mermaid.py -\n```\n\nIt checks the two things you cannot check by eye: **state-id consistency** (F11) and **WCAG AA contrast** of every `themeVariables` foreground\u002Fbackground pair (F13, ≥ 4.5:1). This skill carries two `themeVariables` blocks (gantt + pie), so validate both. Add `--cli` to also shell out to `mmdc` for a full parse when present (fail-open when absent).\n\nExit 1 means at least one FAIL: **fix the diagram and re-validate before emitting.** Do not show the user a diagram that failed this check.\n\nVisual layout and communicative quality remain operator-side — hence the Step 7 disclaimer. This step covers only what is mechanically decidable. (Wired 2026-07-26: the validator shipped with a coverage proof but no render skill invoked it.)\n\n### Step 7: Append disclaimers\n\nPer `engine\u002Frender-conventions.md`:\n\n- **Class-distribution disclosure** in gantt header (e.g., `7 meta-dogfood + 1 observation + 0 product-leaf`). Honest dark-data on `product-leaf: 0` is the canonical case for early-stage dogfood projects.\n- **Lossy-on-export**: list dropped fields. For cycle-render: `predicted.ice_score`, `predicted.feasibility_risk`, `actual.user_metrics`, `actual.dora_metrics`, `calibration`, full `learnings` prose, `deliverables`, `related_corrections`.\n- **Redaction footnote** if anon-labels emitted: list anon-label → registry-entry mapping for audit.\n- **Carve-out footnote pointers** for any literal name whose registry entry has non-empty `note:`.\n- **Canonical disclaimer**: final block.\n- **mermaidchart.com handoff** for `--format mermaid` only.\n\n## Rules\n\n1. **Read-only.** Never modify cycle-history.yml or any state.\n2. **Default `--view both`.** Emit pie even when small N — honest \"5\u002F3\u002F0\" is load-bearing even when the chart looks sparse. Small-N header note required at N\u003C5.\n3. **If cycle-history.yml has 0 cycles**, emit placeholder + pointer to `\u002Fmycelium:retrospective`. Do NOT error.\n4. **Cycle-class filter with 0 matches**: emit honest-dark-data placeholder, not an empty diagram.\n5. **Never invent** cycles, outcomes, or learnings not in the canvas.\n6. **Consent gate non-skippable** unless `--no-identifiers=true`.\n\n## Counter-Argument Check\n\nBefore emitting:\n\n1. *\"Am I making a 5-success \u002F 3-partial \u002F 0-failure split look healthier than the meta-dogfood-vs-product-leaf class distribution warrants?\"* Class distribution in header surfaces `0 product-leaf` as honest dark data, not a clean record.\n2. *\"Did I consult the registry for every name in `learnings.process` prose AND in leaf_id tokens, not just the obvious ones?\"* The fraud risk lives in maintainer names that may or may not be in the registry depending on consent state at recording time.\n3. *\"Did I distinguish staleness from pending-retrospective?\"* Decision-log activity newer than the most-recent cycle's `completed_at` is informational, not an error.\n\n## What this skill does NOT do\n\n- Does NOT record new cycles. That's `\u002Fmycelium:retrospective`.\n- Does NOT compute calibration aggregates. That's `\u002Fmycelium:framework-health`.\n- Does NOT cross-cut to opportunities\u002Fsolutions. That's the dispatcher's `--view traceability` (deferred).\n\n## Test fixtures (G-V12 \u002F Check 37)\n\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fempty-history.yml` → assert placeholder\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fsingle-cycle.yml` → assert gantt + pie with 1 entry\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fsince-filter.yml` → assert `--since 2026-06-01` excludes earlier\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fcycle-class-filter.yml` → assert `--cycle-class product-leaf` returns honest-dark placeholder when N=0\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fview-pie-only.yml` → assert `--view pie` does not emit gantt\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fpending-retrospective.yml` → assert informational `ℹ Pending retrospective` shape\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fcanvas-stale.yml` → assert `⚠ STALE` shape\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fredaction-public-ok-literal-gantt.yml`\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fredaction-generic-only-anon-gantt.yml`\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fredaction-no-registry-entry-fail-loud.yml`\n\n## Theory citations\n\n- Forsgren (DORA — `cycle_class: product-leaf` cycles inform delivery metrics)\n- Argyris (double-loop — cycle learnings are the loop's structured output)\n- Goodhart (counter-metric discipline — pie's honest dark-data is the anti-Goodhart move)\n- WCAG 2.1 AA (gantt + pie color palette per `engine\u002Frender-conventions.md#wcag-aa-theme-convention`)\n","# Cycle Render\n\nRead-only render of `.claude\u002Fcanvas\u002Fcycle-history.yml` as gantt + pie + (optionally) json. Third specialist in the render fleet. See `${CLAUDE_PLUGIN_ROOT}\u002Fengine\u002Frender-conventions.md` for shared conventions.\n\n## When NOT to use\n\n- For cross-cutting opportunity→solution→cycle traceability view → dispatcher's `\u002Fmycelium:render --view traceability` (deferred to Phase 4a–4d research-first methodology).\n- To RECORD a new cycle outcome → `\u002Fmycelium:retrospective`, `\u002Fmycelium:ice-score` (on discard), or `\u002Fmycelium:launch-tier` (on launch). This skill is read-only.\n- For framework-health full assessment → `\u002Fmycelium:framework-health`. cycle-render emits one visualization piece; framework-health is the broader audit.\n\n## Identifier exposure\n\n**Declared**: YES\n\n### Scope (canvas surfaces touched)\n\n| Canvas file | Identifier-bearing fields | Frequency |\n|---|---|---|\n| `.claude\u002Fcanvas\u002Fcycle-history.yml` | `learnings.process` prose; `learnings.framework` prose; `related_corrections` references | mid (cohort-related observation cycles directly reference participants) |\n| `$MYCELIUM_ATTRIBUTION_REGISTRY` env var (canonical) or `.claude\u002Fmemory\u002Fattribution-registry.yml` (fallback) | `people:` block with `name`+`consent`+`note` per entry | read-only consultation; never rendered |\n\n### Rationale\n\nCycle history is reflection-shaped: `learnings.process` is prose-heavy and often names testers whose feedback drove the cycle (e.g., a cycle entry with `leaf_id: ht-014-alex-first-week-observation` carries an identifier in the leaf_id itself). Identifier exposure is structural to the learnings narrative, not incidental. Consent state for named cohort testers can shift over time per the consent-state-change-skip cluster (anti-pattern #7 sub-shape #15) — cycle-render re-consults the registry on every invocation, never caches.\n\n### Anon-label convention\n\nPer `engine\u002Frender-conventions.md#anon-label-convention`. Numbering shared across the render-fleet session (cohort-tester-N in cycle-003 IS cohort-tester-N in opp-004 evidence if both rendered in one session).\n\nIn gantt output, anon labels appear in `section` names and task IDs. In ascii output, in chronological listings. In json output, in `learnings_process` strings AND a parallel `identifier_map` field for auditability.\n\n### Consent value semantics\n\nPer `engine\u002Frender-conventions.md#consent-value-semantics`. `public_ok` → render literal + carve-out footnote pointer if entry has non-empty `note:`. `generic_only` → redact to anon-label. `unknown` → treat as `generic_only`. Not-in-registry → fail loud unless `--no-identifiers=true`.\n\n### Worked examples\n\n**public_ok cohort tester → literal**: cycle entry with leaf_id `ht-014-alex-first-week-observation`, registry entry `{name: \"Alex\", consent: public_ok, note: \"...\"}` → gantt section reads `Alex first-week observation` + carve-out footnote pointer.\n\n**generic_only → anon-label**: a future cycle naming \"Random Tester\" with registry `consent: generic_only` → gantt section reads `cohort-tester-N first-week observation` + anon-mapping footnote.\n\n**Maintainer literal**: a cycle prose mentions \"Håvard's Torres-shape question\", registry `{name: \"Håvard\", consent: public_ok}` → renders literally.\n\n**Identifier not in registry → fail loud**: a future cycle adds a tester never registered → fail-loud per `engine\u002Frender-conventions.md`. The upstream fix is in `\u002Fmycelium:retrospective` (consult registry on cycle recording); cycle-render is the downstream gate.\n\n### Fixture pointer\n\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fredaction-public-ok-literal-gantt.yml`\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fredaction-generic-only-anon-gantt.yml`\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fredaction-public-maintainer.yml`\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fredaction-no-registry-entry-fail-loud.yml`\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fredaction-carve-out-note-footnote.yml`\n\n## Preflight: Read sources\n\n1. Read `.claude\u002Fcanvas\u002Fcycle-history.yml` with the Read tool. Full read; not `limit:1`.\n2. Read the attribution registry per path resolution order in `engine\u002Frender-conventions.md#registry-path-resolution`: `$MYCELIUM_ATTRIBUTION_REGISTRY` env var first; fall back to `.claude\u002Fmemory\u002Fattribution-registry.yml`. If registry absent, surface a `⚠ no attribution-registry — consent-redaction not enforceable; treat output as roadmap-internal` warning in the render header. **For `--audience external`, an absent registry BLOCKS the render and emits no artifact** (v0.173.0) — same outcome as an unregistered identifier, because an absent registry is that same unresolved-consent condition applied to every identifier at once. The warning-and-emit path is for `founder`\u002F`cohort` only.\n3. Note canvas-state timestamp per `engine\u002Frender-conventions.md#canvas-state-timestamp-resolution`: `_meta.last_validated` if present; fall back to top-level `last_updated:`.\n\n## Arguments\n\n| Arg | Default | Values | Effect |\n|---|---|---|---|\n| `--format` | `mermaid` | `mermaid` \\| `ascii` \\| `json` | Output format. `markdown-table` and `markdown-list` are NOT supported (gantt doesn't map cleanly); fail loud per `engine\u002Frender-conventions.md#format-support-negotiation-global-rule`. |\n| `--view` | `both` | `gantt` \\| `pie` \\| `both` | Which diagram(s) to emit. |\n| `--theme` | `base` | `base` \\| `dark` | Theme. `dark` is the WCAG-by-construction opt-in per `engine\u002Frender-conventions.md#wcag-aa-theme-convention`. |\n| `--since` | `null` | ISO date | Filter cycles whose `started_at` is on or after this date. |\n| `--cycle-class` | `all` | `product-leaf` \\| `meta-dogfood` \\| `observation` \\| `all` | Filter by cycle_class field. |\n| `--no-identifiers` | `false` | bool | Force all name references to redact regardless of consent state. |\n\n## Workflow\n\n### Step 1: Parse + filter\n\nRead cycles array. Apply `--since` and `--cycle-class` filters. Sort by `started_at`. If filtered set is empty:\n- For `--cycle-class product-leaf` with 0 matches: emit honest-dark-data placeholder (`No product-leaf cycles in window — meta-dogfood and observation cycles are filtered out per --cycle-class. Total cycles in scope: N`).\n- For all other empty cases: emit placeholder + pointer to `\u002Fmycelium:retrospective`.\n\n### Step 2: Consent check on identifier-bearing fields\n\nPer `engine\u002Frender-conventions.md#hard-rule-consent--privacy-gate`. For every `learnings.process`, `learnings.framework`, `related_corrections`, AND every `leaf_id` token that may contain an identifier:\n- Skip URL-shaped and file-path-shaped entries.\n- Skip already-anon canvas labels.\n- For name-shaped remaining entries: look up first-name token in `people:`.\n- Apply consent semantics per the engine doc table.\n- Maintain consistent anon-label numbering (same registry entry → same N) shared with concurrent renders.\n\n### Step 3: Staleness vs pending-retrospective check\n\nPer `engine\u002Frender-conventions.md#staleness-check-distinction`:\n\n- **Canvas-stale**: cycle data drifted from decision-log entries → use `⚠ STALE` shape.\n- **Pending-retrospective**: decision-log has substantive work since the most-recent cycle's `completed_at` BUT no cycle entry yet → use `ℹ Pending retrospective` shape. Render proceeds normally; informational not error.\n\n### Step 4: Build gantt model (if `--view gantt|both`)\n\nPer cycle in filtered set:\n- Section = cycle's cycle_class (`meta-dogfood`, `observation`, `product-leaf`).\n- Task ID = cycle's cycle_id (e.g., `c001` from `cycle-001`).\n- Task label = short title (truncated to ~40 chars per `engine\u002Frender-conventions.md#mermaid-label-escape-rules`).\n- Start = `started_at`.\n- Duration = `completed_at` minus `started_at` (default 1d if missing).\n- Status class (Mermaid gantt status keyword):\n  - `done` for `actual.outcome: success` AND `terminal_state: launched`\n  - `active` for in-progress (no `completed_at`)\n  - `crit` for `actual.outcome: failure` OR `terminal_state: killed`\n\n### Step 5: Build pie model (if `--view pie|both`)\n\nSum `actual.outcome` distribution across the filtered set: success \u002F partial \u002F failure \u002F archived \u002F killed (per `terminal_state` fallback when `actual.outcome` absent). Honest small-N display: if total \u003C5, prepend a header note `Note: N=\u003Ctotal>; distribution shape may not be load-bearing at this sample size`.\n\n### Step 6: Emit by format\n\n**Format `mermaid` (default)** — gantt + pie with WCAG AA themes.\n\nUse **frontmatter config syntax** per `engine\u002Frender-conventions.md#mermaid-frontmatter-syntax-preferred`. `--theme dark` opt-in.\n\n```mermaid\n---\nconfig:\n  theme: base\n  themeVariables:\n    sectionBkgColor: '#f5f5f5'\n    altSectionBkgColor: '#e8f5e9'\n    gridColor: '#666666'\n    doneTaskBkgColor: '#a5d6a7'\n    doneTaskBorderColor: '#1b5e20'\n    activeTaskBkgColor: '#90caf9'\n    activeTaskBorderColor: '#0d47a1'\n    critBkgColor: '#ef9a9a'\n    critBorderColor: '#b71c1c'\n    taskTextColor: '#1a1a1a'\n    taskTextDarkColor: '#1a1a1a'\n    taskTextOutsideColor: '#1a1a1a'\n    taskTextLightColor: '#1a1a1a'\n    titleColor: '#1a1a1a'\n---\ngantt\n  title Cycle History (filtered N=\u003Ccount>)\n  dateFormat YYYY-MM-DD\n  section meta-dogfood\n    cycle-001 ruff\u002Fcoverage cleanup :done, c001, 2026-05-03, 1d\n    cycle-002 AP#7 enforcement       :done, c002, 2026-05-09, 1d\n  section observation\n    cycle-003 first-week observation :done, c003, 2026-05-14, 11d\n```\n\n```mermaid\n---\nconfig:\n  theme: base\n  themeVariables:\n    pie1: '#a5d6a7'\n    pie2: '#fff59d'\n    pie3: '#ef9a9a'\n    pieTitleTextColor: '#1a1a1a'\n    pieSectionTextColor: '#1a1a1a'\n    pieLegendTextColor: '#1a1a1a'\n    pieStrokeColor: '#333333'\n    pieOuterStrokeColor: '#333333'\n---\npie title Outcome distribution\n  \"success\" : 5\n  \"partial\" : 3\n  \"failure\" : 0\n```\n\n**Status-color semantics warning**: Mermaid gantt `:crit` defaults to red, which reads as \"failure\" to viewers unfamiliar with the syntax. Cycle outcomes use a different ontology (success\u002Fpartial\u002Ffailure based on `actual.outcome`). The `:crit` color is currently reused for `actual.outcome: failure` AND `terminal_state: killed`; a `--status-mapping \u003Cstrict|loose>` future arg could disambiguate (open implementation question).\n\n**Format `ascii`** — terminal-friendly:\n\n```\nCycle History (filtered N=8, 2026-05-03 to 2026-06-05)\n═══════════════════════════════════════════════════════════\n\nmeta-dogfood (7)\n  cycle-001 ruff\u002Fcoverage cleanup        2026-05-03  [done]\n  cycle-002 AP#7 enforcement             2026-05-09  [done]\n  cycle-004 opp-007 tech-discovery       2026-05-31  [partial]\n  ...\n\nobservation (1)\n  cycle-003 first-week observation       2026-05-14  [done] 11d\n\nOutcome distribution:\n  success: ████████████        5\n  partial: ████████            3\n  failure: (none)              0\n```\n\n**Format `json`** — external-system integration:\n\n```json\n{\n  \"schema_version\": 1,\n  \"render\": \"cycle\",\n  \"source\": \".claude\u002Fcanvas\u002Fcycle-history.yml\",\n  \"source_last_validated\": \"\u003CYYYY-MM-DD>\",\n  \"filter\": {\"since\": null, \"cycle_class\": \"all\"},\n  \"cycles\": [\n    {\n      \"cycle_id\": \"cycle-001\",\n      \"cycle_class\": \"meta-dogfood\",\n      \"started_at\": \"2026-05-03T20:00:00Z\",\n      \"completed_at\": \"2026-05-03T22:00:00Z\",\n      \"terminal_state\": \"launched\",\n      \"outcome\": \"success\",\n      \"label\": \"ruff\u002Fcoverage cleanup\"\n    }\n  ],\n  \"distribution\": {\"success\": 5, \"partial\": 3, \"failure\": 0},\n  \"identifier_map\": {},\n  \"dropped_fields\": [\"predicted\", \"actual.user_metrics\", \"calibration\", \"learnings\", \"deliverables\", \"related_corrections\"]\n}\n```\n\n### Step 6b: Validate the emitted Mermaid (MANDATORY for `mermaid` format)\n\nPipe each block you just emitted (gantt and\u002For pie) through the static validator before showing it:\n\n```bash\nprintf '%s' \"$DIAGRAM\" | python3 ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fvalidate_mermaid.py -\n```\n\nIt checks the two things you cannot check by eye: **state-id consistency** (F11) and **WCAG AA contrast** of every `themeVariables` foreground\u002Fbackground pair (F13, ≥ 4.5:1). This skill carries two `themeVariables` blocks (gantt + pie), so validate both. Add `--cli` to also shell out to `mmdc` for a full parse when present (fail-open when absent).\n\nExit 1 means at least one FAIL: **fix the diagram and re-validate before emitting.** Do not show the user a diagram that failed this check.\n\nVisual layout and communicative quality remain operator-side — hence the Step 7 disclaimer. This step covers only what is mechanically decidable. (Wired 2026-07-26: the validator shipped with a coverage proof but no render skill invoked it.)\n\n### Step 7: Append disclaimers\n\nPer `engine\u002Frender-conventions.md`:\n\n- **Class-distribution disclosure** in gantt header (e.g., `7 meta-dogfood + 1 observation + 0 product-leaf`). Honest dark-data on `product-leaf: 0` is the canonical case for early-stage dogfood projects.\n- **Lossy-on-export**: list dropped fields. For cycle-render: `predicted.ice_score`, `predicted.feasibility_risk`, `actual.user_metrics`, `actual.dora_metrics`, `calibration`, full `learnings` prose, `deliverables`, `related_corrections`.\n- **Redaction footnote** if anon-labels emitted: list anon-label → registry-entry mapping for audit.\n- **Carve-out footnote pointers** for any literal name whose registry entry has non-empty `note:`.\n- **Canonical disclaimer**: final block.\n- **mermaidchart.com handoff** for `--format mermaid` only.\n\n## Rules\n\n1. **Read-only.** Never modify cycle-history.yml or any state.\n2. **Default `--view both`.** Emit pie even when small N — honest \"5\u002F3\u002F0\" is load-bearing even when the chart looks sparse. Small-N header note required at N\u003C5.\n3. **If cycle-history.yml has 0 cycles**, emit placeholder + pointer to `\u002Fmycelium:retrospective`. Do NOT error.\n4. **Cycle-class filter with 0 matches**: emit honest-dark-data placeholder, not an empty diagram.\n5. **Never invent** cycles, outcomes, or learnings not in the canvas.\n6. **Consent gate non-skippable** unless `--no-identifiers=true`.\n\n## Counter-Argument Check\n\nBefore emitting:\n\n1. *\"Am I making a 5-success \u002F 3-partial \u002F 0-failure split look healthier than the meta-dogfood-vs-product-leaf class distribution warrants?\"* Class distribution in header surfaces `0 product-leaf` as honest dark data, not a clean record.\n2. *\"Did I consult the registry for every name in `learnings.process` prose AND in leaf_id tokens, not just the obvious ones?\"* The fraud risk lives in maintainer names that may or may not be in the registry depending on consent state at recording time.\n3. *\"Did I distinguish staleness from pending-retrospective?\"* Decision-log activity newer than the most-recent cycle's `completed_at` is informational, not an error.\n\n## What this skill does NOT do\n\n- Does NOT record new cycles. That's `\u002Fmycelium:retrospective`.\n- Does NOT compute calibration aggregates. That's `\u002Fmycelium:framework-health`.\n- Does NOT cross-cut to opportunities\u002Fsolutions. That's the dispatcher's `--view traceability` (deferred).\n\n## Test fixtures (G-V12 \u002F Check 37)\n\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fempty-history.yml` → assert placeholder\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fsingle-cycle.yml` → assert gantt + pie with 1 entry\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fsince-filter.yml` → assert `--since 2026-06-01` excludes earlier\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fcycle-class-filter.yml` → assert `--cycle-class product-leaf` returns honest-dark placeholder when N=0\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fview-pie-only.yml` → assert `--view pie` does not emit gantt\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fpending-retrospective.yml` → assert informational `ℹ Pending retrospective` shape\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fcanvas-stale.yml` → assert `⚠ STALE` shape\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fredaction-public-ok-literal-gantt.yml`\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fredaction-generic-only-anon-gantt.yml`\n- `tests\u002Fbash\u002Ffixtures\u002Fcycle-render\u002Fredaction-no-registry-entry-fail-loud.yml`\n\n## Theory citations\n\n- Forsgren (DORA — `cycle_class: product-leaf` cycles inform delivery metrics)\n- Argyris (double-loop — cycle learnings are the loop's structured output)\n- Goodhart (counter-metric discipline — pie's honest dark-data is the anti-Goodhart move)\n- WCAG 2.1 AA (gantt + pie color palette per `engine\u002Frender-conventions.md#wcag-aa-theme-convention`)\n",{"name":5,"metadata":44,"description":7},{"instruction_budget":45,"identifier_exposure":46,"framework_dependency":22,"framework_dependency_note":47},"55","YES","Reads .claude\u002Fcanvas\u002Fcycle-history.yml + attribution registry (env var $MYCELIUM_ATTRIBUTION_REGISTRY preferred; .claude\u002Fmemory\u002Fattribution-registry.yml fallback).","main","d44421b0667bb71ad515ae7576dfc0f47b00504f","plugins\u002Fmycelium\u002Fskills\u002Fcycle-render",6,"https:\u002F\u002Fgithub.com\u002Fhaabe\u002Fmycelium","https:\u002F\u002Fgithub.com\u002Fhaabe\u002Fmycelium\u002Fblob\u002Fmain\u002Fdocs\u002Fget-started.md","https:\u002F\u002Fgithub.com\u002Fhaabe","https:\u002F\u002Feccera.com\u002F","Building platform tooling for AI-assisted product development.","2026-11-13 22:01:28",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add haabe\u002Fmycelium --skill cycle-render",{"tool":64,"command":65},"bunx","bunx skills add haabe\u002Fmycelium --skill cycle-render",{"tool":67,"command":68},"pnpm","pnpm dlx skills add haabe\u002Fmycelium --skill cycle-render","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhaabe\u002Fmycelium\u002Fblob\u002Fmain\u002Fplugins\u002Fmycelium\u002Fskills\u002Fcycle-render\u002FSKILL.md",true,[],[73,84,96,104,109,116],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":39},"01M6NVR17TVR7WM0MJD1TPY0CW","good_skill","Valid frontmatter.","https:\u002F\u002Fgithub.com\u002Fhaabe\u002Fmycelium\u002Fblob\u002Fmain\u002Ftests\u002Fbash\u002Ffixtures\u002Fcheck_8\u002Fvalid\u002Fplugins\u002Fmycelium\u002Fskills\u002Fgood_skill\u002FSKILL.md",[],[80,81,82,83],"good skill","good","frontmatter","valid",{"skillNo":85,"name":86,"nameZh":6,"description":87,"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},"01M6NVQPDAP1S4JQ5XFCT6P4PG","bad_skill","Has description but no name field.","https:\u002F\u002Fgithub.com\u002Fhaabe\u002Fmycelium\u002Fblob\u002Fmain\u002Ftests\u002Fbash\u002Ffixtures\u002Fcheck_8\u002Fmissing_name\u002Fplugins\u002Fmycelium\u002Fskills\u002Fbad_skill\u002FSKILL.md",[],[91,92,93,94,95],"bad skill","bad","name","but","no name",{"skillNo":97,"name":98,"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":99,"categories":100,"keywords":101,"publishedAt":39},"01M6NVQHEZAMP2JB45CA6Y3G1B","canvas-update","https:\u002F\u002Fgithub.com\u002Fhaabe\u002Fmycelium\u002Fblob\u002Fmain\u002Ftests\u002Fbash\u002Ffixtures\u002Fcheck_5\u002Fmissing_canvas_in_mapping\u002Fplugins\u002Fmycelium\u002Fskills\u002Fcanvas-update\u002FSKILL.md",[],[30,102,103],"update","canvas update",{"skillNo":105,"name":98,"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":106,"categories":107,"keywords":108,"publishedAt":39},"01M6NVQDX6GEEHJ48WEPK0EG1Q","https:\u002F\u002Fgithub.com\u002Fhaabe\u002Fmycelium\u002Fblob\u002Fmain\u002Ftests\u002Fbash\u002Ffixtures\u002Fcheck_5\u002Fall_present\u002Fplugins\u002Fmycelium\u002Fskills\u002Fcanvas-update\u002FSKILL.md",[],[30,102,103],{"skillNo":110,"name":111,"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":112,"categories":113,"keywords":114,"publishedAt":39},"01M6NVQ5BH3VN7P9Q185Z2TMRN","ice-score","https:\u002F\u002Fgithub.com\u002Fhaabe\u002Fmycelium\u002Fblob\u002Fmain\u002Ftests\u002Fbash\u002Ffixtures\u002Fcheck_45\u002Fmissing_marker\u002Fplugins\u002Fmycelium\u002Fskills\u002Fice-score\u002FSKILL.md",[],[115],"ice score",{"skillNo":117,"name":118,"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":119,"categories":120,"keywords":121,"publishedAt":39},"01M6NVPTQY2QMDABA1GJW5H1EG","bvssh-check","https:\u002F\u002Fgithub.com\u002Fhaabe\u002Fmycelium\u002Fblob\u002Fmain\u002Ftests\u002Fbash\u002Ffixtures\u002Fcheck_45\u002Fmissing_marker\u002Fplugins\u002Fmycelium\u002Fskills\u002Fbvssh-check\u002FSKILL.md",[],[122,123],"bvssh check","check"]