Skip to content

feat: add process-graph entry point package - #12

Merged
Mearman merged 3 commits into
mainfrom
feat/process-graph-entrypoint
Oct 10, 2026
Merged

Mearman merged 3 commits into
mainfrom
feat/process-graph-entrypoint

Conversation

@Mearman

@Mearman Mearman commented Oct 10, 2026

Copy link
Copy Markdown
Member

Adds the unscoped process-graph package under packages/targets/process-graph, the way documents.js is the one install for its building blocks.

It re-exports the schema, projection and domain packages flat and the DAG package as the dag namespace. The only name that collides across layers is criticalPath (DAG: over a node set and a needs accessor; domain: over a model and a run overlay). I namespaced the whole DAG layer instead of just that name so the rule is one sentence and a later name cannot collide silently; TypeScript rejects duplicate export * names, and a unit test compares each package's runtime exports to the entry point.

No bin yet, since there is no CLI package. Not published; the name is reserved at 0.0.0 and publishing needs the trusted publisher set up first.

The unscoped process-graph package is the primary entry point, in the targets layer so it may
depend on every layer below. It re-exports the schema, projection and domain packages flat and the
DAG package as the dag namespace, because the DAG and domain packages both export criticalPath
with different meanings. The whole DAG layer is namespaced so a later name cannot collide
silently.

Its smoke test loads a model, projects a swimlane and derives statuses from the built output.
Compares the runtime exports of the schema, projection, domain and DAG packages against the
entry point: no name is owned by two flat layers, every sibling export is present and identical,
the DAG layer is reachable only through the dag namespace, and nothing else is exported.
Explains when to install the entry point rather than a building-block package, the rule that the
DAG layer is namespaced as dag and why, and adds the package to the root packages table and layer
description.
@Mearman
Mearman marked this pull request as ready for review October 10, 2026 10:08
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-10-10T10:10:28.670579Z 220eea7 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Mearman
Mearman merged commit b37375d into main Oct 10, 2026
14 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.4.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant