Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
specscore
command
|
|
|
internal
|
|
|
rehearse/blocks
Package blocks defines the step-block executor contract shared by every rehearse block kind (bash, hurl, sql, dtql, graphql) plus the registry the runner dispatches through.
|
Package blocks defines the step-block executor contract shared by every rehearse block kind (bash, hurl, sql, dtql, graphql) plus the registry the runner dispatches through. |
|
rehearse/blocks/bash
Package bash implements the ```bash rehearse step block: the block body runs via `bash -euo pipefail` in the scenario's working directory; a non-zero exit fails the step (REQ: bash-block).
|
Package bash implements the ```bash rehearse step block: the block body runs via `bash -euo pipefail` in the scenario's working directory; a non-zero exit fails the step (REQ: bash-block). |
|
rehearse/blocks/directives
Package directives parses the trailing directive comments shared by the data-oriented rehearse blocks (`sql`, `dtql`): `-- assert-rows: <N>`, `-- assert-row-json: {...}` and `-- capture: <name> = <column>` (REQ: sql-block, REQ: dtql-block, REQ: context-bag), and applies the parsed assertions/captures to a query's result rows.
|
Package directives parses the trailing directive comments shared by the data-oriented rehearse blocks (`sql`, `dtql`): `-- assert-rows: <N>`, `-- assert-row-json: {...}` and `-- capture: <name> = <column>` (REQ: sql-block, REQ: dtql-block, REQ: context-bag), and applies the parsed assertions/captures to a query's result rows. |
|
rehearse/blocks/dtqlblock
Package dtqlblock implements the ```dtql rehearse step block: the block body is a DTQL query document (deserialized by dalgo's dtql package) executed against the SQLite store at `db=<path>` via the dalgo SQLite adapter (dalgo2sqlite), with the same trailing `-- assert-rows:` / `-- assert-row-json:` / `-- capture:` directives as the sql block (REQ: dtql-block).
|
Package dtqlblock implements the ```dtql rehearse step block: the block body is a DTQL query document (deserialized by dalgo's dtql package) executed against the SQLite store at `db=<path>` via the dalgo SQLite adapter (dalgo2sqlite), with the same trailing `-- assert-rows:` / `-- assert-row-json:` / `-- capture:` directives as the sql block (REQ: dtql-block). |
|
rehearse/blocks/fileblock
Package fileblock implements evaluation of file assertions parsed from rehearse scenario `### Assert: file` headings.
|
Package fileblock implements evaluation of file assertions parsed from rehearse scenario `### Assert: file` headings. |
|
rehearse/blocks/graphql
Package graphql implements the ```graphql rehearse step block: a GraphQL query with `url=<endpoint>` in the info string, an optional `-- variables: {...}` directive, plus `-- assert-jsonpath: <path> == <json-value>` and `-- capture-jsonpath: <name> = <path>` directives.
|
Package graphql implements the ```graphql rehearse step block: a GraphQL query with `url=<endpoint>` in the info string, an optional `-- variables: {...}` directive, plus `-- assert-jsonpath: <path> == <json-value>` and `-- capture-jsonpath: <name> = <path>` directives. |
|
rehearse/blocks/hurl
Package hurl implements the ```hurl rehearse step block: the block body is verbatim Hurl syntax delegated to the `hurl` binary in test mode — the runner does NOT implement an HTTP client (REQ: hurl-block).
|
Package hurl implements the ```hurl rehearse step block: the block body is verbatim Hurl syntax delegated to the `hurl` binary in test mode — the runner does NOT implement an HTTP client (REQ: hurl-block). |
|
rehearse/blocks/sqlblock
Package sqlblock implements the ```sql rehearse step block: the block's statement(s) run against the DSN from the info string (v0.3 driver: `sqlite:<path>` via the pure-Go driver already in go.mod), with trailing `-- assert-rows:` / `-- assert-row-json:` / `-- capture:` directives checked against the final statement's result rows (REQ: sql-block).
|
Package sqlblock implements the ```sql rehearse step block: the block's statement(s) run against the DSN from the info string (v0.3 driver: `sqlite:<path>` via the pure-Go driver already in go.mod), with trailing `-- assert-rows:` / `-- assert-row-json:` / `-- capture:` directives checked against the final statement's result rows (REQ: sql-block). |
|
rehearse/runner
Package runner discovers rehearse scenario files, executes their step blocks through the block-executor registry, and renders the run report (REQ: scenario-discovery, REQ: scenario-shape, REQ: run-report).
|
Package runner discovers rehearse scenario files, executes their step blocks through the block-executor registry, and renders the run report (REQ: scenario-discovery, REQ: scenario-shape, REQ: run-report). |
|
rehearse/scaffold
Package scaffold resolves AC references, extracts Given/When/Then text, and generates scaffold scenario files for the rehearse new command.
|
Package scaffold resolves AC references, extracts Given/When/Then text, and generates scaffold scenario files for the rehearse new command. |
|
rehearse/scenario
Package scenario parses markdown rehearse scenario files: body metadata (`**Verifies:**` / `**Status:**`) and fenced step blocks with info-string params (REQ: scenario-shape).
|
Package scenario parses markdown rehearse scenario files: body metadata (`**Verifies:**` / `**Status:**`) and fenced step blocks with info-string params (REQ: scenario-shape). |
|
studio/adapters
Package adapters defines the ingestion-adapter contract for SpecScore Studio, the registry of built-in adapters, and the pipeline that runs every adapter over every resolved workspace repo and stamps the shared fact fields centrally.
|
Package adapters defines the ingestion-adapter contract for SpecScore Studio, the registry of built-in adapters, and the pipeline that runs every adapter over every resolved workspace repo and stamps the shared fact fields centrally. |
|
studio/adapters/codegraph
Package codegraph is the CodeGrapher-snapshot ingestion adapter: it reads committed `codegraph/` snapshot recordsets (INGR encoding, inGitDB layout) and emits package entities and `derived` facts for `imports` edges at package granularity.
|
Package codegraph is the CodeGrapher-snapshot ingestion adapter: it reads committed `codegraph/` snapshot recordsets (INGR encoding, inGitDB layout) and emits package entities and `derived` facts for `imports` edges at package granularity. |
|
studio/adapters/manifests
Package manifests is the dependency-manifest ingestion adapter: it parses `go.mod` and `package.json` files at the repo root plus one nested level (e.g.
|
Package manifests is the dependency-manifest ingestion adapter: it parses `go.mod` and `package.json` files at the repo root plus one nested level (e.g. |
|
studio/adapters/registries
Package registries is the ops-registry ingestion adapter: it parses well-known ops registry files — `domains.json` (Sneat-ops shape) and curated `ecosystem*.yaml` maps — into domain/product entities and `declared` facts.
|
Package registries is the ops-registry ingestion adapter: it parses well-known ops registry files — `domains.json` (Sneat-ops shape) and curated `ecosystem*.yaml` maps — into domain/product entities and `declared` facts. |
|
studio/adapters/rehearse
Package rehearse is the rehearse-report ingestion adapter: it reads `.specscore/rehearse/latest.json` from the repo and emits `verified-behavior` facts — one `verified-by` and one `has-verification-status` pair for every scenario–AC combination whose status is `pass` or `fail`.
|
Package rehearse is the rehearse-report ingestion adapter: it reads `.specscore/rehearse/latest.json` from the repo and emits `verified-behavior` facts — one `verified-by` and one `has-verification-status` pair for every scenario–AC combination whose status is `pass` or `fail`. |
|
studio/adapters/specscore
Package specscore is the SpecScore spec-tree ingestion adapter: it parses `spec/` trees of repos managed by SpecScore (marked by a `specscore.yaml` at the repo root) into idea/feature entities and `declared` facts.
|
Package specscore is the SpecScore spec-tree ingestion adapter: it parses `spec/` trees of repos managed by SpecScore (marked by a `specscore.yaml` at the repo root) into idea/feature entities and `declared` facts. |
|
studio/ask
Package ask is SpecScore Studio's deterministic question router — the engine behind `specscore studio ask "<question>"`.
|
Package ask is SpecScore Studio's deterministic question router — the engine behind `specscore studio ask "<question>"`. |
|
studio/contradictions
Package contradictions computes SpecScore Studio's contradiction detectors as pure functions over the facts a `studio index`/`studio probe` run wrote into the fact store.
|
Package contradictions computes SpecScore Studio's contradiction detectors as pure functions over the facts a `studio index`/`studio probe` run wrote into the fact store. |
|
studio/fact
Package fact defines the SpecScore Studio fact model — the single record shape every ingestion adapter emits and the fact store persists — plus the stable-ID helpers used to mint entity references.
|
Package fact defines the SpecScore Studio fact model — the single record shape every ingestion adapter emits and the fact store persists — plus the stable-ID helpers used to mint entity references. |
|
studio/ingr
Package ingr writes SpecScore Studio facts as INGR recordsets — the same fixed-header/one-JSON-value-per-line encoding the CodeGrapher snapshots committed under codegraph/ use (and the codegraph adapter parses).
|
Package ingr writes SpecScore Studio facts as INGR recordsets — the same fixed-header/one-JSON-value-per-line encoding the CodeGrapher snapshots committed under codegraph/ use (and the codegraph adapter parses). |
|
studio/probe
Package probe runs live checks against the ecosystem and produces `verified-behavior` facts that merge into the same fact store `studio index` builds.
|
Package probe runs live checks against the ecosystem and produces `verified-behavior` facts that merge into the same fact store `studio index` builds. |
|
studio/repoid
Package repoid resolves stable Studio repository entity IDs.
|
Package repoid resolves stable Studio repository entity IDs. |
|
studio/resolve
Package resolve maps a brand, domain, repo slug, package, or product name to its canonical entity id by querying the fact store facts in memory.
|
Package resolve maps a brand, domain, repo slug, package, or product name to its canonical entity id by querying the fact store facts in memory. |
|
studio/store
Package store persists SpecScore Studio facts in a single-file SQLite database (pure-Go driver, house precedent) and answers the filter queries behind `specscore studio facts`.
|
Package store persists SpecScore Studio facts in a single-file SQLite database (pure-Go driver, house precedent) and answers the filter queries behind `specscore studio facts`. |
|
studio/workspace
Package workspace loads and resolves SpecScore Studio workspace files (studio.yaml): an ecosystem name plus a list of repo entries — directory paths or glob patterns, absolute or workspace-relative, each optionally carrying a per-repo `registries:` file list for the registries adapter.
|
Package workspace loads and resolves SpecScore Studio workspace files (studio.yaml): an ecosystem name plus a list of repo entries — directory paths or glob patterns, absolute or workspace-relative, each optionally carrying a per-repo `registries:` file list for the registries adapter. |
|
telemetry
Package telemetry is the single audit surface for all telemetry transmission from the specscore CLI.
|
Package telemetry is the single audit surface for all telemetry transmission from the specscore CLI. |
|
pkg
|
|
|
config
Package config resolves SpecScore configuration from layered sources.
|
Package config resolves SpecScore configuration from layered sources. |
|
consilium
Package consilium owns the deterministic consilium engine for the `specscore` CLI: the vote-schema types and validator, the roster resolver and validator, the gate-knob and roster config loaders for the `consilium:` block in specscore.yaml, and the gate-rule arbiter that turns a panel's votes into a deterministic verdict.
|
Package consilium owns the deterministic consilium engine for the `specscore` CLI: the vote-schema types and validator, the roster resolver and validator, the gate-knob and roster config loaders for the `consilium:` block in specscore.yaml, and the gate-rule arbiter that turns a panel's votes into a deterministic verdict. |
|
decision
Package decision — lifecycle transition orchestration for the Decision kind.
|
Package decision — lifecycle transition orchestration for the Decision kind. |
|
dryrun
Package dryrun is the shared mechanism behind `--dry-run` on every `specscore <kind> change-status` verb (see spec/features/cli/lifecycle-transitions/README.md#req-dry-run-mode).
|
Package dryrun is the shared mechanism behind `--dry-run` on every `specscore <kind> change-status` verb (see spec/features/cli/lifecycle-transitions/README.md#req-dry-run-mode). |
|
entity
Package entity parses and represents SpecScore entity artifacts (`*.entity.md` files under `spec/features/**`).
|
Package entity parses and represents SpecScore entity artifacts (`*.entity.md` files under `spec/features/**`). |
|
event
Package event owns the shared event-dispatch plumbing for the `specscore` CLI: the Subscriber extension point, the Event envelope type, the envelope validator, the fan-out dispatcher, the built-in subscriber implementations (JsonlWriter, NoOp, Exec), and the events: config block loader.
|
Package event owns the shared event-dispatch plumbing for the `specscore` CLI: the Subscriber extension point, the Event envelope type, the envelope validator, the fan-out dispatcher, the built-in subscriber implementations (JsonlWriter, NoOp, Exec), and the events: config block loader. |
|
exitcode
Package exitcode defines the shared exit code constants and error type used by all SpecScore CLI commands and library consumers.
|
Package exitcode defines the shared exit code constants and error type used by all SpecScore CLI commands and library consumers. |
|
feature
Package feature provides feature discovery, traversal, metadata, dependency resolution, and scaffolding.
|
Package feature provides feature discovery, traversal, metadata, dependency resolution, and scaffolding. |
|
gitremote
Package gitremote parses git remote URLs into their owner / repo / host components.
|
Package gitremote parses git remote URLs into their owner / repo / host components. |
|
graph
Package graph implements discovery, parsing, validation, scaffolding, and navigation for GraphSpec artifact trees consumed by the `specscore graph` command group.
|
Package graph implements discovery, parsing, validation, scaffolding, and navigation for GraphSpec artifact trees consumed by the `specscore graph` command group. |
|
idea
Package idea — orthogonal archival for the Idea kind.
|
Package idea — orthogonal archival for the Idea kind. |
|
ideapromote
Package ideapromote implements `specscore idea promote <slug>` — turning a sidekick seed (spec/ideas/seeds/<slug>.md) into a lint-clean Idea (spec/ideas/<slug>.md).
|
Package ideapromote implements `specscore idea promote <slug>` — turning a sidekick seed (spec/ideas/seeds/<slug>.md) into a lint-clean Idea (spec/ideas/<slug>.md). |
|
idearelocate
Package idearelocate implements cross-repo relocation of Idea and sidekick-seed artifacts per spec/features/cli/idea/relocate/README.md.
|
Package idearelocate implements cross-repo relocation of Idea and sidekick-seed artifacts per spec/features/cli/idea/relocate/README.md. |
|
issue
Package issue — lifecycle transition orchestration for the Issue kind.
|
Package issue — lifecycle transition orchestration for the Issue kind. |
|
journal
Package journal implements the SpecScore activity journal: an append-only, date-sharded event store plus on-demand day/week/month summary rollups.
|
Package journal implements the SpecScore activity journal: an append-only, date-sharded event store plus on-demand day/week/month summary rollups. |
|
lesson
Package lesson parses and scaffolds canonical directory Lessons at spec/lessons/<slug>/README.md and compatibility flat Lessons at spec/lessons/<slug>.md.
|
Package lesson parses and scaffolds canonical directory Lessons at spec/lessons/<slug>/README.md and compatibility flat Lessons at spec/lessons/<slug>.md. |
|
lifecycle
Package lifecycle hosts a kind-parameterized state machine for SpecScore artifact Status transitions.
|
Package lifecycle hosts a kind-parameterized state machine for SpecScore artifact Status transitions. |
|
lint
specscore:feature/cli/spec/lint
|
specscore:feature/cli/spec/lint |
|
plan
Package plan parses single-file Plan artifacts at spec/plans/<slug>.md per the SpecStudio plan-Feature contract (https://github.com/specscore/specstudio-skills/blob/main/spec/features/skills/plan/README.md).
|
Package plan parses single-file Plan artifacts at spec/plans/<slug>.md per the SpecStudio plan-Feature contract (https://github.com/specscore/specstudio-skills/blob/main/spec/features/skills/plan/README.md). |
|
projectdef
Package projectdef provides the specscore.yaml schema and read/write operations defined by the SpecScore Repo Config feature (https://specscore.md/repo-config).
|
Package projectdef provides the specscore.yaml schema and read/write operations defined by the SpecScore Repo Config feature (https://specscore.md/repo-config). |
|
property
Package property parses and represents SpecScore Property artifacts.
|
Package property parses and represents SpecScore Property artifacts. |
|
publication
Package publication implements durable publication policy config helpers.
|
Package publication implements durable publication policy config helpers. |
|
sidekick
Package sidekick scaffolds lint-clean sidekick-seed artifacts — the scaled-down Idea one-pagers parked under spec/ideas/seeds/.
|
Package sidekick scaffolds lint-clean sidekick-seed artifacts — the scaled-down Idea one-pagers parked under spec/ideas/seeds/. |
|
slug
Package slug provides shared slug-derivation helpers used across the SpecScore CLI.
|
Package slug provides shared slug-derivation helpers used across the SpecScore CLI. |
|
task
Package task defines the canonical task types, status enum, and related structures used by all SpecScore-based coordination tools.
|
Package task defines the canonical task types, status enum, and related structures used by all SpecScore-based coordination tools. |
Click to show internal directories.
Click to hide internal directories.