odylith-casebook-bug-preflight
暂无简介
- License 许可
- MIT
- 所属仓库
- odylith/odylith
- 最近更新
- 2026-10-25
- Stars
- ★ 36
- Forks
- 3
03 SKILL.md 正文
odylith-casebook-bug-preflight
CLI-First Non-Negotiable
- CLI-first is non-negotiable for both Codex and Claude Code. Remove all hand-authoring for places where Odylith CLI should be doing the heavy-lifting. When an Odylith CLI command exists for an operation, you must call the CLI command and you must not hand-edit governed files the CLI owns. Hand-authoring governed truth where a CLI exists is a hard policy violation, not a stylistic preference. The authoritative policy, CLI surface enumeration, allowed hand-edit surfaces, and failure-mode handling live in
odylith/agents-guidelines/CLI_FIRST_POLICY.md, anchored by Casebook learningCB-104. The rule travels through routedspawn_agentleaves on Codex and Task-tool subagents on Claude Code, so delegated work inherits the same contract.
Use before any substantive fix, debug loop, or governed closeout slice that might need durable failure memory so the relevant bug history, workstream links, component links, and validation surfaces are grounded first.
Canonical Commands
./.odylith/bin/odylith context-engine --repo-root . governance-slice --working-tree
./.odylith/bin/odylith context-engine --repo-root . impact <paths...>
./.odylith/bin/odylith sync --repo-root . --check-only --check-clean
Rules
- Check existing Casebook entries before opening new bug work.
- Governance-learning: treat preflight as fail-closed for durable learning if a named failure mode, escaped defect, failed mechanism, failed simulation, live repro, bad generated artifact, semantic drift, quality-gate failure, latency breach, validator miss, or repeated-debug loop is present, the slice must link to existing Casebook truth or capture/update it before continuing.
- Read prior failed mechanisms, failed fix attempts, rejected approaches, guardrails, and validation history before editing. Do not repeat a fix path that already failed; update the governed record with the new hypothesis and mechanism-level learning instead.
- Search the related workstream, components, diagrams, and validation obligations alongside the bug history so you can decide whether to update an existing bug, reopen it, or capture a genuinely new failure mode.
- Carry related bug ids or explicit
no related bug foundevidence into the active plan or handoff. - If the slice already has a named failure mode or repeated-debug loop, escalate into
casebook-bug-capturein the same turn instead of deferring durable bug memory. - Before invoking
casebook-bug-capture, gather the minimum intake evidence the backend now requires:component,reproducibility,impact,environment,detected by,failure signature,trigger path,ownership,blast radius,SLO/SLA impact,data risk,security/compliance, andinvariant violated. - Keep
reproducibilityto one compact token such asHigh,Medium,Low,Always,Intermittent, orConsistent. Put repro commands and evidence intrigger path,failure signature,environment, ordescription. - Run
odylith casebook validate --repo-root .when checking source truth without rendering;odylith casebook refreshis expected to stop before generated writes when source validation fails. - If that evidence is still missing, keep the slice in investigation mode instead of creating a new bug record with partial or placeholder truth.
04 同仓库更多 Skills
odylith-version
Inspect the pinned, active, and locally available Odylith versions.
odylith-sync
Refresh governed Odylith surfaces for the current changed slice.
odylith-subagent-router
Choose local execution versus bounded delegation for Odylith slices and shape routed payloads.
odylith-subagent-orchestrator
Plan Odylith delegation ownership, bounded fanout, and merge-safe orchestration.
odylith-start
Run the repo-local Odylith startup contract first, before context/search fan out.
odylith-show-me
Use when the operator asks what Odylith can do for a repo, requests an advisory repo demo, or asks for the clean scenario-aware show-me output.