← Files Computable Systems EngineeringARCHIVED FILE
docs/technical-guide.md
17.2 KB · Dec 3, 2026 · 18:30 UTC
# Setup and technical guide Run commands from the complete repository root. For a first conversation and the new current-system example, start with the [README](../README.md). Eleven independently invocable skills connect concepts, operations, architecture, measures, evidence, analysis, language and diagrams. Use coordination for a question that crosses activities, or select one focused skill. The engineer directs consequential decisions; the assistant helps investigate, draft, run checks, and revise. **Status: alpha.** Concept, CONOPS and scenario drafting default to authoring SysML v2 textual models for new recorded work. A pinned upstream pilot parser validates those models. A bounded controlled-text profile checks selected sampled Boolean/quantity requirements and correlated event deadlines against supplied evidence. A separate bounded generator exports synthetic pass/fail trace pairs that demonstrate a referenced property's effect on one sampled requirement when it can find such a pair. Existing version-1 JSON helpers and the opt-in finite verifier remain available. General SysML behavior computation, temporal realizability, formal FLIP coverage, hosted Jev integration, and protected acceptance are not implemented. The project source is offered under the [MIT license](../LICENSE); the separately downloaded pilot parser has its own license. Publication details are tracked in [the release handoff](release-handoff.md). | Skill | Useful work unit | |---|---| | `coordinate-engineering-work` | Connect a question across activities using one shared model and selected checks. | | `develop-system-concept` | Frame a problem, identify functions, explore alternatives, and assess evidence for a concept decision. | | `develop-conops` | Connect stakeholder needs, boundaries, scenarios, responsibilities, and evaluation plans. | | `develop-operational-scenarios` | Develop or investigate one scenario or a selected set. | | `develop-system-architecture` | Develop a functional, physical, allocated or interface architecture slice. | | `define-engineering-measures` | Define a measure, collection conditions, units and baseline meaning. | | `plan-engineering-evidence` | Select evidence methods for requirements or intended-use claims. | | `analyze-queues` | Analyze waiting and utilization for an explicit workload or conditional M/M/c model. | | `analyze-system-failures` | Check an authored Boolean fault tree or FMEA record and its declared assumptions. | | `check-engineering-language` | Review terminology, supported controlled-English rules and meaning-preserving repairs. | | `generate-engineering-diagrams` | Produce or review views from established engineering meaning and supporting evidence. | A complete document is optional. Missing information can remain an explicit unknown. The skills use a system-wide SysML model and selected views rather than requiring the entire model in every model context. The [SysML-first profile](sysml-v2-profile.md) defines the supported parser and checker boundary. For a recorded concept, a [project-tailored review](concept-review.md) compares the candidate with a separately retained scope. Related workflows cover [human tasks](human-task-review.md), [ownership](ownership-review.md), [behavior claims](behavior-review.md), and [conditional resource questions](inquiry-profile.md). These are bounded checks and investigations; their results do not establish staffing, feasibility, observed system behavior, or engineering acceptance. The [diagram-generation skill](../skills/generate-engineering-diagrams/SKILL.md) helps turn accepted model meaning into a source-linked view. Explore the [synthetic station walkthrough](../examples/engineering-gallery/water-sampling/README.md) or the [source-grounded references](reference-library.md). Native-editor round-trip, complete graphical conformance, and behavioral simulation remain separate, unverified outcomes. ## Explore a connected engineering example The [water-sampling station walkthrough](../examples/engineering-gallery/water-sampling/README.md) follows a fictional sample from intake to recorded receipt, through a missing-label hold and recovery, and into maintenance lockout. It brings together editable source, readable views, typed traces and actual program outcomes. Its thresholds and evidence are demonstration choices, not a design approved for real equipment. | Start with | Explore or edit | What you can check | | --- | --- | --- | | [Concept and operating model](../examples/engineering-gallery/water-sampling/station.sysml) | Parts, concerns, functions, operational cases and declared requirements | Native syntax/reference validation and each requested drafting shape | | [Readable artifact browser](../examples/engineering-gallery/water-sampling/generated/index.html) · [gallery guide](../examples/engineering-gallery/README.md) | Scoped overview, full function tree, nominal/recovery/maintenance exchanges and model links | Selected native bindings and documentary view structure; inspect detailed diagrams at readable scale | | [Synthetic observation trace](../examples/engineering-gallery/water-sampling/evidence-pass.json) · [required clause scope](../examples/engineering-gallery/water-sampling/scope.json) | Sampled recording, exact duration bounds and correlated receipts | Named finite-window monitor results, late/missing/incomplete controls and clause-local synthetic influence tests | | [Finite execution model](../examples/engineering-gallery/water-sampling/finite-scenarios.json) · [independent scope](../examples/engineering-gallery/water-sampling/finite-scope.json) | Explicit guards, effects, typed data availability, external waits and completion | Finite consistency, reachable failures and declared completion paths; this is separately authored, not an executable SysML conversion | | [Meaning and scope mapping](../examples/engineering-gallery/water-sampling/semantic-ledger.json) · [method and official definitions](gallery-method.md) | Responsibility, source/view identities, assumptions and omitted semantics | Typed correspondence and trace structure; links alone do not prove satisfaction or physical feasibility | Run the case from a complete checkout after installing the pinned parser: ```bash python3 examples/engineering-gallery/water-sampling/build.py --output work/water-sampling python3 examples/engineering-gallery/water-sampling/build.py --check ``` Use a new output directory for each generation. The check reruns supported computations and compares the committed artifacts with their source bindings. Expected failures remain visible: a late receipt fails, an unfinished observation remains unknown, and deleted or unclassified finite-review obligations cannot disappear from a supplied external scope. See the case guide for exact inputs, outcomes and limits. The [existing tool-library example](../examples/tool-library/README.md) adds a legacy concept comparison and conditional capacity calculation without claiming observed performance. ## Capability status and review The [completion and verification matrix](capability-completion.md) maps the architecture to implemented checks, executable examples and deferred capabilities. The current finite verifier also accepts an optional independent inventory: ```bash python3 scripts/verify.py examples/engineering-gallery/water-sampling/finite-scenarios.json \ --manifest examples/engineering-gallery/water-sampling/finite-scope.json --review --json --detail ``` Scenario analyses now run even when requirement applicability is unsupported; a definite dead-end failure survives an exploration cap alongside the incomplete result. Reports identify the scenarios actually analyzed. A focused review still checks global declarations, requirement consistency, traces and the supplied scope. Manifest-free legacy invocations remain available, with no independent inventory guarantee. Native parsing, supplied-trace monitoring, finite state exploration, documentary allocations and engineering acceptance are separate claims. Native expression execution, unrestricted scenario compilation, realizability, full SysML conformance and protected acceptance remain outside this alpha. The gallery establishes its named source/output checks. User-scope plugin installation is separately tested; native-editor roundtrip remains unverified. ## Interaction walkthroughs When people interact with a proposed system or interpret an operational handoff, inspect relevant professional/UI precedents and use editable connected low-fidelity wireframes to expose consequential fields, options, defaults, actions, states and recovery. Keep source/model/requirement mappings adjacent and iterate with user feedback before substantial expansion, polish or implementation. The [interaction-walkthrough workflow](interaction-walkthroughs.md) defines coverage, research provenance and review boundaries; current alpha limits remain separate from target product needs. ## Try the current helpers Computed checks require a local executor. The shared SysML runtime is qualified on Linux with Python 3.10 or newer and Java/`javac` 21+; native Windows SysML execution is unsupported. Version-1 helpers use only the Python standard library. SysML also needs the pinned pilot parser. For an installed or read-only copy, set `CSE_SYSML_CACHE` to a private writable directory outside the plugin; source checkouts default to ignored `.cache/sysml`. Run from this repository: ```bash python3 scripts/check.py python3 scripts/install_sysml_parser.py python3 scripts/check.py --require-sysml python3 scripts/sysml.py examples/sysml/concept.sysml --syntax-only python3 scripts/sysml.py examples/sysml/conops.sysml --syntax-only python3 scripts/sysml.py examples/sysml/scenario.sysml --syntax-only python3 scripts/sysml.py examples/sysml/ack.sysml --manifest examples/sysml/ack-manifest.json --evidence examples/sysml/ack-evidence.json --review python3 scripts/sysml_testgen.py examples/sysml/ack.sysml --manifest examples/sysml/ack-manifest.json --output .tmp/ack-synthetic-tests.json python3 scripts/sysml.py examples/sysml/correlated-events.sysml --manifest examples/sysml/correlated-events-manifest.json --evidence examples/sysml/correlated-events-evidence.json --review python3 scripts/sysml.py examples/sysml/quantity.sysml --manifest examples/sysml/quantity-manifest.json --evidence examples/sysml/quantity-evidence.json --review python3 scripts/sysml.py examples/sysml/composed-parts.sysml examples/sysml/composed-requirement.sysml --manifest examples/sysml/composed-manifest.json --evidence examples/sysml/composed-evidence.json --review python3 scripts/sysml_view.py examples/sysml/ack.sysml --id R_ACK python3 scripts/sysml_diff.py --before examples/sysml/ack.sysml --after examples/sysml/quantity.sysml python3 skills/develop-conops/scripts/conops.py check examples/workshop/conops.json --review python3 skills/develop-operational-scenarios/scripts/conops.py view examples/workshop/conops.json S1 python3 skills/develop-system-concept/scripts/concept.py --help python3 scripts/verify.py examples/verifier/valid.json --review python3 scripts/verify.py examples/verifier/valid.json --scenario S1 --review --json --detail ``` On systems where Python is named `python`, substitute that executable. Each skill's `references/sysml.md` describes new model output; `references/record.md` preserves its legacy JSON contract. The SysML integration tests run when the pinned parser is installed; otherwise they report a skip. The `--require-sysml` check and CI fail if the pinned parser is missing or stale. The workshop example is synthetic. Passing its checks establishes only the conditions that the helper actually checks. Textual feasibility assessments, source truth, stakeholder acceptance, and implemented-system behavior are not independently verified. The [synthetic tool-library example](../examples/tool-library/README.md) includes a system-concept record, a human view, and a small reproducible calculation. It illustrates explicit unknowns and engineer decisions without creating a full CONOPS. The [version-2 contract](verifier-v2.md) and [synthetic fixture](../examples/verifier/valid.json) specify the finite semantics. Use `--scenario S1 --view` to retrieve a context slice, while running checks against the full model. The [FHWA slice](fhwa-merge-slice.md) is an unaccepted formalization proposal. [FRET reuse](fret-spike.md), [context measurement](context-measurement.md), and the separate [protected-runner boundary](protected-runner.md) record limits and next work. The optional [engineering view-quality checks](engineering-view-quality.md) validate declared function roots/levels/parent links and ordered participant exchanges, with task-specific counts, coverage, timing, and justified exceptions. The skills assess action meaning and engineering adequacy with the engineer; structural acceptance does not establish either. Existing unannotated models retain their current checks. Try the neutral fixture with `python3 scripts/sysml.py examples/sysml/views/sample-handling.sysml --syntax-only --view-profile examples/sysml/views/task-profile.json`. ## Use the skills The repository registers its eleven skills through symlinks under `.agents/skills/`, which Codex discovers when you open this project. The [README skill table](../README.md#choose-a-skill) links every current entrypoint. A complete plugin can also be installed at user scope through a separately configured local Codex marketplace; this installation route and selected native commands have been checked from another project. Discovery in a fresh session does not prove that an already-running turn has reloaded its instructions. [Codex skill discovery](https://learn.chatgpt.com/docs/build-skills) documents repository scope and symlink support. Each drafting skill's `scripts/cse.py` launcher finds the shared parser/engine from its real location, so checks work from subdirectories as well as the repository root. The portable plugin manifest is `plugin.json`, with `.codex-plugin/plugin.json` for compatibility. Both declare the local executor requirement. Installation through a public marketplace remains untested. Copying a drafting skill folder alone preserves its version-1 helper, but does not install the shared SysML engine. Avoid duplicate installations. For repeatable source builds and user-scope installation, use [plugin packaging](plugin-packaging.md). Engineering documents can retain an explicit [project visual profile](visual-profiles.md) and use shared [HTML/PDF rendering checks](document-rendering.md). The maintained [visual-guidance cases](visual-guidance-evaluation.md) distinguish deterministic resource checks from observed decisions in a fresh chat. Start with the decision and say how you will review the result. - “Compare these two approaches using my accepted constraints. Show how each meets the need, and which unresolved evidence would change the choice.” - “Review who operates and maintains this service during the selected modes. Point to each responsibility in the model or mark it open.” - “Develop the communications-loss scenario only. Show what triggers recovery, who responds and what observation closes the scenario.” For a combined concept and scenario trial, ask for both views from the [synthetic shared model](../examples/sysml/joint-concept-scenario.sysml). Ask Codex to retain the same model IDs across views, run both relevant draft checks and show the synthetic pairs for any supported sampled requirement. The engineer can then review the views, the actual checks and the remaining uncertainties. Codex handles the SysML and commands in the project's private working area. See the [end-user test guide](end-user-test.md) and [pre-test review](pre-test-review.md) for the original trial procedures. ## Build the next version Start with [the verification brief](first-version-brief.md) and [the model and verification design](model-and-verification.md) when changing checker semantics. The [original implementation prompt](kickoff-prompt.md) records the first increment's scope. The [SysML-first plan](sysml-v2-model-first-plan.md) and [implemented alpha profile](sysml-v2-profile.md) describe the current migration and its limits. The [public-source evaluation](public-sysml-evaluation.md) shows FHWA and NASA candidate slices with synthetic traces. The [controlled language profile](requirements-language-v1.md) parses a narrow FRET-inspired subset and checks supplied sampled behavior using explicit clock and unit semantics. [Variable-influence tests](variable-influence-tests.md) are a bounded precursor to formal FLIP generation. The parsed context view and structural diff support review, but general state/mode computation, FRET-backed test generation, and richer generated views remain future work. The project uses deterministic program results for computable claims. Broader validation still requires evidence and engineering judgment. JSON is a transport format, not a token-efficiency claim; measure context and repair costs before making such claims. See [public references](references.md) and [contribution guidance](../CONTRIBUTING.md). External publications and tools remain under their own terms; none is bundled here. ## Experimental visual presentation An opt-in checked documentary function-tree renderer adds palette03, embedded Inter/Space Grotesk fonts and explicit provisional body variants. See [visual presentation](visual-presentation.md) for generation, editable sources, checks and limits. Existing checking defaults remain unchanged.
SHA-256: c4d7e7ee4b107e17f31de7f2acbe6f04c19079eef0940fe6c184f9044ec562e7