Skip to main content

Module shape

Module shape 

Source
Expand description

speccoder shape: a person’s words made into a requirement, a bug line, a quick change or a note. One model call proposes; code decides what the proposal added, dropped and assumed (speccoder_core::shape). Nothing is written: the field’s own sheet or command writes what the person accepts.

Constants§

FIELDS
The fields Shape helps with: text that becomes the judge or an instruction. A person’s own word on the record (a reason, a ruling) is not among them.

Functions§

findings
The model-free writing check of text in field: what the app shows under the field as the person types, and shape --check.
is_requirement
Whether field’s text is a requirement the writing check reads as one.
judge
What code makes of a proposal the person changed in the Shape sheet (kept, asked, removed, added back): the diff against their words, the added values no remaining assumption explains, where each sentence went, and the writing check — the same rules as the first proposal.
report
What code makes of the model’s answer: the diff (against the back translation when the person wrote in another language), the coverage, unexplained additions and the writing check.
shape
Shapes text for field in the project at path, with the model in its speccoder.toml.
shape_with
shape with provider answering the model call.