Repository navigation
AURA v2: explicit action recipes, static publication and deterministic runner - #7
Merged
Merged
Conversation
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.
This replaces the v1/demo stack on master with the complete AURA v2 declarative core: one package for local
derive ? publish, offline validation, and an optional deterministic linear HTTP runner.Publishers explicitly declare stable action IDs, intent keys, risk, provenance, target API and typed outputs. Compilation resolves supported local OpenAPI references and HTTP bindings into self-contained actions; a compact descriptor links relative action files. Human- and agent-authored declarations follow the same rules. IDs remain stable across sibling/key changes, while canonical revisions detect content changes. Publication stages and validates owned files with synchronous rollback and preserves unrelated files.
The runner preflights the whole supplied plan, fetches selected details, pipes typed outputs without intermediate model calls, keeps declared credentials internal, and reports partial/unknown outcomes honestly. State is optional response-scoped context; no inferred semantics, planner, retry engine, browser/crawler or hosted service is added.
Supported profile: one linear plan, one descriptor, one API origin; JSON; acyclic same-document refs; scalar/simple HTTP parameters and repeated form query arrays; anonymous, single bearer or header API-key auth. Reject remote/recursive/dynamic refs, general oneOf/anyOf, unsafe allOf, multipart/forms, cookies/CSRF/interactive OAuth and ambiguous server/auth alternatives. Numbers are finite binary64 with safe integers; large IDs need strings. Explicit output visibility must not overlap. See the aligned spec/rationale/migration docs for exact limits. Historical alpha.2 measurements do not establish alpha.3 performance.
Verification:
Release candidate:
2b676e8ad78d04c3dc16157625f4f410d99d4886. Retained archive:aura-protocol-2.0.0-alpha.3.tgz(59 files, 37,823 bytes), integritysha512-Ik3MZ+WfTXSAO4R3kiCTofl+3XMaCrp3tDChiOTuVHkj0BJ4cBJ5GOppyKbbEtzX2Cjx8mO/78XFytObdfTjLg==.Publication status: alpha.3 is available; registry currently has
latest=1.0.5and no alpha tag. npm publication is blocked byE401 Unauthorizedfrom bothnpm whoamiand the package-access query. No upload attempted. Annotated tagv2.0.0-alpha.3is pushed and peels to the release commit above (tag object54280f18ead058441f83adfe537d8eed0175f5e8). Tag CI passed on Linux and Windows, including all release-gate steps. All six public schema URLs match the bundled schemas byte for byte. The retained tarball itself passed the full isolated package checker and remote schema checks; all three CLIs executed successfully. Existing tags remain unchanged. Once gated and authenticated, publish only the verified tarball with--tag alpha, preserve latest, then verify registry integrity and an installation from npm outside the repo.Ready for review; do not merge automatically.