Skip to main content

Module new_project

Module new_project 

Source
Expand description

A new project’s plan: the exact commands that make an empty folder (or a clean repository) a project speccoder can judge — the stack’s own scaffold, the spec format’s own init, speccoder init --yes and one commit as the person — with what each touches, whether it reaches the network, and the folder as it was seen. The person confirms this plan; the runtime runs exactly it, bound to its digest.

Structs§

ExtensionChoice
A Spec Kit extension the person chose.
FormatOption
A spec format the plan can initialise, and its tool’s state.
GitIdentity
The person’s git identity.
NewChoices
What the person chose; with the folder, everything the plan follows from.
NewProjectReport
The new_project payload.
ObservedFolder
The folder and the tools as the plan saw them.
PlanRefusal
Why the plan cannot run, and the fix.
PlanStep
One command of the plan.
PlanStepResult
One step’s outcome.
ProjectPlan
The plan.
SandboxNote
The OS sandbox the steps run in.
StackOption
A stack’s tool on this machine.
StackPick
How a stack was chosen.
UndoOffer
What Undo would do.

Enums§

ExtensionKind
What an extension source is.
PlanStepState
A step’s state in a run.
ProjectMode
Where the project is made.
Stack
A stack the plan can scaffold, or none.
StepAccess
Whether a step stays on the machine.

Constants§

LOCAL_LIMIT_S
The time limit of a local step, seconds.
NETWORK_LIMIT_S
The time limit of a network step, seconds.
SLUG_MAX
The longest folder name.

Functions§

ascii_fold
The ASCII fold of text: decomposed, marks dropped, non-ASCII gone.
slug
The folder name for an idea: the first five significant words, ASCII-folded, lowercase [a-z0-9-], at most SLUG_MAX characters; project when nothing is left.
suggest_stack
The stack an idea suggests among the installed ones, with its reason. A named language wins over a kind of software (CLI, web, API); a stack whose tool is not installed is never suggested; with none installed: Stack::None.