/mycelium:cycle-renderfrom mycelium
Renders `.claude/canvas/cycle-history.yml` as a Gantt chart and outcome distribution pie chart (or ASCII/JSON). Read-only; consults attribution registry for consent and privacy gating.
Ships in mycelium. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Read-only render of .claude/canvas/cycle-history.yml as gantt + pie + (optionally) json. Third specialist in the render fleet. See ${CLAUDE_PLUGIN_ROOT}/engine/render-conventions.md for shared conventions.
/mycelium:render --view traceability (deferred to Phase 4a–4d research-first methodology)./mycelium:retrospective, /mycelium:ice-score (on discard), or /mycelium:launch-tier (on launch). This skill is read-only./mycelium:framework-health. cycle-render emits one visualization piece; framework-health is the broader audit.Declared: YES
| Canvas file | Identifier-bearing fields | Frequency |
|---|---|---|
.claude/canvas/cycle-history.yml | learnings.process prose; learnings.framework prose; related_corrections references | mid (cohort-related observation cycles directly reference participants) |
$MYCELIUM_ATTRIBUTION_REGISTRY env var (canonical) or .claude/memory/attribution-registry.yml (fallback) | people: block with name+consent+note per entry | read-only consultation; never rendered |
Cycle 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.
Per engine/render-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).
In 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.
Per engine/render-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.
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.
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.
Maintainer literal: a cycle prose mentions "Håvard's Torres-shape question", registry {name: "Håvard", consent: public_ok} → renders literally.
Identifier not in registry → fail loud: a future cycle adds a tester never registered → fail-loud per engine/render-conventions.md. The upstream fix is in /mycelium:retrospective (consult registry on cycle recording); cycle-render is the downstream gate.
tests/bash/fixtures/cycle-render/redaction-public-ok-literal-gantt.ymltests/bash/fixtures/cycle-render/redaction-generic-only-anon-gantt.ymltests/bash/fixtures/cycle-render/redaction-public-maintainer.ymltests/bash/fixtures/cycle-render/redaction-no-registry-entry-fail-loud.ymltests/bash/fixtures/cycle-render/redaction-carve-out-note-footnote.yml.claude/canvas/cycle-history.yml with the Read tool. Full read; not limit:1.engine/render-conventions.md#registry-path-resolution: $MYCELIUM_ATTRIBUTION_REGISTRY env var first; fall back to .claude/memory/attribution-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/cohort only.engine/render-conventions.md#canvas-state-timestamp-resolution: _meta.last_validated if present; fall back to top-level last_updated:.| Arg | Default | Values | Effect |
|---|---|---|---|
--format | mermaid | mermaid | ascii | json | Output format. markdown-table and markdown-list are NOT supported (gantt doesn't map cleanly); fail loud per engine/render-conventions.md#format-support-negotiation-global-rule. |
--view | both | gantt | pie | both | Which diagram(s) to emit. |
--theme | base | base | dark | Theme. dark is the WCAG-by-construction opt-in per engine/render-conventions.md#wcag-aa-theme-convention. |
--since | null | ISO date | Filter cycles whose started_at is on or after this date. |
--cycle-class | all | product-leaf | meta-dogfood | observation | all | Filter by cycle_class field. |
--no-identifiers | false | bool | Force all name references to redact regardless of consent state. |
Read cycles array. Apply --since and --cycle-class filters. Sort by started_at. If filtered set is empty:
--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)./mycelium:retrospective.Per engine/render-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:
people:.Per engine/render-conventions.md#staleness-check-distinction:
⚠ STALE shape.completed_at BUT no cycle entry yet → use ℹ Pending retrospective shape. Render proceeds normally; informational not error.--view gantt|both)Per cycle in filtered set:
meta-dogfood, observation, product-leaf).c001 from cycle-001).engine/render-conventions.md#mermaid-label-escape-rules).started_at.completed_at minus started_at (default 1d if missing).done for actual.outcome: success AND terminal_state: launchedactive for in-progress (no completed_at)crit for actual.outcome: failure OR terminal_state: killed--view pie|both)Sum actual.outcome distribution across the filtered set: success / partial / failure / archived / killed (per terminal_state fallback when actual.outcome absent). Honest small-N display: if total <5, prepend a header note Note: N=<total>; distribution shape may not be load-bearing at this sample size.
Format mermaid (default) — gantt + pie with WCAG AA themes.
Use frontmatter config syntax per engine/render-conventions.md#mermaid-frontmatter-syntax-preferred. --theme dark opt-in.
---
config:
theme: base
themeVariables:
sectionBkgColor: '#f5f5f5'
altSectionBkgColor: '#e8f5e9'
gridColor: '#666666'
doneTaskBkgColor: '#a5d6a7'
doneTaskBorderColor: '#1b5e20'
activeTaskBkgColor: '#90caf9'
activeTaskBorderColor: '#0d47a1'
critBkgColor: '#ef9a9a'
critBorderColor: '#b71c1c'
taskTextColor: '#1a1a1a'
taskTextDarkColor: '#1a1a1a'
taskTextOutsideColor: '#1a1a1a'
taskTextLightColor: '#1a1a1a'
titleColor: '#1a1a1a'
---
gantt
title Cycle History (filtered N=<count>)
dateFormat YYYY-MM-DD
section meta-dogfood
cycle-001 ruff/coverage cleanup :done, c001, 2026-05-03, 1d
cycle-002 AP#7 enforcement :done, c002, 2026-05-09, 1d
section observation
cycle-003 first-week observation :done, c003, 2026-05-14, 11d
---
config:
theme: base
themeVariables:
pie1: '#a5d6a7'
pie2: '#fff59d'
pie3: '#ef9a9a'
pieTitleTextColor: '#1a1a1a'
pieSectionTextColor: '#1a1a1a'
pieLegendTextColor: '#1a1a1a'
pieStrokeColor: '#333333'
pieOuterStrokeColor: '#333333'
---
pie title Outcome distribution
"success" : 5
"partial" : 3
"failure" : 0
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/partial/failure based on actual.outcome). The :crit color is currently reused for actual.outcome: failure AND terminal_state: killed; a --status-mapping <strict|loose> future arg could disambiguate (open implementation question).
Format ascii — terminal-friendly:
Cycle History (filtered N=8, 2026-05-03 to 2026-06-05)
═══════════════════════════════════════════════════════════
meta-dogfood (7)
cycle-001 ruff/coverage cleanup 2026-05-03 [done]
cycle-002 AP#7 enforcement 2026-05-09 [done]
cycle-004 opp-007 tech-discovery 2026-05-31 [partial]
...
observation (1)
cycle-003 first-week observation 2026-05-14 [done] 11d
Outcome distribution:
success: ████████████ 5
partial: ████████ 3
failure: (none) 0
Format json — external-system integration:
{
"schema_version": 1,
"render": "cycle",
"source": ".claude/canvas/cycle-history.yml",
"source_last_validated": "<YYYY-MM-DD>",
"filter": {"since": null, "cycle_class": "all"},
"cycles": [
{
"cycle_id": "cycle-001",
"cycle_class": "meta-dogfood",
"started_at": "2026-05-03T20:00:00Z",
"completed_at": "2026-05-03T22:00:00Z",
"terminal_state": "launched",
"outcome": "success",
"label": "ruff/coverage cleanup"
}
],
"distribution": {"success": 5, "partial": 3, "failure": 0},
"identifier_map": {},
"dropped_fields": ["predicted", "actual.user_metrics", "calibration", "learnings", "deliverables", "related_corrections"]
}
mermaid format)Pipe each block you just emitted (gantt and/or pie) through the static validator before showing it:
printf '%s' "$DIAGRAM" | python3 ${CLAUDE_PLUGIN_ROOT}/scripts/validate_mermaid.py -
It checks the two things you cannot check by eye: state-id consistency (F11) and WCAG AA contrast of every themeVariables foreground/background 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).
Exit 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.
Visual 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.)
Per engine/render-conventions.md:
7 meta-dogfood + 1 observation + 0 product-leaf). Honest dark-data on product-leaf: 0 is the canonical case for early-stage dogfood projects.predicted.ice_score, predicted.feasibility_risk, actual.user_metrics, actual.dora_metrics, calibration, full learnings prose, deliverables, related_corrections.note:.--format mermaid only.--view both. Emit pie even when small N — honest "5/3/0" is load-bearing even when the chart looks sparse. Small-N header note required at N<5./mycelium:retrospective. Do NOT error.--no-identifiers=true.Before emitting:
0 product-leaf as honest dark data, not a clean record.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.completed_at is informational, not an error./mycelium:retrospective./mycelium:framework-health.--view traceability (deferred).tests/bash/fixtures/cycle-render/empty-history.yml → assert placeholdertests/bash/fixtures/cycle-render/single-cycle.yml → assert gantt + pie with 1 entrytests/bash/fixtures/cycle-render/since-filter.yml → assert --since 2026-06-01 excludes earliertests/bash/fixtures/cycle-render/cycle-class-filter.yml → assert --cycle-class product-leaf returns honest-dark placeholder when N=0tests/bash/fixtures/cycle-render/view-pie-only.yml → assert --view pie does not emit gantttests/bash/fixtures/cycle-render/pending-retrospective.yml → assert informational ℹ Pending retrospective shapetests/bash/fixtures/cycle-render/canvas-stale.yml → assert ⚠ STALE shapetests/bash/fixtures/cycle-render/redaction-public-ok-literal-gantt.ymltests/bash/fixtures/cycle-render/redaction-generic-only-anon-gantt.ymltests/bash/fixtures/cycle-render/redaction-no-registry-entry-fail-loud.ymlcycle_class: product-leaf cycles inform delivery metrics)engine/render-conventions.md#wcag-aa-theme-convention)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
gantt-chart, pie-chart, cycle-history, attribution-registry, mycelium
npx claudepluginhub haabe/mycelium --plugin mycelium63 skills in this plugin
/a11y-checkAccessibility audit, scoped to the surfaces a product actually has. Detects web / rendered_markdown / terminal / native_app / video_audio / document / headless, then applies only the criteria that bind. WCAG 2.1 AA in full for web; not at all for headless./adoptBring Mycelium into a project that already has code. Detects that the repo predates the framework, asks before touching anything, then reads the codebase to draft what it CAN establish (delivery, solution shape) and — the actual point — names what it cannot (purpose, strategy, real user evidence). The output is a discovery backlog with a head start, never a filled canvas./assumption-testDesign the smallest viable test to validate or invalidate a critical assumption. Based on Torres's assumption testing framework, organized by Gilad's AFTER model (Assessment → Fact-Finding → Tests → Experiments → Release Results)./bias-checkUse before any research activity or significant decision. Reviews cognitive biases relevant to the current stage./bvssh-checkUse to evaluate whether current work aligns with Better Value Sooner Safer Happier. Run at diamond completion and periodically./canvas-healthLint canvas files for staleness, missing fields, inconsistent evidence types, and orphaned references. Run periodically or before major transitions.Other plugins' skills for the same job