Repository navigation
Conversation
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Adapter source checks, engine data and token egress, and live verification now take their destination profile from the shared outbound selector instead of reading the URL scheme themselves. Behaviour is preserved apart from removing an unreachable fallback: a plain-HTTP origin beyond loopback used to freeze as a private service hop, but the binding's authentication policy and the offline checks already refuse every such origin before the freeze, which now refuses it too. Implicit HTTPS, explicit loopback plain HTTP, the canonical numeric loopback and mTLS admission for none, the anonymous HTTPS acknowledgement, separate token egress, the deployment's private ranges and the feature-gated pinned loopback TLS profile are unchanged. Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Review follow-up for the source transport selection: the core rule table pins mapped, metadata, link-local and uppercase literals; live verification drops the private-range remedy it can no longer reach and gives the source origin fix instead; the token endpoint fault states where numeric loopback applies. Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Three files merged during the lane replay were not rustfmt-clean, which the root format gate refuses. Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
A timestamp authority name that resolves to an address the selected client refuses failed each seal as an unreachable authority to retry later. It is now a refusal with reason destination-refused. render check applies the same selection as the seal's client, so a refused address literal and a CA bundle on an http URL are reported at the URL before startup, each under its own code. The exact request the authority receives is asserted, and the resolution rule is documented with its migration. Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
A roster lookup inside `[[ "$(release_roster.py ...)" == true ]]` does not trip set -e, so a roster error read as "not in this release" and the build silently dropped the binary or image. Assign each roster answer first, so a failing lookup fails the script, then compare. A roster test refuses the old shape in every release/scripts/*.sh. Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
…tracts The four no-consent fixtures keep their exact DDL digests and Action fingerprints. Only generated/openapi.json moves: list query parameters $top and $skiptoken become limit and cursor, and the Problem schema gains the development-only failedCheck member. Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
…ember Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
…mand Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
The bbox refusal test edited a top: parameter that the Python client no longer has, so its Python case silently tested nothing. Assert that both fixture edits apply. Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
The project SDK generator still sent `top` to the native list methods after the clients moved to `limit`, so a generated Python SDK raised on `top=` and the TypeScript SDK failed its type check. `related()` now takes `limit` and passes it through. The facility and minimal SDKs are regenerated with the example-artifacts generator, and the packaged SDK change moves the pinned fixture revisions without changing their SQL or Action pins. Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
… output Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
…e's development posture The page exports REGISTRY_STACK_POSTURE=development, so --posture production conflicted with it and the check refused before reaching the closure rule. Declare production for this one command in the environment instead. Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
…ojects Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
The live harness still wrote per-person grants, which rstack dev refuses. People now name roles, and the staged plan's service.yaml declares each role with its actor kind and access profiles, as the product examples do. Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
…y revision The explain, ctl-report, ODRL and evidence-source examples embed the compiled registry revision, which the limit and cursor contracts, the development failedCheck member and the generated SDK change moved. Each example changes only that revision. Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
…ixture Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
The contract publishes {sessionReference} and {requestId} for the routes the
runtime registers with {reference} and {request_id}. Look each route up by its
published name and check that every published path is served.
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Member
Author
|
Replaced by #2928, the one v0.51.0 pull request (all three lanes replayed onto v0.50.0 and folded). |
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.
Replaces #2886; rebased on main after v0.50.0 (700e8ea).
One vocabulary for problem codes, record IDs, pagination, route parameters and product logic, with the CI paths that keep them honest.
Closes #2805, #2808, #2809, #2816, #2840, #2841, #2842, #2843, #2846, #2847, #2849, #2850, #2851, #2852, #2889, #2896.
Refs #2817, #2822 and #2880 (partly delivered, see "Not verified").
Draft status
This pull request stays a draft. v0.51 pull requests do not merge before the v0.50.0 release source is cut. When it is, this branch is rebased onto that source and checked again.
Tonight's state:
registry-release validate-current(and the release test that validates every manifest) until v0.50.0 is tagged. The draft v0.50 manifest pins the v0.50 identifier catalog, and this branch regenerates the catalog. See "Not verified".What each issue delivers
diagnosticfield per response, and the docs renderer projects prohibited properties safely.recordIdentifierare refused with a diagnostic that namesrecordId.limitandcursoracross BReg, its OpenAPI, the query explanation, the Proposal reference and the Rust, Node, Deno and Python clients.Idempotency-Keyheader, and Payment problems emit canonical Adapter HTTPS type URIs.breg-recordscontract. A check refuses unpublished route names before publication.authentication.apiKeyRefthe shared API key and states its lifecycle: a supported mode for a single trusted caller with no OIDC issuer, which never seals and whose audit entries all carry one key fingerprint.bregctl,caseworkctlandevidencectlname production closure checks the same way, with CLI catalog parity.Fixes found while rebasing
authentication.apiKeyRefand keeps the statement that the shared API key never seals, reconciling the Give Render's compatibility setting a clear lifecycle #2842 wording with the Use consistent route parameter names in generated API clients #2843 serve contract test.Fixes found in hosted CI
Each cause is one commit on top of the rebased branch.
topon related-record list calls. They now sendlimit, a test asserts that both generated SDKs passlimitto the native client, and the facility and minimal generated SDKs are regenerated. This is the only product code change in this set.failedCheckmember differ. The pins and the eight registered examples that embed the revision are updated, with a comment that says what the revision covers.bregctldata lifecycle assertscursor, the client capability check editslimit, the language server navigation fixture and the service preview projects useactionPlans, the Node facade type test pages withlimit, and the OID4VP endpoint test looks up the publishedsessionReferenceandrequestIdpaths and counts every route.failedCheckmember (Include the development diagnostic field in OpenAPI problem responses #2840). The language server reports Derivation findings under thederivationcode and the Evidence finding order follows it. The retired Rendersealcommand namesPOST /v1/seal/{documentType}(Use consistent route parameter names in generated API clients #2843).service.yamldeclares, with product-keyed claims and purposes, so the staged plan passesrstack dev check.rustfmton the new SDK test and one needless borrow in the language server.Release scripts
Breaking changes and migrations
Each product CHANGELOG has the full entry.
registry.yamlandmodule.yaml, renamefunctionstoactionPlans. In an Action'splan, changetype: functiontotype: scriptedand renamefunctiontoactionPlan. IDs, sources, inputs, writes and theregistry.action-plan/v1ABI are unchanged.breg.function.*becomesbreg.action-plan.*, andbreg.action.function-*becomesbreg.action.plan-*. Update alert and report consumers.bregctl check --packagerefuses a sealed v0.49 package whose generated OpenAPI uses$top, withbreg.package.generated-artifacts-refused. Keep the old package and its v0.49 tools and runtime until cutover. Update the authored keys, then run v0.51bregctl testandbregctl packagewith--baseline-package ACTIVE, check the successor, and runbregctl planand the reviewedbregctl apply.breg.package.generated-artifacts-refusedinstead ofbreg.package.integrity-refused. A sealed source that mixes historical and current Action Plan spellings reportsbreg.package.integrity-refused.functionstoderivationsandderive.functiontoderive.derivation. Authoring codes move fromevidence.project.function-*toevidence.project.derivation-*. Regenerate typed bindings withevidencectl typesand importDerivationBindings.functionstotransforms, usetype: transformwith atransformmember, and readcoordinator.transform.*diagnostics.breg-recordspath arguments use lower-camel-case names (for exampletaskId,holdId,messageId,sessionReference,documentType,recordId). Operation names and HTTP URLs are unchanged. Refresh a Live Effective Contract and its pinned digest together.localhostand loopback literals stay accepted. A refused address literal failsregistry-render checkand startup withrender.runtime.timestamp-address-refused, a refused answer for a host name fails each seal with reasondestination-refused, and acaBundleRefon anhttpURL is reported asrender.runtime.seal-timestamp-ca-bundle-requires-https. Point the URL at a name that does not resolve to loopback, or uselocalhost,127.0.0.1or[::1]for a local test authority, and use https withcaBundleRef.limitandcursorand still read priorskiptokencontinuations.Security review notes: package verification (#2889)
This change touches governed-package integrity.
checkand apply-target verification require the current Action Plan spelling in sealed project and module sources. A verified source that needed translation fails withbreg.package.generated-artifacts-refused, even when its generated artifacts are byte-identical. An artifact changed and then resealed can produce the same code.--baseline-package.Security review notes: outbound destinations (#2817)
This change narrows an outbound deployment default.
localhostand loopback literals stay accepted.registry-render checkapplies the same rule as the seal's client, so a refused literal failscheckand startup, and a refused resolved answer fails each seal with reasondestination-refused, not as an unreachable authority.The
.githubchanges (#2847, #2849, #2851, #2896, and the posture classifier) were reviewed separately and are carried unchanged.Verification
On this branch, rebased onto the v0.50 integration:
runtime,tooling,schema.bregctlexplain contract 35/35, including the lifecycle schema contract and every registered example.serve28/28 andserve_seal46 (one opt-in case ignored).For the hosted CI fixes, on the final head:
cargo fmtand workspace clippy, and the BReg, developer tools, Render and Evidence Rust shards with--no-fail-fast. Also the compiled DDL pins, the BReg generated-artifact check, the client capability check, the facility console and TypeScript client type checks, and the Node facade type check (red before its fix).rstack dev checkon both service previews and the staged live plan, andbregctl checkon both preview projects.After moving onto the v0.50 release documentation commits, every commit applies unchanged and the Rust sources are identical, so the Rust results above carry over. On the moved branch: the docs source checks, docs unit tests, docs build and built-site checks, docset validation against the release manifests, the identifier reference check, the conventions lint (0 unrecorded, 0 errors) and the client package sync check all pass.
Before the rebase, on the same commits:
bregctlCLI 227/227.Not verified
cargo test --workspacegate and every suite not listed above for the rebased branch: left to hosted CI.registry-release validate-currentfails on this branch until v0.50.0 is tagged: the draft v0.50 manifest pins the v0.50 identifier catalog, and this branch regenerates the catalog (384 entries against 373). Once the tag exists the check reads the catalog from it.bregctl planandapplyover an active package that still uses the old Action Plan spelling. The integration test stops atcheckof the successor.