@stravica-ai/rcf-schemas 0.6.1 → 0.6.2
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/CHANGELOG.md +26 -0
- package/docs/req.md +1 -0
- package/docs/user-story.md +3 -0
- package/fixtures/invalid/req/req-006-delivered-by-not-object.json +14 -0
- package/fixtures/invalid/user-story/us-006-ac-owner-ref-not-object.json +21 -0
- package/fixtures/invalid/user-story/us-007-ac-disposition-bad-enum.json +21 -0
- package/fixtures/invalid/user-story/us-008-ac-vendor-citation-missing-verified-on.json +23 -0
- package/fixtures/valid/req/req-004-delivered-by.json +19 -0
- package/fixtures/valid/user-story/us-006-ac-ownership-and-disposition.json +47 -0
- package/package.json +1 -1
- package/schemas/req.schema.json +16 -1
- package/schemas/user-story.schema.json +40 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,32 @@ All notable changes to `@stravica-ai/rcf-schemas` are documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format roughly follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). Pre-1.0 breaking changes are signalled by a minor bump per semver 0.x convention.
|
|
6
6
|
|
|
7
|
+
## 0.6.2 - 2026-09-09
|
|
8
|
+
|
|
9
|
+
Patch bump for four additive, optional fields that let a blueprint's own layers point at their owning artefacts rather than restating shapes and promises inline. Adds `deliveredBy` on the requirement record (naming the TAC or ADR that delivers the requirement's externally promised property), and `ownerRef`, `disposition`, and `vendorCitation` on the acceptance criterion inline on a user story. Every change is additive: every 0.6.1-valid document remains valid.
|
|
10
|
+
|
|
11
|
+
Patch semver convention: URLs pinned at `v0.6.0`. No breaking change; every 0.6.1-valid document keeps validating.
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- **`req.schema.json`**: new optional `deliveredBy` on the requirement record, `$defs.deliveredBy`. Object with three optional sub-fields (`tacId` via the shared `common.$defs.tacId` pattern, `adrId` via `common.$defs.adrId`, and a min-length-1 `field` string carrying an optional dotted path into the delivering record). `additionalProperties: false` on the object. All sub-fields are optional at the schema surface so the record composes additively; consumer rulesets that gate the delivery link may require at least one of `tacId` or `adrId`.
|
|
16
|
+
- **`user-story.schema.json`**: new optional `ownerRef` on the inline `$defs.acceptanceCriterion`, `$defs.acOwnerRef`. Same shape as `deliveredBy` (optional `tacId`, optional `adrId`, optional `field`), naming the owning TAC or ADR an acceptance criterion references instead of restating. `additionalProperties: false`.
|
|
17
|
+
- **`user-story.schema.json`**: new optional `disposition` on the inline `$defs.acceptanceCriterion`, `$defs.acDisposition`. Enum `fixed | template`. Marks whether the criterion is the blueprint's to fix (mechanism-invariant, inherited unchanged by every applying project) or the applying agent's to set (project-parameterised, shape-given and value-open). Absence carries no default: a consumer that requires the marker treats an unmarked AC as a defect, and a consumer that does not require it ignores the absence.
|
|
18
|
+
- **`user-story.schema.json`**: new optional `vendorCitation` on the inline `$defs.acceptanceCriterion`, `$defs.acVendorCitation`. Object with two required sub-fields (`url`, JSON Schema `format: uri`, min-length-1; `verifiedOn`, `format: date`, ISO-8601 `YYYY-MM-DD`) for any criterion whose truth rests on a third-party platform fact. `additionalProperties: false`. Consumers may fetch the URL at gate time so a dead link is a finding, and may compare `verifiedOn` against a tolerance window.
|
|
19
|
+
- **Fixtures (valid)**: `fixtures/valid/req/req-004-delivered-by.json` (a REQ with `deliveredBy` pointing at a TAC field), `fixtures/valid/user-story/us-006-ac-ownership-and-disposition.json` (a US with two ACs exercising `ownerRef`, `disposition` at both enum values, and `vendorCitation`).
|
|
20
|
+
- **Fixtures (invalid)**: `fixtures/invalid/req/req-006-delivered-by-not-object.json` (deliveredBy as a bare id string), `fixtures/invalid/user-story/us-006-ac-owner-ref-not-object.json` (ownerRef as a bare id string), `fixtures/invalid/user-story/us-007-ac-disposition-bad-enum.json` (disposition outside the `fixed | template` enum), `fixtures/invalid/user-story/us-008-ac-vendor-citation-missing-verified-on.json` (vendorCitation object missing its required `verifiedOn` date).
|
|
21
|
+
- **Tests**: `test/req.test.js` gains 7 cases for `deliveredBy` (optional back-compat, TAC-pointing, ADR-pointing, empty object, string rejection, unknown-property rejection, bad-tacId-shape rejection). `test/user-story.test.js` gains 13 cases across `ownerRef`, `disposition`, and `vendorCitation` (both enum values, both id targets, missing required sub-fields, bad `verifiedOn` format, unknown property rejections, and a combined-shape case alongside `scope`, `determinism`-adjacent optional fields, and `provenance`). Total suite grows from 330 to 350.
|
|
22
|
+
|
|
23
|
+
### Migration
|
|
24
|
+
|
|
25
|
+
- **Existing chains on 0.6.1**: bump `@stravica-ai/rcf-schemas` to `0.6.2`. Every existing document keeps validating; all four fields are optional and unknown to pre-0.6.2 callers.
|
|
26
|
+
- **Consumers that inline the AC record**: pre-0.6.2 code that used `additionalProperties: false` at the AC level via a local extension keeps refusing the new fields until the consumer's own schema pins are bumped. The shared record accepts the fields immediately.
|
|
27
|
+
|
|
28
|
+
### Notes
|
|
29
|
+
|
|
30
|
+
- Sub-defs sit alongside the existing `acProvenance` peer on the user story schema, and alongside `reqShapeClassification` on the requirement schema. Both `deliveredBy` and `acOwnerRef` are the same {`tacId?`, `adrId?`, `field?`} shape but defined per file rather than in `common.schema.json`, on the same grounds as `reqShapeClassification` and `acProvenance`: a small, record-local $def keeps the change surface additive on exactly the two files it lives on.
|
|
31
|
+
- The lint mechanics that consume these fields (single-definition ownership, REQ delivery, disposition ledger, vendor-citation freshness) live in the consuming `rcf-lite` build, not in this schema. The schema surface stays validation-only.
|
|
32
|
+
|
|
7
33
|
## 0.6.1 - 2026-09-05
|
|
8
34
|
|
|
9
35
|
Patch bump for the T-0 visual-round Playwright-first ship-gate seam (`projects/blueprint-library/specs/visual-round-spec-2026-09-04.md`, section 3.4). Adds an additive, optional `probePacks[]` carrier on `browserVerificationRecord` so the record shape that rcf-lite's `packages/rcf-lite/src/browser-verify/pack-runner.js` already emits (per pack `packName`, `packVersion`, `blueprintSlug`, `applicable`, `checks[]`, optional `preChecks[]`, optional pack-level `detail` string) can persist without tripping `additionalProperties: false`.
|
package/docs/req.md
CHANGED
|
@@ -27,6 +27,7 @@ Individual Requirement within a PRD. One file per REQ. Recommended path: `rcf/re
|
|
|
27
27
|
|---|---|---|
|
|
28
28
|
| `rationale` | string | Why this REQ exists. |
|
|
29
29
|
| `tags` | array of strings | Free-form tags for grouping or filtering. |
|
|
30
|
+
| `deliveredBy` | object: `{tacId?, adrId?, field?}` | 0.6.2. Back-reference naming the TAC or ADR that delivers the requirement's externally promised property (a global staleness ceiling, an anti-enumeration guarantee, a forward-only migration invariant, a boot-event contract). `tacId` and `adrId` re-use the shared id patterns; `field` is an optional dotted path into the delivering record (for example, `responsibilities.replicationCeiling` or `decision.retryPolicy`). All sub-fields optional at schema level so the record composes additively; consumer rulesets may require at least one of `tacId` or `adrId` on a REQ that promises an externally observable property. `additionalProperties: false`. |
|
|
30
31
|
|
|
31
32
|
## Why REQ is its own file
|
|
32
33
|
|
package/docs/user-story.md
CHANGED
|
@@ -44,6 +44,9 @@ Each AC inside `acceptanceCriteria[]`:
|
|
|
44
44
|
| `testable` | boolean | yes | Author declares the AC is testable. |
|
|
45
45
|
| `scope` | `scopeTag` enum | no | `library`, `runtime`, `deployed`, `unclassified`. Optional at schema level (0.4.3). Names the scope at which the AC is observable; governs which test scopes count as coverage. |
|
|
46
46
|
| `determinism` | enum: `deterministic`, `nonDeterministic` | no | 0.6.0. Author's declaration of whether the AC's observable output is deterministic or non-deterministic (LLM-generated text, ranked results, generated code, judgement calls). Optional at schema level; absence is treated as `deterministic` by every consumer. Governs whether an EVAL is required by `rcf audit eval coverage --strict` and whether the merge gate emits `EVAL-MISSING` / `EVAL-BELOW-THRESHOLD` per-AC verdicts. |
|
|
47
|
+
| `ownerRef` | object: `{tacId?, adrId?, field?}` | no | 0.6.2. Back-reference naming the owning TAC or ADR the criterion observes rather than restating. `tacId` and `adrId` re-use the shared id patterns; `field` is an optional dotted path into the owning record (for example, `interfaces.principal.fields` or `decision.retryPolicy`) pinpointing the surface. All sub-fields optional at schema level so the record composes additively; consumers may require at least one of `tacId` or `adrId` when the criterion references an owning artefact. `additionalProperties: false`. |
|
|
48
|
+
| `disposition` | enum: `fixed`, `template` | no | 0.6.2. Marks whether the criterion is the blueprint's to fix (mechanism-invariant, inherited unchanged by every applying project) or the applying agent's to set (project-parameterised, shape-given and value-open). Optional at schema level; consumer rulesets that gate blueprint contributions may require it on every AC of a shipped blueprint. Absence carries no default: a consumer that requires the marker treats an unmarked AC as a defect, and a consumer that does not require it ignores the absence. |
|
|
49
|
+
| `vendorCitation` | object: `{url, verifiedOn}` | no | 0.6.2. Vendor citation for a criterion whose truth rests on a third-party platform fact. Both sub-fields required when the object is present: `url` is the vendor documentation URL (JSON Schema `format: uri`); `verifiedOn` is the ISO-8601 date (`format: date`, `YYYY-MM-DD`) the fact was verified against that URL. Consumers may fetch the URL at gate time so a dead link is a finding, and may compare `verifiedOn` against a tolerance window. `additionalProperties: false`. |
|
|
47
50
|
|
|
48
51
|
The Given/When/Then triple is optional at the schema level so non-Gherkin teams aren't forced into it; the `testable` boolean is required to make authors stop and confirm the AC can actually be tested.
|
|
49
52
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"reqId": "REQ-201",
|
|
3
|
+
"prdId": "PRD-100",
|
|
4
|
+
"title": "Delivered-by must be an object, not a string",
|
|
5
|
+
"description": "Rejects a REQ whose deliveredBy is a bare id string instead of the {tacId?, adrId?, field?} object.",
|
|
6
|
+
"category": "functional",
|
|
7
|
+
"domain": "cache",
|
|
8
|
+
"priority": "must",
|
|
9
|
+
"version": "1.0.0",
|
|
10
|
+
"status": "draft",
|
|
11
|
+
"createdAt": "2026-01-01T00:00:00Z",
|
|
12
|
+
"updatedAt": "2026-09-09T00:00:00Z",
|
|
13
|
+
"deliveredBy": "TAC-401"
|
|
14
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"usId": "US-201",
|
|
3
|
+
"prdId": "PRD-100",
|
|
4
|
+
"reqId": "REQ-201",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"status": "draft",
|
|
7
|
+
"title": "Owner-ref must be an object, not a string",
|
|
8
|
+
"asA": "author",
|
|
9
|
+
"iWant": "the AC's ownerRef to be the {tacId?, adrId?, field?} object shape",
|
|
10
|
+
"soThat": "the reference is machine-checkable rather than free text",
|
|
11
|
+
"acceptanceCriteria": [
|
|
12
|
+
{
|
|
13
|
+
"id": "AC-201-1",
|
|
14
|
+
"description": "Owner ref is a string instead of an object.",
|
|
15
|
+
"testable": true,
|
|
16
|
+
"ownerRef": "TAC-401"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"createdAt": "2026-01-01T00:00:00Z",
|
|
20
|
+
"updatedAt": "2026-09-09T00:00:00Z"
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"usId": "US-201",
|
|
3
|
+
"prdId": "PRD-100",
|
|
4
|
+
"reqId": "REQ-201",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"status": "draft",
|
|
7
|
+
"title": "Disposition outside the enum is rejected",
|
|
8
|
+
"asA": "author",
|
|
9
|
+
"iWant": "disposition to be one of fixed or template",
|
|
10
|
+
"soThat": "the marker is unambiguous for a consumer that gates on it",
|
|
11
|
+
"acceptanceCriteria": [
|
|
12
|
+
{
|
|
13
|
+
"id": "AC-201-1",
|
|
14
|
+
"description": "Disposition is neither fixed nor template.",
|
|
15
|
+
"testable": true,
|
|
16
|
+
"disposition": "invariant"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"createdAt": "2026-01-01T00:00:00Z",
|
|
20
|
+
"updatedAt": "2026-09-09T00:00:00Z"
|
|
21
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"usId": "US-201",
|
|
3
|
+
"prdId": "PRD-100",
|
|
4
|
+
"reqId": "REQ-201",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"status": "draft",
|
|
7
|
+
"title": "Vendor citation without verifiedOn is rejected",
|
|
8
|
+
"asA": "author",
|
|
9
|
+
"iWant": "a vendor citation to carry both url and the ISO-8601 verified-on date",
|
|
10
|
+
"soThat": "a consumer can tell a fresh fact from a stale one",
|
|
11
|
+
"acceptanceCriteria": [
|
|
12
|
+
{
|
|
13
|
+
"id": "AC-201-1",
|
|
14
|
+
"description": "Vendor citation without the required verifiedOn date.",
|
|
15
|
+
"testable": true,
|
|
16
|
+
"vendorCitation": {
|
|
17
|
+
"url": "https://developers.cloudflare.com/durable-objects/reference/durable-objects-migrations/"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"createdAt": "2026-01-01T00:00:00Z",
|
|
22
|
+
"updatedAt": "2026-09-09T00:00:00Z"
|
|
23
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"reqId": "REQ-201",
|
|
3
|
+
"prdId": "PRD-100",
|
|
4
|
+
"title": "Application cache stays fresh within a stated ceiling",
|
|
5
|
+
"description": "The application cache surfaces stale reads no older than the ceiling stated in the delivering TAC's replication guarantee.",
|
|
6
|
+
"category": "nonFunctional",
|
|
7
|
+
"domain": "cache",
|
|
8
|
+
"priority": "must",
|
|
9
|
+
"rationale": "Stale reads beyond the ceiling break invalidation-sensitive views.",
|
|
10
|
+
"tags": ["cache", "freshness"],
|
|
11
|
+
"version": "1.0.0",
|
|
12
|
+
"status": "approved",
|
|
13
|
+
"createdAt": "2026-01-01T00:00:00Z",
|
|
14
|
+
"updatedAt": "2026-09-09T00:00:00Z",
|
|
15
|
+
"deliveredBy": {
|
|
16
|
+
"tacId": "TAC-401-cache-aside-store",
|
|
17
|
+
"field": "responsibilities.replicationCeiling"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"usId": "US-201",
|
|
3
|
+
"prdId": "PRD-100",
|
|
4
|
+
"reqId": "REQ-201",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"status": "approved",
|
|
7
|
+
"title": "Deploy a Durable Object namespace with a migration record",
|
|
8
|
+
"asA": "operator deploying a Worker that mints a Durable Object namespace",
|
|
9
|
+
"iWant": "the wrangler configuration and migration record to be consistent with the platform's minting rules",
|
|
10
|
+
"soThat": "the deploy succeeds and the namespace mints on the current backend",
|
|
11
|
+
"acceptanceCriteria": [
|
|
12
|
+
{
|
|
13
|
+
"id": "AC-201-1",
|
|
14
|
+
"description": "The migration record carries the new_sqlite_classes keyword against every minted class name.",
|
|
15
|
+
"given": "a Worker configuration with a Durable Object binding block",
|
|
16
|
+
"when": "the deploy runs",
|
|
17
|
+
"then": "the migration record uses the vendor-current keyword and the deploy succeeds",
|
|
18
|
+
"testable": true,
|
|
19
|
+
"scope": "deployed",
|
|
20
|
+
"ownerRef": {
|
|
21
|
+
"tacId": "TAC-401-durable-objects-namespace",
|
|
22
|
+
"field": "interfaces.migration.keyword"
|
|
23
|
+
},
|
|
24
|
+
"disposition": "fixed",
|
|
25
|
+
"vendorCitation": {
|
|
26
|
+
"url": "https://developers.cloudflare.com/durable-objects/reference/durable-objects-migrations/",
|
|
27
|
+
"verifiedOn": "2026-09-08"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "AC-201-2",
|
|
32
|
+
"description": "The wrangler binding names commit to the project's chosen class names on both binding blocks.",
|
|
33
|
+
"given": "a Worker configuration with a Durable Object binding block",
|
|
34
|
+
"when": "the applying agent has substituted the project's chosen class names",
|
|
35
|
+
"then": "each binding's class_name appears once in the migration record",
|
|
36
|
+
"testable": true,
|
|
37
|
+
"scope": "runtime",
|
|
38
|
+
"ownerRef": {
|
|
39
|
+
"tacId": "TAC-401-durable-objects-namespace",
|
|
40
|
+
"field": "interfaces.wrangler.bindings"
|
|
41
|
+
},
|
|
42
|
+
"disposition": "template"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"createdAt": "2026-01-01T00:00:00Z",
|
|
46
|
+
"updatedAt": "2026-09-09T00:00:00Z"
|
|
47
|
+
}
|
package/package.json
CHANGED
package/schemas/req.schema.json
CHANGED
|
@@ -35,9 +35,24 @@
|
|
|
35
35
|
"status": { "$ref": "https://schemas.stravica.io/rcf/v0.6.0/common.schema.json#/$defs/authoringStatus" },
|
|
36
36
|
"createdAt": { "$ref": "https://schemas.stravica.io/rcf/v0.6.0/common.schema.json#/$defs/timestamp" },
|
|
37
37
|
"updatedAt": { "$ref": "https://schemas.stravica.io/rcf/v0.6.0/common.schema.json#/$defs/timestamp" },
|
|
38
|
-
"shapeClassification": { "$ref": "#/$defs/reqShapeClassification" }
|
|
38
|
+
"shapeClassification": { "$ref": "#/$defs/reqShapeClassification" },
|
|
39
|
+
"deliveredBy": { "$ref": "#/$defs/deliveredBy" }
|
|
39
40
|
},
|
|
40
41
|
"$defs": {
|
|
42
|
+
"deliveredBy": {
|
|
43
|
+
"type": "object",
|
|
44
|
+
"additionalProperties": false,
|
|
45
|
+
"properties": {
|
|
46
|
+
"tacId": { "$ref": "https://schemas.stravica.io/rcf/v0.6.0/common.schema.json#/$defs/tacId" },
|
|
47
|
+
"adrId": { "$ref": "https://schemas.stravica.io/rcf/v0.6.0/common.schema.json#/$defs/adrId" },
|
|
48
|
+
"field": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"minLength": 1,
|
|
51
|
+
"description": "Optional dotted path into the owning TAC or ADR record (for example, 'principal.fields' or 'decision.retryPolicy') that pinpoints the delivering surface. Optional; presence is not enforced."
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"description": "Optional back-reference on a REQ naming the TAC or ADR that delivers the requirement's externally promised property. All sub-fields are optional at schema level so the record composes additively; ruleset-enforcing consumers may require at least one of tacId or adrId when the REQ carries a delivery promise."
|
|
55
|
+
},
|
|
41
56
|
"reqShapeClassification": {
|
|
42
57
|
"type": "object",
|
|
43
58
|
"additionalProperties": false,
|
|
@@ -68,9 +68,49 @@
|
|
|
68
68
|
"enum": ["deterministic", "nonDeterministic"],
|
|
69
69
|
"description": "Whether the AC's observable output is deterministic (same inputs, same outputs) or non-deterministic (LLM-generated text, ranked results, generated code, judgement calls). Optional at schema level; absence is treated as 'deterministic' by every consumer. Governs whether an EVAL is required by rcf audit eval coverage --strict and whether the merge gate emits EVAL-MISSING or EVAL-BELOW-THRESHOLD per-AC verdicts."
|
|
70
70
|
},
|
|
71
|
+
"ownerRef": { "$ref": "#/$defs/acOwnerRef" },
|
|
72
|
+
"disposition": { "$ref": "#/$defs/acDisposition" },
|
|
73
|
+
"vendorCitation": { "$ref": "#/$defs/acVendorCitation" },
|
|
71
74
|
"provenance": { "$ref": "#/$defs/acProvenance" }
|
|
72
75
|
}
|
|
73
76
|
},
|
|
77
|
+
"acOwnerRef": {
|
|
78
|
+
"type": "object",
|
|
79
|
+
"additionalProperties": false,
|
|
80
|
+
"properties": {
|
|
81
|
+
"tacId": { "$ref": "https://schemas.stravica.io/rcf/v0.6.0/common.schema.json#/$defs/tacId" },
|
|
82
|
+
"adrId": { "$ref": "https://schemas.stravica.io/rcf/v0.6.0/common.schema.json#/$defs/adrId" },
|
|
83
|
+
"field": {
|
|
84
|
+
"type": "string",
|
|
85
|
+
"minLength": 1,
|
|
86
|
+
"description": "Optional dotted path into the owning TAC or ADR record (for example, 'interfaces.principal.fields' or 'decision.retryPolicy') that pinpoints the referenced surface. Optional; presence is not enforced."
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"description": "Optional back-reference on an acceptance criterion naming the owning TAC or ADR the criterion observes rather than restating. All sub-fields are optional at schema level so the record composes additively; ruleset-enforcing consumers may require at least one of tacId or adrId when the criterion references an owning artefact."
|
|
90
|
+
},
|
|
91
|
+
"acDisposition": {
|
|
92
|
+
"enum": ["fixed", "template"],
|
|
93
|
+
"description": "Marks whether an acceptance criterion is the blueprint's to fix (mechanism-invariant, inherited unchanged by every applying project) or the applying agent's to set (project-parameterised, shape-given and value-open). Optional at schema level; consumer rulesets that gate blueprint contributions may require it on every AC of a shipped blueprint. Absence carries no default: a consumer that requires the marker treats an unmarked AC as a defect, and a consumer that does not require it ignores the absence."
|
|
94
|
+
},
|
|
95
|
+
"acVendorCitation": {
|
|
96
|
+
"type": "object",
|
|
97
|
+
"additionalProperties": false,
|
|
98
|
+
"required": ["url", "verifiedOn"],
|
|
99
|
+
"properties": {
|
|
100
|
+
"url": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"format": "uri",
|
|
103
|
+
"minLength": 1,
|
|
104
|
+
"description": "Vendor documentation URL the third-party fact rests on. Consumers may fetch it at gate time so a dead link is a finding."
|
|
105
|
+
},
|
|
106
|
+
"verifiedOn": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"format": "date",
|
|
109
|
+
"description": "ISO-8601 date (YYYY-MM-DD) the vendor fact was verified against the cited URL. Consumers compare against their own tolerance window and refuse or warn when the citation is beyond it."
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"description": "Vendor citation for an acceptance criterion whose truth rests on a third-party platform fact. Optional at schema level; consumer rulesets may require it on any AC that asserts a vendor fact (for example, a platform migration keyword or a rate-limit value)."
|
|
113
|
+
},
|
|
74
114
|
"acProvenance": {
|
|
75
115
|
"type": "object",
|
|
76
116
|
"additionalProperties": false,
|