← Files Computable Systems EngineeringARCHIVED FILE

docs/workbench/README.md

12.1 KB · Dec 3, 2026 · 18:30 UTC

↓ Download file

See the change to this file →

# Capability completion ledger

The workbench is in development. Physical composition and selected configuration
is the only admitted capability. No capability is qualified as complete.

The development checkpoint includes the native editor, original-kit physical
SVGs, Git-backed project history, and the CLI and application adapters.
The signed browser and MCP Apps component completed a local reference-host
rehearsal. Live use in Codex desktop and ChatGPT and deployed compute
restart recovery are still pending. See the [evidence summary](qualification-evidence.md)
and [resume note](resume.md) for the release boundary.

`parity.json` is the operation-level delivery ledger. Its layers cover source,
meaning, visuals, direct interaction, each agent/application interface,
persistence, validation and exports. `entrypoints.json` preserves command
declarations found across main, the supplied dirty checkout, the historical
diagram work and the hosted branch. Semantic reconciliation of that union is
still in progress; declarations are not a completeness or execution proof.

Run `python3 scripts/workbench_parity.py` for ledger consistency and evidence
freshness. Run it with `--require-complete` for the release gate. A consistent
incomplete ledger passes inspection and fails the release gate. This checker
does not authenticate results or engineer acceptance.

Only one capability can be active. A later capability cannot become active or
close while an earlier one remains open. Shared changes reopen affected evidence
when its bound source hashes no longer match. Required host or visual evidence
cannot be replaced by a backend test.

## Physical composition increment

The admitted scope is the union of existing composition and configuration
support, including literal multiplicity and supported inherited/redefined
selection. The older five-family renderer's narrower exclusions are interface
gaps to close, not permission to remove existing engineering support.

### Choose a physical composition operation

Use the contract for the requested operation. Inspect the exact candidate against
the current source and retained scope before an authorized save. Review the
resulting revision at reading size and exercise the requested action in its
intended host when available.

| Requested work | Contract |
|---|---|
| Read, render or navigate a saved definition or usage view | [Saved native diagrams](composition-diagrams.md) and [diagram navigation](composition-navigation.md) |
| Preview/save rename, layout or restoration | [Local interaction](composition-interaction.md) and [Git persistence](composition-persistence.md) |
| Set finite bounds | [Multiplicity](composition-multiplicity.md) |
| Create an owned definition with its view occurrence | [Owned definition creation](composition-creation.md) |
| Create a usage | [Part-usage creation](composition-usage-creation.md) |
| Set explicit usage types | [Usage typing](composition-typing.md) |
| Move a declaration or subtree | [Ownership changes](composition-ownership.md) |
| Remove a declaration | [Removal](composition-removal.md) |
| Create the first native root and view | [Initial project authoring](composition-initial-project.md) |
| Inspect source ownership and retained roles | [Role inspection](composition-role-inspection.md) |

For changed ownership, include the effects on each affected view. Preserve
reference spelling, original masters, existing geometry outside the change and
independently retained scope. For a first save, retain the prospective UUID and
exact checked request for recovery. See the operation contracts for native
identity, persistence and refusal cases, and the
[qualification evidence](qualification-evidence.md) for which host journeys ran.

### Implementation and evidence

The implementation exposes Pilot-resolved declaration/name/reference/document
ranges, explicitly in UTF-16 coordinates. `scripts/composition_edit.py` inspects
one source or an explicit text bundle and prepares a rename using those ranges.
An independent reparse checks all extracted native facts and resolved reference
correspondence. Engineering IDs and project registry IDs survive the operation.

The [native-name adapter](composition-native-names.md) binds exact source Name
segments through native Memberships, preserving aliases and short IDs across
qualified, quoted and root-name edits. Diagram and retained-scope bindings use
the same native identity change; a presentation alias remains independent.

The checked candidate prepares changes for the separate Git transaction.
Supported documentary binding updates include native CSE workflow and view
records and linked presentation labels. The transaction preserves plain prose,
logical IDs, unaffected files, spacing and line endings. Unsupported structured
records are refused when their binding semantics are unavailable. The parity
matrix tracks those open adapter obligations.

Retained configuration scopes keep their exact bytes and digest. A candidate
lists affected scope paths for reconciliation and reruns the existing native
configuration checker. A stale native binding cannot keep an earlier pass,
including after reconstructing the candidate with its registry. This does not
accept new scope bytes or infer selection from a rename.

A [local Git transaction reference](composition-persistence.md) now persists
this candidate path, its registry and supported companions. It provides atomic
head publication, monotonic restoration and retry receipts. Local process
restart and portable Git history are checked. Live remote recovery and
application acceptance remain open. The selected bare Git directory
is server-side storage, not a filename supplied inside a model bundle.

The [saved physical diagram path](composition-diagrams.md) now renders native
definition hierarchies and usage composition with literal bounds, exact
unresolved-bound syntax, original SVG frames and saved DejaVu typography.
The reader selects and inspects actual element bindings. Its
[overview/readable navigation](composition-navigation.md) operates on that same
saved SVG in the editor and standalone CLI artifact, with a corresponding site
callback; native fonts and stored geometry retain their reading-size authority.
Layout transactions preserve SysML and identities. The connected editor uses
that same reader for its admitted operations; remaining graphical operations
stay open.

[Owned definition creation](composition-creation.md) adds a native definition,
registry UUID, selected-view occurrence and original-kit frame/route in one
checked candidate. Existing geometry, appearance and retained scope remain
intact. [Part-usage creation](composition-usage-creation.md) and
[explicit typing](composition-typing.md) share that same native transaction,
retained scope and original-kit reader. Later package/root/view authoring remains
separate from these owned-declaration operations.

[Initial project authoring](composition-initial-project.md) creates the first
definition or ordinary usage and its physical view with a supplied stable UUID.
The source CLI, direct form, site callbacks and supplied MCP client use one
checked native candidate and no-replace first Git transaction. A global root
keeps its unnamed namespace; a root usage has no physical parent, no explicit
type and native default `1..1`. Recovery retains the exact first request and
hands off to the existing saved editor without resetting later history.
Local/native/browser and official-SDK evidence remains distinct from production
MCP, actual applications and private hosted acceptance. No capability closes here.

The [role inspector](composition-role-inspection.md) adds source-bound declaration
and retained-role tables beside the unchanged ownership SVG. The local reader,
controller, inspection CLI and site callbacks preserve native owner versus
selected context, full findings and fixed draft occurrences. Its synthetic
fixtures and connected execution receipts remain distinct from MCP, private
hosted persistence and actual application acceptance, which stay open.

The [physical host contract](composition-host-contract.md) binds the next MCP
and component work to that same native reader and saved project. It specifies
original-font refusal, current selection/draft context, exact retry recovery,
private durable publication and actual-host acceptance. The local SDK experiment
informs this contract; it does not close a production interface or capability.

The [shared application provider](composition-provider.md) now connects the
controller to loopback or an explicitly supplied MCP client. Shared context,
async exact-intent recovery, matching-receipt checks and saved-font readiness
remain in that controller. The local MCP reference host checks
revision-bound artifact delivery. The private deployment and actual Codex and
ChatGPT acceptance remain required completion gates.

The [diagram reader](composition-navigation.md) supports overview, readable
size, branch folding and guarded reveal. The [configuration review](../configuration-review.md)
shows saved and candidate findings with separate revision identities and the
retained scope digest. The [parity matrix](parity.json) records the local test
evidence and remaining physical composition gaps.

For the explicit bundle transport, see [the bundle contract](composition-bundle.md).
Bundle file names label supplied texts; they are never instructions to read or
write another disk path. The source mapping retains each file's original text.

Project registry entries map durable UUIDs to exact native identities. Import
assigns IDs under a project UUID; subsequent commands must preserve the saved
registry. An externally changed source that disagrees with the registry requires
explicit reconciliation. Source hashes here identify candidates; they are not
the monotonic project revision needed for durable transactions and undo.

## Preservation

`scripts/workbench_inventory.py` writes an exclusive-create source receipt to a
selected ignored directory. It records every tracked and nonignored untracked
file's hash or symlink text, Git HEAD, dirty status and command declarations.
It follows no symlink into private material and stores no raw sources.

Keep machine-specific receipts in `work/workbench/`. Preserve all original
worktrees. Reuse historical diagram code and the revision G kit through a
reviewed integration; fresh assembled verification remains required.

The [physical SVG fidelity contract](composition-svg-fidelity.md) maps the
saved masters, typography, swatches, routes and annotation treatments to current
checks and remaining gaps. Apply it within each physical operation's parity
cells before admitting another capability.

The [local connected interaction](composition-interaction.md) adds explicit
preview/save, owned definition creation, native rename, finite multiplicity,
frame move/resize and whole-snapshot restoration
over the same project. Its loopback transport and embedded saved reader are
development implementations. The [site adapter](composition-site-tools.md)
registers selection, preview/save, refresh and receipt recovery around those
same controls when `document.modelContext` is available. Synthetic host-API
browser checks are distinct from actual host execution. Hosted authorization, full operation coverage, and actual application journeys
remain open.

The [component catalog panel](composition-catalog.md) uses the same catalog
ranking and exact-ID records as the CLI. It displays the catalog's SVG bytes
and provenance alongside the saved model.

## Next acceptance obligations

1. Finish command/profile mapping, including dynamic launchers and reference tools.
2. Continue the trace-linked composition interaction walkthrough from the
   initial Astra-reviewed proposal and user feedback on the existing design kit.
3. Complete the remaining analytical binding adapters and durable transaction
   boundary around the multi-file candidate path, extending the local Git reference
   to the selected remote architecture and initialization recovery.
4. Complete the remaining physical-composition commands, diagram interactions,
   CLI/MCP/site-tool/ChatGPT access and source-preserving persistence together.
5. Exercise save/restart/reopen in both actual applications and close the matrix
   only after every applicable cell has current evidence.

SHA-256: f91420f7640f5bdaf72ff7f97d19801985d244e34787063096f6937a13836b4f