gstack/diagnose
Milan 794e7ead04 feat: diagnose learns and reuses workflow maps, env quirks across sessions
New learnings the skill saves after each session:
- Workflow maps (architecture type, key: workflow-FLOW_NAME) — the most
  expensive artifact to build (10-15 tool calls). Compact arrow notation
  with file:line references. Future sessions reuse instead of re-tracing.
- Environment quirks (operational type, key: env-*) — database host
  mappings, staging/prod gotchas. Prevents the wrong-database trap.

New learnings the skill consumes at start:
- Phase 0-pre now loads ALL learnings (limit 20) via gstack-learnings-search,
  not just env-profile. Explicitly looks for workflow-*, env-*, and pitfall
  learnings relevant to the current issue.
- Phase 1f checks for cached workflow maps BEFORE building from scratch.
  If a matching workflow-* learning exists, starts from it and spot-checks
  2-3 file:line refs instead of re-reading all the code.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 20:12:43 -07:00
..
SKILL.md feat: diagnose learns and reuses workflow maps, env quirks across sessions 2026-04-08 20:12:43 -07:00
SKILL.md.tmpl feat: diagnose learns and reuses workflow maps, env quirks across sessions 2026-04-08 20:12:43 -07:00