@lapxo/bound 0.1.9 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -121
- package/TARGET.bound +85 -14
- package/assets/wasm/guest.js +4 -0
- package/assets/wasm/manifest.json +27 -0
- package/assets/wasm/runtime.js +6 -0
- package/assets/wasm/runtime.wasm +0 -0
- package/dist/cli/pass.js +3 -3
- package/dist/cli/place.js +7 -4
- package/dist/cli/standing-result.js +4 -3
- package/dist/cli/verb.js +79 -9
- package/dist/engine/encoding.js +2 -0
- package/dist/engine/index.d.ts +13 -0
- package/dist/engine/index.js +11 -0
- package/dist/engine/object.js +38 -0
- package/dist/engine/ports.d.ts +32 -0
- package/dist/engine/ports.js +103 -0
- package/dist/fold/closed.js +22 -5
- package/dist/fold/digests.js +3 -2
- package/dist/fold/object.js +2 -38
- package/dist/fold/resolved.js +1 -1
- package/dist/host/admitted-place.js +10 -1
- package/dist/host/cell-receipts.js +1 -1
- package/dist/host/contextual-place.js +2 -2
- package/dist/host/io.js +2 -2
- package/dist/host/objects.js +24 -4
- package/dist/host/reading-closures.js +11 -13
- package/dist/host/reference-authenticated.d.ts +40 -0
- package/dist/host/reference-authenticated.js +100 -0
- package/dist/host/reference-contracts.js +6 -0
- package/dist/host/reference-export.d.ts +33 -0
- package/dist/host/reference-export.js +81 -0
- package/dist/host/reference-native-api.d.ts +3 -0
- package/dist/host/reference-native-api.js +3 -0
- package/dist/host/reference-native.d.ts +30 -0
- package/dist/host/reference-native.js +74 -0
- package/dist/host/reference-profile.d.ts +23 -0
- package/dist/host/reference-profile.js +63 -0
- package/dist/host/reference-standing.js +18 -0
- package/dist/host/reference.js +24 -0
- package/dist/host/refusals.d.ts +14 -0
- package/dist/host/refusals.js +43 -0
- package/dist/host/selected-topos.js +9 -1
- package/dist/host/signing.js +7 -1
- package/dist/observe/files.js +11 -1
- package/dist/observe/regions.js +109 -1
- package/dist/wasm/adapter.d.ts +51 -0
- package/dist/wasm/adapter.js +180 -0
- package/dist/wasm/node-worker.js +13 -0
- package/dist/wasm/object.js +76 -0
- package/dist/wasm/worker.js +7 -0
- package/docs/contracts/authenticated-reference.publication.json +25 -0
- package/docs/contracts/engine-object-projection.publication.json +25 -0
- package/docs/contracts/engine.md +39 -0
- package/docs/contracts/host-ports.md +23 -0
- package/docs/contracts/host-ports.publication.json +25 -0
- package/docs/contracts/native-publication.inventory.json +14 -0
- package/docs/contracts/optional-wasm-adapter.publication.json +25 -0
- package/docs/contracts/publication-additions.inventory.json +8 -0
- package/docs/contracts/readme.publication.json +25 -0
- package/docs/contracts/reference-backend.md +24 -0
- package/docs/contracts/reference-backend.publication.json +25 -0
- package/docs/contracts/reference-export.md +31 -0
- package/docs/contracts/reference-export.publication.json +25 -0
- package/docs/contracts/reference-port.md +40 -0
- package/docs/contracts/reference-port.publication.json +25 -0
- package/docs/contracts/refusals.bound +94 -0
- package/docs/contracts/refusals.md +47 -0
- package/docs/contracts/refusals.publication.json +25 -0
- package/docs/contracts/standing.bound +9 -0
- package/docs/contracts/standing.md +24 -0
- package/docs/contracts/standing.publication.json +25 -0
- package/licenses/wasm/bound.txt +21 -0
- package/licenses/wasm/fast-text-encoding.txt +201 -0
- package/licenses/wasm/jitl-quickjs-ffi-types.txt +21 -0
- package/licenses/wasm/jitl-quickjs-wasmfile-release-sync.txt +47 -0
- package/licenses/wasm/obligations.txt +21 -0
- package/licenses/wasm/quickjs-emscripten-core.txt +21 -0
- package/licenses/wasm/topos.txt +21 -0
- package/package.json +141 -6
- package/receipts.bound +9554 -613
- package/samples/authenticated-reference/compatibility.json +306 -0
- package/samples/authenticated-reference/no.json +31 -0
- package/samples/authenticated-reference/yes/editorial-state/TARGET.bound +57 -0
- package/samples/authenticated-reference/yes/editorial-state/inputs/arrival.json +1 -0
- package/samples/authenticated-reference/yes/editorial-state/inputs/coverage.json +1 -0
- package/samples/authenticated-reference/yes/editorial-state/inputs/era.json +1 -0
- package/samples/authenticated-reference/yes/editorial-state/inputs/order.json +1 -0
- package/samples/authenticated-reference/yes/editorial-state/inputs/signature.json +1 -0
- package/samples/authenticated-reference/yes/editorial-state/inputs/transport.arrival.json +1 -0
- package/samples/authenticated-reference/yes/editorial-state/inputs/transport.coverage.json +1 -0
- package/samples/authenticated-reference/yes/editorial-state/inputs/transport.era.json +1 -0
- package/samples/authenticated-reference/yes/editorial-state/inputs/transport.order.json +1 -0
- package/samples/authenticated-reference/yes/editorial-state/inputs/transport.signature.json +1 -0
- package/samples/authenticated-reference/yes/editorial-state/inputs/transport.yes.json +1 -0
- package/samples/authenticated-reference/yes/editorial-state/inputs/yes.json +1 -0
- package/samples/authenticated-reference/yes/weather-reading/TARGET.bound +57 -0
- package/samples/authenticated-reference/yes/weather-reading/inputs/arrival.json +1 -0
- package/samples/authenticated-reference/yes/weather-reading/inputs/coverage.json +1 -0
- package/samples/authenticated-reference/yes/weather-reading/inputs/era.json +1 -0
- package/samples/authenticated-reference/yes/weather-reading/inputs/order.json +1 -0
- package/samples/authenticated-reference/yes/weather-reading/inputs/signature.json +1 -0
- package/samples/authenticated-reference/yes/weather-reading/inputs/transport.arrival.json +1 -0
- package/samples/authenticated-reference/yes/weather-reading/inputs/transport.coverage.json +1 -0
- package/samples/authenticated-reference/yes/weather-reading/inputs/transport.era.json +1 -0
- package/samples/authenticated-reference/yes/weather-reading/inputs/transport.order.json +1 -0
- package/samples/authenticated-reference/yes/weather-reading/inputs/transport.signature.json +1 -0
- package/samples/authenticated-reference/yes/weather-reading/inputs/transport.yes.json +1 -0
- package/samples/authenticated-reference/yes/weather-reading/inputs/yes.json +1 -0
- package/samples/authenticated-reference/yes.json +19 -0
- package/samples/engine-alphabet/TARGET.bound +29 -0
- package/samples/engine-alphabet/inputs/sample.json +323 -0
- package/samples/engine-alphabet/package.json +1 -0
- package/samples/engine-alphabet/reader.js +1457 -0
- package/samples/engine-alphabet/receipts.bound +12 -0
- package/samples/engine-interval/TARGET.bound +29 -0
- package/samples/engine-interval/inputs/sample.json +277 -0
- package/samples/engine-interval/package.json +1 -0
- package/samples/engine-interval/reader.js +1457 -0
- package/samples/engine-interval/receipts.bound +12 -0
- package/samples/host-ports/no.json +16 -0
- package/samples/host-ports/yes.json +9 -0
- package/samples/no/engine-order/TARGET.bound +29 -0
- package/samples/no/engine-order/inputs/sample.json +277 -0
- package/samples/no/engine-order/package.json +1 -0
- package/samples/no/engine-order/reader.js +1457 -0
- package/samples/readme/no.json +1 -0
- package/samples/readme/yes.json +1 -0
- package/samples/reference-backend/no.json +1 -0
- package/samples/reference-backend/world-fixture.json +8 -0
- package/samples/reference-backend/yes.json +1 -0
- package/samples/reference-export/no.json +5 -0
- package/samples/reference-export/yes.json +15 -0
- package/samples/reference-port/no/catalog/TARGET.bound +33 -0
- package/samples/reference-port/no/catalog/standing.json +1 -0
- package/samples/reference-port/no/catalog/transport.json +1 -0
- package/samples/reference-port/no/route-notes/TARGET.bound +33 -0
- package/samples/reference-port/no/route-notes/standing.json +1 -0
- package/samples/reference-port/no/route-notes/transport.json +1 -0
- package/samples/reference-port/yes/catalog/TARGET.bound +33 -0
- package/samples/reference-port/yes/catalog/standing.json +1 -0
- package/samples/reference-port/yes/catalog/transport.json +1 -0
- package/samples/reference-port/yes/route-notes/TARGET.bound +33 -0
- package/samples/reference-port/yes/route-notes/standing.json +1 -0
- package/samples/reference-port/yes/route-notes/transport.json +1 -0
- package/samples/refusals/no.json +4 -0
- package/samples/refusals/yes.json +9 -0
- package/samples/standing/no.json +4 -0
- package/samples/standing/yes.json +21 -0
- package/samples/wasm/editorial-notes/TARGET.bound +65 -0
- package/samples/wasm/editorial-notes/esm.bound +59 -0
- package/samples/wasm/editorial-notes/no-deadline.bound +65 -0
- package/samples/wasm/editorial-notes/no-memory.bound +65 -0
- package/samples/wasm/editorial-notes/no-missing-limit.bound +64 -0
- package/samples/wasm/editorial-notes/receipts.bound +1 -0
- package/samples/wasm/water-level/TARGET.bound +65 -0
- package/samples/wasm/water-level/esm.bound +59 -0
- package/samples/wasm/water-level/no-deadline.bound +65 -0
- package/samples/wasm/water-level/no-memory.bound +65 -0
- package/samples/wasm/water-level/no-missing-limit.bound +64 -0
- package/samples/wasm/water-level/receipts.bound +1 -0
- package/vectors/engine-object.cli.json +548 -0
- package/vectors/native/authenticated-reference-formation.vector.json +107 -0
- package/vectors/native/authenticated-reference.cli.json +157 -0
- package/vectors/native/authenticated-reference.vector.json +76 -0
- package/vectors/native/host-ports.vector.json +107 -0
- package/vectors/native/readme.vector.json +76 -0
- package/vectors/native/reference-backend.vector.json +84 -0
- package/vectors/native/reference-export.vector.json +78 -0
- package/vectors/native/refusals.vector.json +95 -0
- package/vectors/native/standing.vector.json +116 -0
- package/vectors/reference-port.cli.json +688 -0
- package/vectors/wasm-object.cli.json +407 -0
- package/dist/cli/accept.d.ts +0 -28
- package/dist/cli/act-result.d.ts +0 -12
- package/dist/cli/args.d.ts +0 -11
- package/dist/cli/custodian.d.ts +0 -1
- package/dist/cli/host.d.ts +0 -1
- package/dist/cli/names.d.ts +0 -25
- package/dist/cli/native-descendant.d.ts +0 -1
- package/dist/cli/native.d.ts +0 -1
- package/dist/cli/observe.d.ts +0 -1
- package/dist/cli/owner.d.ts +0 -37
- package/dist/cli/pass.d.ts +0 -6
- package/dist/cli/place.d.ts +0 -74
- package/dist/cli/release-result.d.ts +0 -5
- package/dist/cli/standing-result.d.ts +0 -5
- package/dist/cli/takes.d.ts +0 -30
- package/dist/fold/admission-history.d.ts +0 -6
- package/dist/fold/ceilings.d.ts +0 -24
- package/dist/fold/claims.d.ts +0 -29
- package/dist/fold/closed.d.ts +0 -15
- package/dist/fold/configures.d.ts +0 -4
- package/dist/fold/digests.d.ts +0 -29
- package/dist/fold/evidence.d.ts +0 -32
- package/dist/fold/fold-worker.d.ts +0 -1
- package/dist/fold/kept.d.ts +0 -29
- package/dist/fold/keys.d.ts +0 -17
- package/dist/fold/laid.d.ts +0 -17
- package/dist/fold/nos.d.ts +0 -8
- package/dist/fold/observed.d.ts +0 -35
- package/dist/fold/opened.d.ts +0 -5
- package/dist/fold/own.d.ts +0 -24
- package/dist/fold/paid.d.ts +0 -11
- package/dist/fold/place-inputs.d.ts +0 -17
- package/dist/fold/places.d.ts +0 -24
- package/dist/fold/rank.d.ts +0 -3
- package/dist/fold/reach.d.ts +0 -18
- package/dist/fold/readers.d.ts +0 -47
- package/dist/fold/receipts.d.ts +0 -8
- package/dist/fold/region-declarations.d.ts +0 -2
- package/dist/fold/region.d.ts +0 -72
- package/dist/fold/release-policy.d.ts +0 -67
- package/dist/fold/resolved.d.ts +0 -18
- package/dist/fold/roles.d.ts +0 -17
- package/dist/fold/second.d.ts +0 -18
- package/dist/fold/shards.d.ts +0 -29
- package/dist/fold/signed.d.ts +0 -23
- package/dist/fold/signers.d.ts +0 -24
- package/dist/fold/stranger.d.ts +0 -3
- package/dist/fold/views.d.ts +0 -27
- package/dist/fold/wire.d.ts +0 -19
- package/dist/fold/zoom.d.ts +0 -16
- package/dist/host/act-cost.d.ts +0 -13
- package/dist/host/adapters/keys/ed25519.d.ts +0 -7
- package/dist/host/adapters/modules/javascript.d.ts +0 -3
- package/dist/host/adapters/transport/http.d.ts +0 -5
- package/dist/host/admitted-place.d.ts +0 -5
- package/dist/host/archive.d.ts +0 -11
- package/dist/host/capsule-process.d.ts +0 -21
- package/dist/host/capsule.d.ts +0 -19
- package/dist/host/cell-receipts.d.ts +0 -2
- package/dist/host/content-needed.d.ts +0 -5
- package/dist/host/content-store.d.ts +0 -8
- package/dist/host/contextual-place.d.ts +0 -59
- package/dist/host/digest.d.ts +0 -3
- package/dist/host/hash.d.ts +0 -9
- package/dist/host/io.d.ts +0 -11
- package/dist/host/lifetime.d.ts +0 -1
- package/dist/host/located.d.ts +0 -4
- package/dist/host/native/bounded-file.d.ts +0 -8
- package/dist/host/native/command.d.ts +0 -36
- package/dist/host/native/control-bridge-worker.d.ts +0 -1
- package/dist/host/native/control-bridge.d.ts +0 -30
- package/dist/host/native/control-selection.d.ts +0 -29
- package/dist/host/native/custody.d.ts +0 -5
- package/dist/host/native/deadline.d.ts +0 -12
- package/dist/host/native/descendants.d.ts +0 -1
- package/dist/host/native/generated-custodian.d.ts +0 -122
- package/dist/host/native/generated.d.ts +0 -217
- package/dist/host/native/image.d.ts +0 -36
- package/dist/host/native/jobs.d.ts +0 -75
- package/dist/host/native/loader.d.ts +0 -80
- package/dist/host/native/materialize.d.ts +0 -22
- package/dist/host/native/module-closure.d.ts +0 -27
- package/dist/host/native/module-syntax.d.ts +0 -8
- package/dist/host/native/native-binary.d.ts +0 -54
- package/dist/host/native/native-program.d.ts +0 -56
- package/dist/host/native/node-jobs.d.ts +0 -84
- package/dist/host/native/node-launch.d.ts +0 -72
- package/dist/host/native/preload.d.ts +0 -1
- package/dist/host/native/reading.d.ts +0 -91
- package/dist/host/native/receipt-environment.d.ts +0 -3
- package/dist/host/native/references.d.ts +0 -5
- package/dist/host/native/root.d.ts +0 -17
- package/dist/host/native/route.d.ts +0 -66
- package/dist/host/native/runtime.d.ts +0 -4
- package/dist/host/native-reader-context.d.ts +0 -3
- package/dist/host/objects.d.ts +0 -5
- package/dist/host/place-clock-selection.d.ts +0 -55
- package/dist/host/ports/ingress.d.ts +0 -24
- package/dist/host/ports/local-act.d.ts +0 -44
- package/dist/host/ports/place-act.d.ts +0 -46
- package/dist/host/ports/publication.d.ts +0 -10
- package/dist/host/ports/signing.d.ts +0 -31
- package/dist/host/ports/store.d.ts +0 -2
- package/dist/host/ports/transport.d.ts +0 -1
- package/dist/host/process-lifetime.d.ts +0 -11
- package/dist/host/provide.d.ts +0 -48
- package/dist/host/read-only.d.ts +0 -3
- package/dist/host/reading-closures.d.ts +0 -45
- package/dist/host/reading-context.d.ts +0 -29
- package/dist/host/release.d.ts +0 -14
- package/dist/host/root-clock-source.d.ts +0 -85
- package/dist/host/selected-capsules.d.ts +0 -8
- package/dist/host/selected-topos.d.ts +0 -24
- package/dist/host/signing.d.ts +0 -3
- package/dist/host/source-content.d.ts +0 -12
- package/dist/host/timing.d.ts +0 -2
- package/dist/host/walk.d.ts +0 -6
- package/dist/judge/late.d.ts +0 -7
- package/dist/judge/take.d.ts +0 -59
- package/dist/judge/widening.d.ts +0 -1
- package/dist/land/act.d.ts +0 -30
- package/dist/land/alias.d.ts +0 -10
- package/dist/land/held.d.ts +0 -7
- package/dist/land/inert.d.ts +0 -26
- package/dist/land/leaving.d.ts +0 -14
- package/dist/land/ledger.d.ts +0 -33
- package/dist/land/owned.d.ts +0 -23
- package/dist/land/sign.d.ts +0 -15
- package/dist/land/standing-pin.d.ts +0 -3
- package/dist/land/vouched.d.ts +0 -21
- package/dist/land/withdraw.d.ts +0 -14
- package/dist/observe/files.d.ts +0 -14
- package/dist/observe/identity.d.ts +0 -21
- package/dist/observe/match.d.ts +0 -1
- package/dist/observe/regions.d.ts +0 -29
- package/dist/observe/run.d.ts +0 -31
- package/dist/observe/runner.d.ts +0 -20
- package/dist/render/capsule.d.ts +0 -24
- package/dist/render/field.d.ts +0 -3
- package/dist/render/names.d.ts +0 -3
- package/dist/render/open.d.ts +0 -27
- package/dist/render/page.d.ts +0 -3
- package/dist/render/receipts.d.ts +0 -3
- package/dist/render/shape.d.ts +0 -16
- package/dist/render/target.d.ts +0 -18
- package/dist/render/view.d.ts +0 -22
- /package/dist/{fold → engine}/object.d.ts +0 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Native authenticated reference export
|
|
2
|
+
|
|
3
|
+
`bound sign --as reference <source-url> --key <key-id>` exports a public snapshot from an admitted local place. The selected host signer is the place's existing signer port. File signing additionally requires its explicitly supplied `--key-file`; command signing uses the host registry. There is no implicit signer, network fetch or private export runner.
|
|
4
|
+
|
|
5
|
+
The command prints one JSON value with profile `reference-export@1`, a `reference`, the exact `carrier` text and a public `context`. It neither lands the proof nor advances the place's epoch. It does not publish, write an output directory or alter TARGET, ledgers or receipts. The caller chooses where to deliver these bytes.
|
|
6
|
+
|
|
7
|
+
The place declares `reference/authentication=authenticated-standing@1`, `reference/proof-scope`, `reference/records`, and an interval `reference/export-bytes` measured in bytes. It also pins `reference/contracts/refusals` and `reference/contracts/standing` to the exact installed contract files. Missing, conflicting or unauthenticated declarations refuse. These are place declarations, not increased general ceilings.
|
|
8
|
+
|
|
9
|
+
The exporter uses Bound's authenticated Root standing and existing context preparation. It preserves typed effective history and applies the existing configuration projection; it does not implement another fold. If the current carrier profile cannot represent historical authority, it refuses as `reference-export/history` instead of dropping originals or forging a new admission. The separate B3 quartet covers complete public standing across declared classes and committed acts; this carrier still refuses historical authority it cannot represent.
|
|
10
|
+
|
|
11
|
+
The carrier retains `authenticated-standing@1` framing. Its proof commits to the original canonical signed lines. The proof's witness snapshot also commits, through `reference-export-context@1`, to semantic standing identity, epoch, proof scope, policy, form implementation, public signers, signature algorithms, the refusal-catalog digest, the standing-contract digest, and the declared byte and record budgets. Blob identity remains separate from semantic standing identity and source location.
|
|
12
|
+
|
|
13
|
+
The exported context is public data, not an authority anchor. A consumer independently accepts its keys, policy and interpretation contracts, then supplies these expectations to `inspectAuthenticatedReference`. When `contracts` is supplied, that existing API verifies the context snapshot before requesting bytes. Altering either contract digest or a resource budget invalidates that snapshot. Existing callers without the new context retain their 0.2.0 inspection contract; that compatibility does not assert verification of the added interpretation contracts.
|
|
14
|
+
|
|
15
|
+
`/engine` remains pure. Exporting a reference does not select WASM, and B1 does not claim B2's backend composition. Signature, authority and context checks precede projection. `next` recommendations from `refusals.bound` grant no permission to execute, repair or sign.
|
|
16
|
+
|
|
17
|
+
## Conformance quartet
|
|
18
|
+
|
|
19
|
+
- Positive data: `samples/reference-export/yes.json`. The native test bootstraps a real Root with a disposable key and admits its cell and claim through `bound land`. It then executes this public signing command and verifies the result through the public reference API and unchanged engine.
|
|
20
|
+
- Negative data: `samples/reference-export/no.json`. Changing a carrier byte refuses on blob integrity before projection.
|
|
21
|
+
- Vector: `vectors/native/reference-export.vector.json`. It runs the tracked conformance test, which invokes the actual CLI for bootstrap, admission and export. No private runner or pre-signed fixture stands in for those operations.
|
|
22
|
+
- Additional boundaries: changed contract identities, changed byte budget, invalid source, unauthorized key and invalid signer response. Export and refusal leave the real Root's TARGET and complete ledger inventory unchanged.
|
|
23
|
+
|
|
24
|
+
Captured semantic markers from the native run:
|
|
25
|
+
|
|
26
|
+
```text
|
|
27
|
+
EXPORT real-admission · contracts-bound · signatures-verified · REQUIRED · no commit
|
|
28
|
+
REFUSE altered-carrier · blob integrity
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Keys are generated outside the repository and discarded by the test. Captures contain no private key, local path or successful receipt for a failed export. Fixture preparation and each CLI invocation have their own existing bounds; the enclosing conformance runner's lifetime is not a cost claim for any individual reading. Release admission, portable release receipts and exact-artifact acceptance remain separate from this quartet.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"scope": "contract/published/reference-export",
|
|
3
|
+
"members": [
|
|
4
|
+
{
|
|
5
|
+
"role": "contract",
|
|
6
|
+
"path": "docs/contracts/reference-export.md",
|
|
7
|
+
"digest": "sha256:08e12bbed83729f42f905e03f090126181df952b678a92fe06a0e24eefc106f4"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"role": "yes",
|
|
11
|
+
"path": "samples/reference-export/yes.json",
|
|
12
|
+
"digest": "sha256:550baaffd4a431c550a613bdfa146eea1ef7630e80a6db9bec39bffb5d51cce6"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"role": "vector",
|
|
16
|
+
"path": "vectors/native/reference-export.vector.json",
|
|
17
|
+
"digest": "sha256:54546281a22234178664cb77996df8e059fd4080e1381a64d51b87513f620bc9"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"role": "no",
|
|
21
|
+
"path": "samples/reference-export/no.json",
|
|
22
|
+
"digest": "sha256:b4351ab6dd579c6c37bd34323228cb6bd992a478b9ccbce2b1ad60abafa78760"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Reference inspection through the declared content port
|
|
2
|
+
|
|
3
|
+
`bound fold '#bound:1?…'` inspects a semantic standing from the location explicitly carried by its reference. The acting place supplies an admitted `content-request/1` transport selection and finite time and response-byte limits. A locator selects neither executable code nor authority. The host performs transport; no reader acquires a network effect.
|
|
4
|
+
|
|
5
|
+
The shared reference decoder checks the canonical reference. The existing transport port supplies bytes under the place's selected mechanism and limits. The shared inspector verifies the blob digest, exact document wrapper, and canonical semantic standing digest in that order. A successful result names the supplying source, both identities, and `no encounters computed · unauthenticated`; it is inspection, never a grant, admission, signature proof or encounter calculation.
|
|
6
|
+
|
|
7
|
+
Digest mismatch is an integrity refusal, never a fork. Timeout aborts the native HTTP request; oversized responses cancel the body. Failed, interrupted or invalid inspection returns no successful result. This operation has no write port: it does not admit declarations, write TARGET, write receipts or retain partially received bytes. `--check`, a selection view or effectful arguments with a reference refuse by name before transport.
|
|
8
|
+
|
|
9
|
+
The positive sample is the same canonical standing wrapper already used by the reference quartet, served at a local fixture location. The negative sample changes the served bytes while keeping the declared digest. The CLI vector runs on two unrelated places and records successful inspection, wrong blob, exceeded byte budget, timeout cancellation and refusal before transport. Request paths are recorded separately from the reference: the URL fragment is not sent in HTTP requests. Page code may read a fragment; secrecy is not claimed.
|
|
10
|
+
|
|
11
|
+
External cancellation as a general API, signature/admission of transported claims, arbitrary source protocols without a declared host binding, CORS and another-machine portability remain separate demands. No source location is a permanent service requirement.
|
|
12
|
+
|
|
13
|
+
The executable publication vector binds the existing content-request/1 command port to /bin/cat over declared immutable fixture bytes. Preparation is outside the clock; the CLI call is measured. It covers two unrelated standings and integrity refusal without a server or reader network effect. Earlier HTTP byte-limit and timeout captures remain separate evidence; this vector does not remeasure HTTP.
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## Authenticated host opening
|
|
17
|
+
|
|
18
|
+
`@lapxo/bound/reference` exports `inspectAuthenticatedReference`, `encodeReference` and `decodeReference`. The host supplies its authority snapshot and epoch, public signers and coverage, admitted signature eras, admission/origin policy, selected form standing and executable implementation, finite byte/record budgets and bounded transport and cryptographic ports. Neither source URL, carrier, digest nor embedded key grants authority.
|
|
19
|
+
|
|
20
|
+
The authenticated-standing@1 carrier and effective global standing projection are defined by the consumed Topos contract. Original signatures authenticate retained historical evidence; the snapshot commitment is checked against the current authority epoch. This opening does not grant permission to reuse an answer as current. Configuration history that needs an admitted standing fold refuses by name. Only fully verified records are returned, for the same pure projection in ESM or WASM; no writer or commit port is exposed.
|
|
21
|
+
|
|
22
|
+
Without the authenticated profile, the existing CLI reference branch remains explicitly unauthenticated inspection.
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Native authenticated opening
|
|
26
|
+
|
|
27
|
+
The same reference command consumes `reference/authentication form=alphabet measure=id value=authenticated-standing@1` from the selected local place. Without that declaration the existing inspection remains explicitly unauthenticated. With it the host requires unique authenticated declarations for `engine/object` (`esm@1` or `wasm@1`), `reference/snapshot`, `reference/epoch`, `reference/proof-scope`, `reference/records`, `reference/policy`, `reference/form-implementation`, `reference/contracts/refusals` and `reference/contracts/standing` (all `measure=id`); the snapshot is a typed SHA-256 digest, epoch and record budget are safe integers, and the record budget is positive. The declared transport supplies its own existing byte and lifetime bounds.
|
|
28
|
+
|
|
29
|
+
Trust comes from the local place's admitted keys, signature eras, snapshot and selected object interpretation, including origin and witness grants. No key, grant or verifier supplied by the carrier becomes host authority. The public path delegates signatures, historical authority, wire interpretation, effective order and context admission to the existing SDK and projects admitted records through the existing engine. Signature, coverage, era, effective-order, blob-integrity and semantic-identity failures refuse before any authenticated result or cell output.
|
|
30
|
+
|
|
31
|
+
Opening prints the source, authenticated semantic standing, object results and authority-context identity. It does not land an act or emit a successful partial result. Existing private content-cache stamps and store accounting may be updated; those are distinct from the public place, its signed authority and its committed history. Inspection does not grant permission to reuse an old response as a current one.
|
|
32
|
+
|
|
33
|
+
For the opt-in `authenticated-standing@1` profile, the host checks the selected context offer’s SHA-256 `restsOn` members and uses the existing `moduleClosure` before importing that context. A missing, altered, undeclared or unresolved import refuses before context code executes. The same preparation applies when the explicit object view selects `wasm@1`; absent these opt-in profiles, the existing path is unchanged. Import closure proves neither correctness nor sandbox confinement, creates no authority, and does not authorize current-answer reuse.
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Compatibility of published 0.2.0 carriers
|
|
37
|
+
|
|
38
|
+
The original weather and editorial carriers, their signatures and effective-order counterexamples remain byte-identical. `inspectAuthenticatedReference` accepts their independently supplied legacy trust tuple without inventing the newer contract commitments. Its native vector verifies both positive carriers and their arrival-equivalent projection, and rejects signature, coverage, era, effective-order, blob and semantic-standing failures. Authority and context preparation use the existing host and SDK; no replacement verifier or form algebra is supplied by the carrier.
|
|
39
|
+
|
|
40
|
+
This preserves the carrier/API contract, not an implicit native backend. The historical receiver TARGETs omit the explicit backend and interpretation-contract lines required by native opening in 0.2.1. They therefore refuse with `reference/backend` before transport; the vector asserts that refusal instead of re-signing or weakening the fixtures. No automatic ESM fallback is added. Native positive opening with the complete admitted context is demonstrated separately by the reference-export and reference-backend quartets, including ESM/WASM equality and altered-byte refusal. `compatibility.json` records every inherited condition and expected result; the no sample still contains the original bad signature.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"scope": "contract/published/reference-port",
|
|
3
|
+
"members": [
|
|
4
|
+
{
|
|
5
|
+
"role": "contract",
|
|
6
|
+
"path": "docs/contracts/reference-port.md",
|
|
7
|
+
"digest": "sha256:d6198b9ab177086cb334e9e9cd7adb5c67b0af7165a79d23812aa2496d17674c"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"role": "yes",
|
|
11
|
+
"path": "samples/reference-port/yes/catalog/standing.json",
|
|
12
|
+
"digest": "sha256:24a36ce9c9703e683c3ec93e1028135d33010a71d2eeff7b2ef85b05c783a87a"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"role": "vector",
|
|
16
|
+
"path": "vectors/reference-port.cli.json",
|
|
17
|
+
"digest": "sha256:be0ac4e9fdd13cd14b3b5f459edb660d6cf7fe7efbb17da0cc055a535bb5fff3"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"role": "no",
|
|
21
|
+
"path": "samples/reference-port/no/catalog/standing.json",
|
|
22
|
+
"digest": "sha256:69f885092a0694126d1c71a1f14ccb7b7e893ab40f5087420ee1bae327fc3d6f"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=id role=writes scope=refusal/catalog value=bound-refusals@1
|
|
2
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=code role=writes scope=refusal/reference-export/source value=reference-export/source
|
|
3
|
+
bound-lock/1 about="The source URL is not a canonical standing-reference location." at=policy:bound-reference-export by=target form=alphabet measure=class role=writes scope=refusal/reference-export/source value=input
|
|
4
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=next role=writes scope=refusal/reference-export/source value=check-source
|
|
5
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=code role=writes scope=refusal/reference-export/context value=reference-export/context
|
|
6
|
+
bound-lock/1 about="Required admitted export policy or exact contract bytes are missing or conflicting." at=policy:bound-reference-export by=target form=alphabet measure=class role=writes scope=refusal/reference-export/context value=interpretation
|
|
7
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=next role=writes scope=refusal/reference-export/context value=inspect-standing
|
|
8
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=code role=writes scope=refusal/reference-export/budget value=reference-export/budget
|
|
9
|
+
bound-lock/1 about="The export exceeds or lacks its explicitly declared record or byte budget." at=policy:bound-reference-export by=target form=alphabet measure=class role=writes scope=refusal/reference-export/budget value=resource
|
|
10
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=next role=writes scope=refusal/reference-export/budget value=inspect-resource-lines
|
|
11
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=code role=writes scope=refusal/reference-export/authority value=reference-export/authority
|
|
12
|
+
bound-lock/1 about="The selected key is not authorized for the snapshot proof at this epoch." at=policy:bound-reference-export by=target form=alphabet measure=class role=writes scope=refusal/reference-export/authority value=authority
|
|
13
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=next role=writes scope=refusal/reference-export/authority value=inspect-authority
|
|
14
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=code role=writes scope=refusal/reference-export/signer value=reference-export/signer
|
|
15
|
+
bound-lock/1 about="The selected signer failed or returned a signature that does not verify." at=policy:bound-reference-export by=target form=alphabet measure=class role=writes scope=refusal/reference-export/signer value=host
|
|
16
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=next role=writes scope=refusal/reference-export/signer value=inspect-signer
|
|
17
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=code role=writes scope=refusal/reference-export/history value=reference-export/history
|
|
18
|
+
bound-lock/1 about="The current carrier profile cannot represent this historical authority; no original is silently removed." at=policy:bound-reference-export by=target form=alphabet measure=class role=writes scope=refusal/reference-export/history value=authority
|
|
19
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=next role=writes scope=refusal/reference-export/history value=inspect-standing-contract
|
|
20
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=code role=writes scope=refusal/catalog/invalid value=catalog/invalid
|
|
21
|
+
bound-lock/1 about="The refusal catalog is malformed, duplicated or incomplete." at=policy:bound-reference-export by=target form=alphabet measure=class role=writes scope=refusal/catalog/invalid value=interpretation
|
|
22
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=next role=writes scope=refusal/catalog/invalid value=resolve-catalog
|
|
23
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=code role=writes scope=refusal/reference/format value=reference/format
|
|
24
|
+
bound-lock/1 about="The reference has an unsupported or noncanonical shape." at=policy:bound-reference-export by=target form=alphabet measure=class role=writes scope=refusal/reference/format value=input
|
|
25
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=next role=writes scope=refusal/reference/format value=check-reference
|
|
26
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=code role=writes scope=refusal/standing/view value=standing/view
|
|
27
|
+
bound-lock/1 about="The place has not declared the public standing view." at=policy:bound-reference-export by=target form=alphabet measure=class role=writes scope=refusal/standing/view value=interpretation
|
|
28
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=next role=writes scope=refusal/standing/view value=declare-standing-view
|
|
29
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=code role=writes scope=refusal/standing/query value=standing/query
|
|
30
|
+
bound-lock/1 about="Standing accepts only the local committed projection." at=policy:bound-reference-export by=target form=alphabet measure=class role=writes scope=refusal/standing/query value=input
|
|
31
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=next role=writes scope=refusal/standing/query value=query-local-standing
|
|
32
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=code role=writes scope=refusal/reference-export/usage value=reference-export/usage
|
|
33
|
+
bound-lock/1 about="Reference export requires exactly one source and explicit signing options." at=policy:bound-reference-export by=target form=alphabet measure=class role=writes scope=refusal/reference-export/usage value=input
|
|
34
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=next role=writes scope=refusal/reference-export/usage value=check-export-arguments
|
|
35
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=code role=writes scope=refusal/authenticated-reference/context value=authenticated-reference/context
|
|
36
|
+
bound-lock/1 about="The supplied interpretation context or snapshot binding is inconsistent." at=policy:bound-reference-export by=target form=alphabet measure=class role=writes scope=refusal/authenticated-reference/context value=interpretation
|
|
37
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=next role=writes scope=refusal/authenticated-reference/context value=resolve-public-context
|
|
38
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=code role=writes scope=refusal/authenticated-reference/budget value=authenticated-reference/budget
|
|
39
|
+
bound-lock/1 about="The declared record or byte budget is invalid or exceeded." at=policy:bound-reference-export by=target form=alphabet measure=class role=writes scope=refusal/authenticated-reference/budget value=resource
|
|
40
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=next role=writes scope=refusal/authenticated-reference/budget value=inspect-resource-lines
|
|
41
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=code role=writes scope=refusal/authenticated-reference/transport value=authenticated-reference/transport
|
|
42
|
+
bound-lock/1 about="The content port failed or returned shared mutable bytes." at=policy:bound-reference-export by=target form=alphabet measure=class role=writes scope=refusal/authenticated-reference/transport value=host
|
|
43
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=next role=writes scope=refusal/authenticated-reference/transport value=inspect-content-port
|
|
44
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=code role=writes scope=refusal/authenticated-reference/integrity value=authenticated-reference/integrity
|
|
45
|
+
bound-lock/1 about="Carrier bytes or the snapshot commitment differ from their declared digest." at=policy:bound-reference-export by=target form=alphabet measure=class role=writes scope=refusal/authenticated-reference/integrity value=integrity
|
|
46
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=next role=writes scope=refusal/authenticated-reference/integrity value=resolve-exact-bytes
|
|
47
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=code role=writes scope=refusal/authenticated-reference/framing value=authenticated-reference/framing
|
|
48
|
+
bound-lock/1 about="The carrier is not the canonical supported UTF-8 frame." at=policy:bound-reference-export by=target form=alphabet measure=class role=writes scope=refusal/authenticated-reference/framing value=input
|
|
49
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=next role=writes scope=refusal/authenticated-reference/framing value=check-carrier
|
|
50
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=code role=writes scope=refusal/authenticated-reference/wire value=authenticated-reference/wire
|
|
51
|
+
bound-lock/1 about="An original record is not canonical supported wire." at=policy:bound-reference-export by=target form=alphabet measure=class role=writes scope=refusal/authenticated-reference/wire value=input
|
|
52
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=next role=writes scope=refusal/authenticated-reference/wire value=check-original-records
|
|
53
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=code role=writes scope=refusal/authenticated-reference/authority value=authenticated-reference/authority
|
|
54
|
+
bound-lock/1 about="The proof or an original lacks admitted authority under the supplied context." at=policy:bound-reference-export by=target form=alphabet measure=class role=writes scope=refusal/authenticated-reference/authority value=authority
|
|
55
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=next role=writes scope=refusal/authenticated-reference/authority value=inspect-authority
|
|
56
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=code role=writes scope=refusal/authenticated-reference/history value=authenticated-reference/history
|
|
57
|
+
bound-lock/1 about="This carrier profile cannot authenticate configuration withdrawal history." at=policy:bound-reference-export by=target form=alphabet measure=class role=writes scope=refusal/authenticated-reference/history value=interpretation
|
|
58
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=next role=writes scope=refusal/authenticated-reference/history value=request-admitted-standing
|
|
59
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=code role=writes scope=refusal/authenticated-reference/object-context value=authenticated-reference/object-context
|
|
60
|
+
bound-lock/1 about="The existing object validator refused the declared form or context." at=policy:bound-reference-export by=target form=alphabet measure=class role=writes scope=refusal/authenticated-reference/object-context value=interpretation
|
|
61
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=next role=writes scope=refusal/authenticated-reference/object-context value=inspect-object-context
|
|
62
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=code role=writes scope=refusal/authenticated-reference/identity value=authenticated-reference/identity
|
|
63
|
+
bound-lock/1 about="The semantic standing differs from the reference identity." at=policy:bound-reference-export by=target form=alphabet measure=class role=writes scope=refusal/authenticated-reference/identity value=integrity
|
|
64
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=next role=writes scope=refusal/authenticated-reference/identity value=resolve-standing
|
|
65
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=code role=writes scope=refusal/operation/failed value=operation/failed
|
|
66
|
+
bound-lock/1 about="An operation failed without a more specific public code; details are diagnostic only." at=policy:bound-reference-export by=target form=alphabet measure=class role=writes scope=refusal/operation/failed value=host
|
|
67
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=next role=writes scope=refusal/operation/failed value=inspect-diagnostic
|
|
68
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=code role=writes scope=refusal/operation/usage value=operation/usage
|
|
69
|
+
bound-lock/1 about="The command arguments do not describe a supported public operation." at=policy:bound-reference-export by=target form=alphabet measure=class role=writes scope=refusal/operation/usage value=input
|
|
70
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=next role=writes scope=refusal/operation/usage value=check-arguments
|
|
71
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=code role=writes scope=refusal/reference/backend value=reference/backend
|
|
72
|
+
bound-lock/1 about="The host did not select a supported explicit reference backend." at=policy:bound-reference-export by=target form=alphabet measure=class role=writes scope=refusal/reference/backend value=interpretation
|
|
73
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=next role=writes scope=refusal/reference/backend value=select-reference-backend
|
|
74
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=code role=writes scope=refusal/reference/cancelled value=reference/cancelled
|
|
75
|
+
bound-lock/1 about="The opening was interrupted before a complete result." at=policy:bound-reference-export by=target form=alphabet measure=class role=writes scope=refusal/reference/cancelled value=host
|
|
76
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=next role=writes scope=refusal/reference/cancelled value=inspect-interruption
|
|
77
|
+
bound-lock/1 at=policy:bound-host-ports by=target form=alphabet measure=code role=writes scope=refusal/host-port/budget value=host-port/budget
|
|
78
|
+
bound-lock/1 about="A host port lacks a valid finite budget or exceeds its byte bound." at=policy:bound-host-ports by=target form=alphabet measure=class role=writes scope=refusal/host-port/budget value=resource
|
|
79
|
+
bound-lock/1 at=policy:bound-host-ports by=target form=alphabet measure=next role=writes scope=refusal/host-port/budget value=inspect-resource-lines
|
|
80
|
+
bound-lock/1 at=policy:bound-host-ports by=target form=alphabet measure=code role=writes scope=refusal/host-port/cancelled value=host-port/cancelled
|
|
81
|
+
bound-lock/1 about="A host operation was cancelled before a complete result." at=policy:bound-host-ports by=target form=alphabet measure=class role=writes scope=refusal/host-port/cancelled value=host
|
|
82
|
+
bound-lock/1 at=policy:bound-host-ports by=target form=alphabet measure=next role=writes scope=refusal/host-port/cancelled value=inspect-interruption
|
|
83
|
+
bound-lock/1 at=policy:bound-host-ports by=target form=alphabet measure=code role=writes scope=refusal/host-port/timeout value=host-port/timeout
|
|
84
|
+
bound-lock/1 about="A host operation exceeded its declared lifetime." at=policy:bound-host-ports by=target form=alphabet measure=class role=writes scope=refusal/host-port/timeout value=host
|
|
85
|
+
bound-lock/1 at=policy:bound-host-ports by=target form=alphabet measure=next role=writes scope=refusal/host-port/timeout value=inspect-host-port
|
|
86
|
+
bound-lock/1 at=policy:bound-host-ports by=target form=alphabet measure=code role=writes scope=refusal/host-port/failed value=host-port/failed
|
|
87
|
+
bound-lock/1 about="A declared host callback failed; no successful result is returned." at=policy:bound-host-ports by=target form=alphabet measure=class role=writes scope=refusal/host-port/failed value=host
|
|
88
|
+
bound-lock/1 at=policy:bound-host-ports by=target form=alphabet measure=next role=writes scope=refusal/host-port/failed value=inspect-host-port
|
|
89
|
+
bound-lock/1 at=policy:bound-host-ports by=target form=alphabet measure=code role=writes scope=refusal/host-port/integrity value=host-port/integrity
|
|
90
|
+
bound-lock/1 about="Content bytes differ from the requested SHA-256 identity." at=policy:bound-host-ports by=target form=alphabet measure=class role=writes scope=refusal/host-port/integrity value=integrity
|
|
91
|
+
bound-lock/1 at=policy:bound-host-ports by=target form=alphabet measure=next role=writes scope=refusal/host-port/integrity value=resolve-exact-bytes
|
|
92
|
+
bound-lock/1 at=policy:bound-host-ports by=target form=alphabet measure=code role=writes scope=refusal/host-port/response value=host-port/response
|
|
93
|
+
bound-lock/1 about="A host response has an unsupported shape or shared mutable bytes." at=policy:bound-host-ports by=target form=alphabet measure=class role=writes scope=refusal/host-port/response value=host
|
|
94
|
+
bound-lock/1 at=policy:bound-host-ports by=target form=alphabet measure=next role=writes scope=refusal/host-port/response value=inspect-host-port
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Public refusal catalog
|
|
2
|
+
|
|
3
|
+
Source of truth: `refusals.bound` (`bound-refusals@1`), read through the existing wire parser. `readRefusalCatalog` and `describeRefusal` are exported from `/reference`; resolve `@lapxo/bound/refusals` for the published lines. The digest of these exact lines is bound into the authenticated reference context.
|
|
4
|
+
|
|
5
|
+
`BoundRefusal.code` is stable; diagnostic text is not a code. Native CLI refusals retain the diagnostic and emit a `bound-refusal@1` JSON record with code, category, meaning, next and catalog digest. Recommendations grant no authority and execute nothing. If the installed catalog cannot be read or validated, the CLI emits `catalog/invalid` with metadata explicitly `unmeasured`; it never fabricates a catalog digest or recursively formats that failure. A consumer checks the catalog bytes against its independently accepted context digest before parsing; parsing alone proves no authority. Legacy operations without a specific public code use `operation/failed`; no diagnostic is classified by regex. This does not claim a distinct code for every historical diagnostic. Successful four-state results remain results, never refusal codes.
|
|
6
|
+
|
|
7
|
+
| Code | Class | Meaning | Suggested next |
|
|
8
|
+
| --- | --- | --- | --- |
|
|
9
|
+
| reference-export/source | input | The source URL is not a canonical standing-reference location. | check-source |
|
|
10
|
+
| reference-export/context | interpretation | Required admitted export policy or exact contract bytes are missing or conflicting. | inspect-standing |
|
|
11
|
+
| reference-export/budget | resource | The export exceeds or lacks its explicitly declared record or byte budget. | inspect-resource-lines |
|
|
12
|
+
| reference-export/authority | authority | The selected key is not authorized for the snapshot proof at this epoch. | inspect-authority |
|
|
13
|
+
| reference-export/signer | host | The selected signer failed or returned a signature that does not verify. | inspect-signer |
|
|
14
|
+
| reference-export/history | authority | The current carrier profile cannot represent this historical authority; no original is silently removed. | inspect-standing-contract |
|
|
15
|
+
| catalog/invalid | interpretation | The refusal catalog is malformed, duplicated or incomplete. | resolve-catalog |
|
|
16
|
+
| reference/format | input | The reference has an unsupported or noncanonical shape. | check-reference |
|
|
17
|
+
| standing/view | interpretation | The place has not declared the public standing view. | declare-standing-view |
|
|
18
|
+
| standing/query | input | Standing accepts only the local committed projection. | query-local-standing |
|
|
19
|
+
| reference-export/usage | input | Reference export requires exactly one source and explicit signing options. | check-export-arguments |
|
|
20
|
+
| authenticated-reference/context | interpretation | The supplied interpretation context or snapshot binding is inconsistent. | resolve-public-context |
|
|
21
|
+
| authenticated-reference/budget | resource | The declared record or byte budget is invalid or exceeded. | inspect-resource-lines |
|
|
22
|
+
| authenticated-reference/transport | host | The content port failed or returned shared mutable bytes. | inspect-content-port |
|
|
23
|
+
| authenticated-reference/integrity | integrity | Carrier bytes or the snapshot commitment differ from their declared digest. | resolve-exact-bytes |
|
|
24
|
+
| authenticated-reference/framing | input | The carrier is not the canonical supported UTF-8 frame. | check-carrier |
|
|
25
|
+
| authenticated-reference/wire | input | An original record is not canonical supported wire. | check-original-records |
|
|
26
|
+
| authenticated-reference/authority | authority | The proof or an original lacks admitted authority under the supplied context. | inspect-authority |
|
|
27
|
+
| authenticated-reference/history | interpretation | This carrier profile cannot authenticate configuration withdrawal history. | request-admitted-standing |
|
|
28
|
+
| authenticated-reference/object-context | interpretation | The existing object validator refused the declared form or context. | inspect-object-context |
|
|
29
|
+
| authenticated-reference/identity | integrity | The semantic standing differs from the reference identity. | resolve-standing |
|
|
30
|
+
| operation/failed | host | An operation failed without a more specific public code; details are diagnostic only. | inspect-diagnostic |
|
|
31
|
+
| operation/usage | input | The command arguments do not describe a supported public operation. | check-arguments |
|
|
32
|
+
| reference/backend | interpretation | The host did not select a supported explicit reference backend. | select-reference-backend |
|
|
33
|
+
| reference/cancelled | host | The opening was interrupted before a complete result. | inspect-interruption |
|
|
34
|
+
| host-port/budget | resource | A host port lacks a valid finite budget or exceeds its byte bound. | inspect-resource-lines |
|
|
35
|
+
| host-port/cancelled | host | A host operation was cancelled before a complete result. | inspect-interruption |
|
|
36
|
+
| host-port/timeout | host | A host operation exceeded its declared lifetime. | inspect-host-port |
|
|
37
|
+
| host-port/failed | host | A declared host callback failed; no successful result is returned. | inspect-host-port |
|
|
38
|
+
| host-port/integrity | integrity | Content bytes differ from the requested SHA-256 identity. | resolve-exact-bytes |
|
|
39
|
+
| host-port/response | host | A host response has an unsupported shape or shared mutable bytes. | inspect-host-port |
|
|
40
|
+
|
|
41
|
+
Native quartet: `refusals.publication.json`. `vectors/native/refusals.vector.json` checks the wire catalog, its derived page, duplicate/missing records, and real export/inspection refusals in two places. No failed operation becomes a successful receipt. The captured semantic marker is:
|
|
42
|
+
|
|
43
|
+
```text
|
|
44
|
+
REFUSALS lines · unique codes · exact metadata · duplicate refused
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Specific producers cover reference syntax, standing query/view, native export usage/source/context/budget/authority/signer/history, and authenticated inspection context/budget/transport/integrity/framing/wire/authority/history/object-context/identity. Numeric CLI usage and uncoded legacy failures use the explicitly generic codes above; diagnostics remain unclassified. B2/B5 may add codes only by changing these versioned contract bytes and their vectors.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"scope": "contract/published/refusals",
|
|
3
|
+
"members": [
|
|
4
|
+
{
|
|
5
|
+
"role": "contract",
|
|
6
|
+
"path": "docs/contracts/refusals.md",
|
|
7
|
+
"digest": "sha256:ed549322f385e184b0defe705eac62cf546b8617ecb7f9fbe3f727431820f10c"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"role": "yes",
|
|
11
|
+
"path": "samples/refusals/yes.json",
|
|
12
|
+
"digest": "sha256:ea1c792b30ac00df4390343fe51359efe4e569964cd4da25daa5492b6db4dd03"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"role": "vector",
|
|
16
|
+
"path": "vectors/native/refusals.vector.json",
|
|
17
|
+
"digest": "sha256:2e2833bc6388784e030b50232bd99f84ccb05b0fd6ed86f6db0a5a0b1dc38e05"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"role": "no",
|
|
21
|
+
"path": "samples/refusals/no.json",
|
|
22
|
+
"digest": "sha256:731fc1240064d52b90ca04f627821a1f241382cf159fa33d3d1e18e7fc778a70"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
bound-lock/1 at=policy:bound-reference-export by=target form=alphabet measure=id role=writes scope=standing/contract value=authenticated-standing-projection@1
|
|
2
|
+
bound-lock/1 about="Standing is authenticated under admission snapshots across declared key classes." at=policy:bound-reference-export by=target form=alphabet measure=id role=writes scope=standing/classes value=all-declared
|
|
3
|
+
bound-lock/1 about="Exact redelivery does not establish another origin." at=policy:bound-reference-export by=target form=alphabet measure=id role=writes scope=standing/duplicates value=preserve-attribution
|
|
4
|
+
bound-lock/1 about="Exact configuration withdrawals are applied before publication; typed records retain their admitted effective history." at=policy:bound-reference-export by=target form=alphabet measure=id role=writes scope=standing/withdrawals value=exact
|
|
5
|
+
bound-lock/1 about="Incompatible admitted declarations are preserved; no first-wins selection." at=policy:bound-reference-export by=target form=alphabet measure=id role=writes scope=standing/conflicts value=preserve
|
|
6
|
+
bound-lock/1 about="Historical receipts are evidence, not current authority or a current response." at=policy:bound-reference-export by=target form=alphabet measure=id role=writes scope=standing/history value=distinct
|
|
7
|
+
bound-lock/1 about="Public current configuration omits withdrawal markers; authenticated historical records remain available through evidence and act views." at=policy:bound-reference-export by=target form=alphabet measure=id role=writes scope=standing/publication value=live-configuration
|
|
8
|
+
bound-lock/1 about="The contextual carrier separates Root, legacy places and committed place contexts; clocks are never flattened." at=policy:bound-reference-export by=target form=alphabet measure=id role=writes scope=standing/namespaces value=preserve
|
|
9
|
+
bound-lock/1 about="Typed records retain admitted effective order; standing is evidence rather than a new grant of authority." at=policy:bound-reference-export by=target form=alphabet measure=id role=writes scope=standing/effective-order value=admitted
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Complete public standing
|
|
2
|
+
|
|
3
|
+
Source of truth: `standing.bound`. Resolve `@lapxo/bound/standing-contract` for these exact contract lines. The authenticated export context binds their digest beside the refusal catalog digest.
|
|
4
|
+
|
|
5
|
+
`bound fold --as standing` reads admitted evidence across every declared key class and committed local acts. Authentication uses the grant and signature vocabulary at each admission epoch. Storage layout is not authority. No consumer reconstructs journals or chooses the first declaration on collision.
|
|
6
|
+
|
|
7
|
+
- **standing/classes: all-declared.** Standing is authenticated under admission snapshots across declared key classes.
|
|
8
|
+
- **standing/duplicates: preserve-attribution.** Exact redelivery does not establish another origin.
|
|
9
|
+
- **standing/withdrawals: exact.** Exact configuration withdrawals are applied before publication; typed records retain their admitted effective history.
|
|
10
|
+
- **standing/conflicts: preserve.** Incompatible admitted declarations are preserved; no first-wins selection.
|
|
11
|
+
- **standing/history: distinct.** Historical receipts are evidence, not current authority or a current response.
|
|
12
|
+
- **standing/publication: live-configuration.** Public current configuration omits withdrawal markers; authenticated historical records remain available through evidence and act views.
|
|
13
|
+
- **standing/namespaces: preserve.** The contextual carrier separates Root, legacy places and committed place contexts; clocks are never flattened.
|
|
14
|
+
- **standing/effective-order: admitted.** Typed records retain admitted effective order; standing is evidence rather than a new grant of authority.
|
|
15
|
+
|
|
16
|
+
The legacy Root output is canonical signed lines. A place declaring `place-act-context@1` returns its existing JSON carrier: `root`, `legacyPlaces`, `places`, and authenticated `contexts`. Namespaces and independent clocks remain separate; contextual data never grants Root authority. Configuration revisions and exact withdrawals have already been applied. Typed effective history is passed to the existing object projection, not treated as configuration. `standing` is current evidence; `evidence` and `act` preserve history.
|
|
17
|
+
|
|
18
|
+
Native quartet: `standing.publication.json`. The same real CLI vector runs in observations and inventory, in journal and committed-act modes. It prints:
|
|
19
|
+
|
|
20
|
+
```text
|
|
21
|
+
STANDING observations journal · all classes · collisions retained · exact withdrawals · replay identical · forged excluded
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
The no sample changes admitted bytes without resigning: the forged row is excluded while valid rows remain. Later withdrawal of a key does not erase its historically admitted evidence. No private fixture key, path or run log ships with the quartet.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"scope": "contract/published/standing",
|
|
3
|
+
"members": [
|
|
4
|
+
{
|
|
5
|
+
"role": "contract",
|
|
6
|
+
"path": "docs/contracts/standing.md",
|
|
7
|
+
"digest": "sha256:5ec4de0e1a47590361c74eb3c35256367bf11e4803d95a75ecfd38d76914b9bf"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"role": "yes",
|
|
11
|
+
"path": "samples/standing/yes.json",
|
|
12
|
+
"digest": "sha256:3fa321061f10b9d8fa25ddd8c57bf2471196e98a1719b41cd37352aee014ae9a"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"role": "vector",
|
|
16
|
+
"path": "vectors/native/standing.vector.json",
|
|
17
|
+
"digest": "sha256:a70bacac5dcec8409388ef4f39394ed51180dabac65c27e9c4384de894bc05ba"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"role": "no",
|
|
21
|
+
"path": "samples/standing/no.json",
|
|
22
|
+
"digest": "sha256:147eba19b429b81cd2f7452c0a482796d2c4f95f842e3068b3cff40567db3ce7"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Lapxo
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "{}"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright {yyyy} {name of copyright owner}
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|