Documentation
¶
Overview ¶
Package spec hosts the ASDD interception layer: templates, constitution parsing, hook handlers, and the project scaffolding that ships with `gemba init --asdd` and `gemba spec new --kit`.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ClaudeMDTemplate string
View Source
var ConstitutionSchema string
View Source
var ConstitutionTemplate string
View Source
var HooksJSONTemplate string
View Source
var ImplementCommandTemplate string
View Source
var SpecMDTemplate string
View Source
var TasksCommandTemplate string
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package analyzer converts a rejected tasks.md / todo.md payload into a structured Proposal of beads (milestones / epics / stories) that the caller can review and optionally materialize via `bd create`.
|
Package analyzer converts a rejected tasks.md / todo.md payload into a structured Proposal of beads (milestones / epics / stories) that the caller can review and optionally materialize via `bd create`. |
|
Package apply executes a reconcile.Plan against bd, gated by the spec's nonce.
|
Package apply executes a reconcile.Plan against bd, gated by the spec's nonce. |
|
Package constitution parses the project constitution document.
|
Package constitution parses the project constitution document. |
|
Package hook implements the PreToolUse hook handlers that reject writes to tasks.md / todo.md in ASDD-strict projects.
|
Package hook implements the PreToolUse hook handlers that reject writes to tasks.md / todo.md in ASDD-strict projects. |
|
Package hooks implements operator-facing safety gates that wrap bd lifecycle events with spec-awareness.
|
Package hooks implements operator-facing safety gates that wrap bd lifecycle events with spec-awareness. |
|
Package lint implements constitution-driven lint rules.
|
Package lint implements constitution-driven lint rules. |
|
Package lockfile defines the spec ↔ bead mapping file written next to a spec.md.
|
Package lockfile defines the spec ↔ bead mapping file written next to a spec.md. |
|
Package parser provides parsing for the canonical ASDD Phase 2 spec.md format: YAML frontmatter followed by sectioned markdown.
|
Package parser provides parsing for the canonical ASDD Phase 2 spec.md format: YAML frontmatter followed by sectioned markdown. |
|
Package preflight implements `gemba spec preflight --slug <slug>`: the safety check the gemba-shipped /implement slash command runs before working a bead.
|
Package preflight implements `gemba spec preflight --slug <slug>`: the safety check the gemba-shipped /implement slash command runs before working a bead. |
|
Package promote provides decision-promotion plumbing for ASDD: bd mail threads tagged spec-decision:<slug> can be surfaced to a human as a PR-style unified diff that appends a new entry under a spec's `## Decisions` section.
|
Package promote provides decision-promotion plumbing for ASDD: bd mail threads tagged spec-decision:<slug> can be surfaced to a human as a PR-style unified diff that appends a new entry under a spec's `## Decisions` section. |
|
Package reconcile is the pure planner for the ASDD interception layer.
|
Package reconcile is the pure planner for the ASDD interception layer. |
|
Package scaffold writes ASDD project artifacts (slash commands, hooks, constitution, CLAUDE.md stanza) into a target project root.
|
Package scaffold writes ASDD project artifacts (slash commands, hooks, constitution, CLAUDE.md stanza) into a target project root. |
|
Package snapshot writes content-addressed, frozen copies of a spec.md.
|
Package snapshot writes content-addressed, frozen copies of a spec.md. |
Click to show internal directories.
Click to hide internal directories.