Skip to content

docs: DD-017 Phase 4 — parametric-programs capability/disclosure surface + guide - #420

Merged
sobechestnut-dev merged 1 commit into
devfrom
docs/dd017-phase4
Aug 28, 2026
Merged

docs: DD-017 Phase 4 — parametric-programs capability/disclosure surface + guide#420
sobechestnut-dev merged 1 commit into
devfrom
docs/dd017-phase4

Conversation

@sobechestnut-dev

Copy link
Copy Markdown
Contributor

DD-017 Phase 4 — capability/disclosure surface + docs

The final DD-017 phase (§5.4): document the RS274NGC programming layer shipped in v0.18.0 so consumers can discover and use it. No engine change — docs only.

New user-facing guide

docs/manual/concept-parametric-programs.md — audience-first (a CNC/LinuxCNC/CAM tool builder): what a parametric program is, a worked bolt-circle while-loop example, what runs (parameters / expressions / control flow / subroutines), the "it costs nothing on ordinary files" gate, the honesty model (parametricProgram known/approximated/unavailable), and the maxProgramIterations/maxCallDepth bounds + scope limits. Follows USER_FACING_DOCS_STYLE.md.

Compatibility coverage

docs/compatibility/gcode-motion-coverage.md gains an RS274NGC parametric programs section: a construct-by-construct support table with the exact disclosure code for each failure mode (rs274-uninitialized-param, rs274-bad-expression, rs274-non-finite-value, rs274-iteration-limit, rs274-call-depth, rs274-unknown-sub, rs274-duplicate-sub, rs274-misplaced-control, rs274-unsupported-sysparam), plus the bounds + capability tiers.

Capability model + stale-status fixes

  • Added parametricProgram to the capability-model concept page with a plain-language honesty note.
  • Refreshed stale statuses now that phase 7 shipped: the epic: CNC / laser / plotter (non-extrusion) toolpath coverage #189 epic row (the "LinuxCNC O-word/params/expressions" gap is closed), the DD index (DD-017 Proposed → Accepted/shipped v0.18.0), and DD-017's own status header + Phase 3 & 4 decision-log entries.

Links verified (docs:links OK, 184), prettier clean. This completes DD-017.

🤖 Generated with Claude Code

…ace + guide

Document the shipped RS274NGC programming layer (v0.18.0) for consumers:
- New manual guide docs/manual/concept-parametric-programs.md — worked
  bolt-circle example, what runs, the parametricProgram honesty tiers, the
  maxProgramIterations/maxCallDepth bounds, and the scope limits.
- Compatibility coverage: a construct-by-construct table + the full rs274-*
  warning-code set in docs/compatibility/gcode-motion-coverage.md.
- Added parametricProgram to the capability-model concept page.
- Refreshed stale statuses: the #189 epic row (O-word/params gap now closed →
  phase 7 shipped v0.18.0), the DD index (DD-017 Proposed → Accepted/shipped),
  and DD-017's own status header + Phase 3/4 decision-log entries.

No engine change. Follows docs/USER_FACING_DOCS_STYLE.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@sobechestnut-dev
sobechestnut-dev merged commit 39d7cd1 into dev Aug 28, 2026
4 checks passed
@sobechestnut-dev
sobechestnut-dev deleted the docs/dd017-phase4 branch August 28, 2026 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant