Interface: SpecListEntry
Defined in: packages/core/src/application/use-cases/list-specs.ts:15
A spec entry returned by ListSpecs, with resolved title and optional summary.
Properties
metadataStatus?
readonlyoptionalmetadataStatus?:SpecMetadataStatus
Defined in: packages/core/src/application/use-cases/list-specs.ts:39
Metadata freshness status, present only when includeMetadataStatus was requested.
fresh: metadata exists, is structurally valid, and all content hashes match current filesstale: metadata exists and is valid but hashes are missing or don't matchinvalid: metadata file exists but fails structural validationmissing: nometadata.jsonfile
path
readonlypath:string
Defined in: packages/core/src/application/use-cases/list-specs.ts:19
The spec's capability path within the workspace (e.g. auth/login).
summary?
readonlyoptionalsummary?:string
Defined in: packages/core/src/application/use-cases/list-specs.ts:31
Short summary, present only when includeSummary was requested and a
summary could be resolved. Sources in priority order:
descriptionfield frommetadata.json- Extracted from
spec.mdvia extractSpecSummary
title
readonlytitle:string
Defined in: packages/core/src/application/use-cases/list-specs.ts:24
Human-readable title: the title field from metadata.json when
present and non-empty, otherwise the last segment of the capability path.
workspace
readonlyworkspace:string
Defined in: packages/core/src/application/use-cases/list-specs.ts:17
The workspace this spec belongs to.