feat: index PTO ASL unit and state graphs - #5
Merged
Conversation
added 8 commits
August 11, 2026 11:03
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PTO-UNITand instruction unit provenance as typed source nodes, including the exactgenerated:decoderssynthetic dependencyPTO-STATErecords as architecture nodes with unit ownership, member, dependency, duplicate, and cycle validationndf queryattribute filtering and state-aware PTO release impact classificationArchitecture authority
PTO-SPEC ASL remains the sole authority for instruction behavior and architecture-state transitions. This PR adds derived identity, provenance, validation, query, and impact metadata only. It does not change executable ASL semantics, encodings, legality, faults, completion, ordering, or profiles.
Design: PTO ASL state graph design
Stable surfaces
unit,synthetic-unit,state,instruction, and existing NDF clausesNDF-ASL-006throughNDF-ASL-009kind=architecture and attributes.pto_entity=stateVerification
cargo fmt --all -- --checkcargo clippy --workspace --all-targets --all-features -- -D warningscargo test --workspace --all-features --locked— 0 failurescargo build --workspace --release --lockedscripts/ndf check --root tests/fixtures/cli-smoke/project --format json—ok:trueNDF_RUN_SCALE_TESTS=1 cargo test -p ndf-compiler --test scale --release --locked -- --nocapture— 17.04sscripts/check-release-performance— passed, peak RSS 361349120 bytesgit diff --checkRollout
PTO-SPEC must pin the eventual merged 40-character commit from this PR before publishing the complete state catalog. DavinciOO must consume only the merged NDF and PTO-SPEC commits.