Documentation
¶
Index ¶
- Variables
- func AddChapter(ctx context.Context, args []string, out io.Writer) error
- func AddClaim(_ context.Context, args []string, out io.Writer) error
- func AddDeck(_ context.Context, args []string, out io.Writer) error
- func AddFragment(ctx context.Context, args []string, out io.Writer) error
- func AddItem(_ context.Context, args []string, out io.Writer) error
- func AddLandmark(_ context.Context, args []string, out io.Writer) error
- func AddSection(ctx context.Context, args []string, out io.Writer) error
- func AddSlide(_ context.Context, args []string, out io.Writer) error
- func Citation(ctx context.Context, args []string, out io.Writer) error
- func Compare(ctx context.Context, args []string, out io.Writer) error
- func Cover(ctx context.Context, args []string, out io.Writer) error
- func Design(ctx context.Context, args []string, out io.Writer) error
- func Init(ctx context.Context, args []string, out io.Writer) error
- func InstallSkill(args []string, out io.Writer) error
- func Plan(ctx context.Context, args []string, out io.Writer) error
- func PrintHelp(out io.Writer)
- func Query(ctx context.Context, args []string, out io.Writer) error
- func RebaseEvidence(ctx context.Context, args []string, out io.Writer) error
- func Relation(ctx context.Context, args []string, out io.Writer) error
- func RemoveCoverage(ctx context.Context, args []string, out io.Writer) error
- func ReplaceCoverage(ctx context.Context, args []string, out io.Writer) error
- func Reply(_ context.Context, args []string, out io.Writer) error
- func Review(_ context.Context, args []string, out io.Writer) error
- func Serve(ctx context.Context, args []string, out io.Writer, openByDefault ...bool) error
- func SetFragmentContent(ctx context.Context, args []string, out io.Writer) error
- func SetSlideContent(_ context.Context, args []string, out io.Writer) error
- func Spec(args []string, out io.Writer) error
- func Status(ctx context.Context, args []string, out io.Writer) error
- func Story(ctx context.Context, args []string, out io.Writer) error
- func Thread(_ context.Context, args []string, out io.Writer) error
- func Upgrade(_ context.Context, args []string, out io.Writer) error
- func Validate(_ context.Context, args []string, out io.Writer) error
- func VerifyClaim(_ context.Context, args []string, out io.Writer) error
- func VersionString() string
- type AnchorFix
- type StatusError
Constants ¶
This section is empty.
Variables ¶
var ( Version = "0.2.0-dev" Commit = "" BuildDate = "" )
Version, Commit, and BuildDate describe the running binary. Release builds overwrite them with -ldflags -X; local builds keep the -dev default.
Functions ¶
func AddClaim ¶ added in v0.0.2
AddClaim records one falsifiable assertion without changing coverage. The evidence is intentionally repeated here as an assertion boundary: query can then prove whether those exact atoms are current and already mapped to the claim's narrative target.
func AddLandmark ¶ added in v0.0.2
AddLandmark creates an addressable place inside a fragment. Coverage can then target the returned path or URN with the ordinary cover command.
func Compare ¶ added in v0.0.6
Compare projects an incoming source comparison onto an existing Saga's evidence graph. Authored fragment bytes are never read for comparison.
func Cover ¶
Cover attaches diff evidence to a narrative target. os.Stdin is bound here rather than read inside the command so tests drive --batch deterministically.
func Design ¶ added in v0.1.0
Design dispatches the v3 technical-design authoring family. Each operation calls the same implementation used by root narrative authoring with a different physical hierarchy root.
func InstallSkill ¶
InstallSkill prints an agent-agnostic bootstrap prompt. The active coding agent owns the platform-specific skill location and format; the saga binary supplies the behavior contract without mutating the user's repository.
func Query ¶
Query executes one read-only application query and writes exactly one JSON value for every ordinary outcome, including help and invalid input. The returned StatusError only communicates the already-rendered exit status to the process entrypoint; callers must not print it.
func RebaseEvidence ¶ added in v0.1.0
RebaseEvidence refreshes selector base identities only after the current comparison proves that its base-independent product identity is unchanged.
func RemoveCoverage ¶ added in v0.0.4
func ReplaceCoverage ¶ added in v0.0.4
func Serve ¶
Serve runs the loopback reviewer. It is reached as both "serve" and "open": open launches a managed background reviewer and browser, while serve stays attached by default. The flag set is named after the command the user typed so its help describes that public behavior.
func SetFragmentContent ¶ added in v0.0.4
SetFragmentContent replaces a fragment entrypoint without asking authors to depend on the on-disk package layout. stdin is bound at this boundary so the implementation remains deterministic in tests.
func SetSlideContent ¶ added in v0.1.0
func VerifyClaim ¶ added in v0.0.2
VerifyClaim appends one independent result. It never edits the claim or an earlier verification, so disagreement and changing evidence remain visible in Git history and through the query API.
func VersionString ¶
func VersionString() string
VersionString renders the version plus whatever build metadata was injected.
Types ¶
type AnchorFix ¶ added in v0.0.2
type AnchorFix struct {
Path string `json:"path"`
Line int `json:"line"`
Heading string `json:"heading"`
Anchor string `json:"anchor"`
}
AnchorFix is one heading that --fix gave a stable anchor.
type StatusError ¶
type StatusError struct{ Code int }
func (*StatusError) Error ¶
func (e *StatusError) Error() string
Source Files
¶
- claims.go
- cli.go
- compare.go
- content.go
- cover.go
- coverage_naming.go
- coverage_repair.go
- design.go
- landmark.go
- living_mutation.go
- living_plan.go
- living_requirements.go
- mutation_output.go
- query.go
- query_reviewapp.go
- rebase_evidence.go
- reviewer_bootstrap.go
- server_runtime.go
- server_runtime_detach_unix.go
- slides.go
- upgrade.go