Skip to content

docs: scripting-hosts roadmap says what P1 shipped (#985, v3.7.11) - #1028

Merged
transfix merged 2 commits into
masterfrom
docs/scripting-hosts-p1-shipped
Nov 6, 2026
Merged

transfix merged 2 commits into
masterfrom
docs/scripting-hosts-p1-shipped

Conversation

@transfix

@transfix transfix commented Nov 6, 2026 •

Copy link
Copy Markdown
Owner

Docs only. The scripting-hosts roadmap predates P1. It now says what #985 shipped, and marks what didn't.

  • §3.1 The engine.
    • It's src/ariadne_python/, compiled into each x host by cvc_ariadne_python_host, not a cvc_ari_python library.
    • The build options: ARI_WITH_PYTHON / ARIGL_WITH_PYTHON make a missing Development.Embed a configure error; in-tree, the target is skipped.
    • Engine's real config and home rules, and _arihost's functions.
    • What each host links: arix doesn't link cvcGL, and a Python program under it needs pycvc-gl-cp312.
    • Not built: the py-eval / py-exec verbs, and the script_engine interface. P1's seams are the token registry and the load and frame hooks.
  • §3.2 Host's embedded mode. An explicit mode inside an x host opens a separate Host, rather than raising. run() has two forms.
  • §4 Documents.
    • python.<module> is the one module token, checked with find_spec, which imports a dotted module's parent package. ari info lists the tokens.
    • The block runs on every load, before requires:. Its keys and export forms are listed.
    • The caps are raised for every document.
    • load:ed modules' blocks, --python-allow and run -m are planned (P1b).
    • The console is P2.
  • §9, §10. Risks 4 and 6 are updated. P0 and P1 are done. The rest of P1 is a new P1b row, which L1 and G1 now need for the script_engine interface.

Each claim was checked against master's code by a reviewer. Three corrections came out of that and are in the second commit.

This edits the same file as #1027 (its §5.5), in different sections. The two merge cleanly in either order.

Overlaps #1026 (§6.5, application services), which edits the same lines in four places: the status header, the §1 row for #985, risks 15–19, and the S5–S7/L1/G1 phase rows. Whichever merges second keeps both sides: #1026's §6.5 status bullet, risks 16–19 and S5–S7 rows, and this PR's P1 wording, P1b row and L1/G1 dependency. I'll resolve it here if #1026 lands first.

The roadmap predates P1. It now describes what #985 shipped and marks
what didn't:

- 3.1: the engine is src/ariadne_python, compiled into each x host by
  cvc_ariadne_python_host (ARI_WITH_PYTHON / ARIGL_WITH_PYTHON, or
  CVC_BUILD_PYCVC in-tree), not a cvc_ari_python library; Engine's real
  config and home rules; _arihost's functions; no py-eval / py-exec and
  no script_engine interface yet (the token registry and the load and
  frame hooks are P1's seams).
- 3.2: an explicit mode inside an x host opens a separate Host rather than
  raising; run()'s two forms.
- 4.1-4.5: python.<module> is the one module token (python.vtkmodules, not
  python.vtk); ari info lists tokens; the block runs on every load, before
  requires:; its keys and export forms; caps raised for every document;
  load:ed modules' blocks, --python-allow and run -m are planned (P1b);
  the console is P2.
- 9, 10: risks 4 and 6 updated; P0 and P1 done, the rest of P1 is a new
  P1b row, which L1 and G1 now need for the script_engine interface.
…losure, find_spec)

- An explicit -DARI_WITH_PYTHON=ON / -DARIGL_WITH_PYTHON=ON makes a
  missing Python Development.Embed a configure error; only in-tree is the
  target skipped.
- arix links libcvc and libpython only, and a Python program under arix
  needs pycvc-gl-cp312 for Host; ariglx links libcvcGL too.
- python.<module>: find_spec imports a dotted module's parent package.
@transfix
transfix merged commit 8f468c1 into master Nov 6, 2026
27 of 28 checks passed
@transfix
transfix deleted the docs/scripting-hosts-p1-shipped branch November 6, 2026 19:35
transfix added a commit that referenced this pull request Nov 6, 2026
The roadmap conflicted with #1028 (what P1 shipped) and #1027 (§5.5) in four
places. Both sides are kept:
- status: #1028's "P1 shipped / the rest is design" lines, plus this PR's
  §6.5 and S5-S7 date;
- §1: #1028's rows for the Python host and the P1 scripting hosts;
- risks: #1028's rewrap of 15, then this PR's 16-19;
- phases: this PR's S5-S7 rows, then #1028's L1/G1, which need the
  script_engine interface (P1b).
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