record

package
v0.6.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2026 License: MIT Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package record is the read side of `abcd <id>`: dispatch on a record id — iss-N, itd-N, spc-N, adr-N — and report what the record is, its links, and the concrete next move for its lifecycle state (spc-26). It is a leaf package over the capture, intent, and spec read paths plus a thin adr reader; nothing imports it back, and nothing here writes or knows a transport.

Index

Constants

This section is empty.

Variables

View Source
var IDRe = regexp.MustCompile(`^(iss|itd|spc|adr)-[0-9]+$`)

IDRe is the family gate: the only positional shapes the root command routes here. Anything else stays on the unknown-command path, byte-for-byte.

Functions

func RecommendedVerbPaths

func RecommendedVerbPaths() []string

RecommendedVerbPaths enumerates every abcd verb path the next-move table can emit — including verbs arriving via passed-through intent.Ready remedies — for the surface-side anti-drift test.

Types

type Description

type Description struct {
	ID        string            `json:"id"`
	Family    string            `json:"family"` // issue | intent | spec | adr
	Title     string            `json:"title"`
	Status    string            `json:"status"` // folder/bucket, directory-as-truth
	Path      string            `json:"path"`
	Links     map[string]string `json:"links,omitempty"`
	NextMoves []string          `json:"next_moves,omitempty"`
}

Description is the structured answer to "what is this, and what is my next move". Paths are repo-relative; Links carries the record's outbound edges (spec_id / intent / promoted_to / resolved_by.* / superseded_by) as present.

func Describe

func Describe(repoRoot, id string) (Description, error)

Describe locates id in its store (any status folder or bucket) and renders the read-only description. A shape-matching id found in no store is an error naming the stores searched; Describe never writes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL