Skip to content
Back to skills

Odylith Casebook Bug Preflight

ASecurity

- 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

  • 36 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 12, 2026
ai-agentsgobashrailsbackendsecurity

Works with

  • claude code
  • cli

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add odylith/odylith --skill odylith-casebook-bug-preflight --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Odylith Casebook Bug Preflight?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Odylith Casebook Bug Preflight
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/odylith-odylith-casebook-bug-preflight-808c0ebf/badge)](https://www.skillsdirectory.com/skills/odylith-odylith-casebook-bug-preflight-808c0ebf)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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 learning `CB-104`. The rule travels through routed `spawn_agent` leaves 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

```bash
./.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 found` evidence into the active plan or handoff.
- If the slice already has a named failure mode or repeated-debug loop, escalate into `casebook-bug-capture` in 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`, and `invariant violated`.
- Keep `reproducibility` to one compact token such as `High`, `Medium`, `Low`,
  `Always`, `Intermittent`, or `Consistent`. Put repro commands and evidence in
  `trigger path`, `failure signature`, `environment`, or `description`.
- Run `odylith casebook validate --repo-root .` when checking source truth
  without rendering; `odylith casebook refresh` is 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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.