phasegate 0.229.0 → 0.264.0
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 +73 -1
- package/README.ja.md +31 -1
- package/README.md +30 -0
- package/docs/ADR/031-world-model-ownership-and-corpus-lifecycle.md +155 -0
- package/docs/ADR/032-world-node-identity.md +198 -0
- package/docs/ADR/033-world-snapshot-canonicalization.md +246 -0
- package/docs/ADR/034-world-constraint-semantics.md +218 -0
- package/docs/ADR/035-world-adoption-baseline-and-waiver.md +341 -0
- package/docs/ADR/036-world-model-and-doc-freshness.md +169 -0
- package/docs/ADR/037-world-cli-and-output-contract.md +398 -0
- package/docs/contracts/attestation-v2.schema.json +110 -0
- package/docs/contracts/requirement-test-matrix.schema.json +15 -0
- package/docs/contracts/world-baseline.schema.json +35 -0
- package/docs/contracts/world-constraints.schema.json +56 -0
- package/docs/contracts/world-debts.schema.json +32 -0
- package/docs/contracts/world-obligation-report.schema.json +259 -0
- package/docs/contracts/world-waivers.schema.json +32 -0
- package/docs/guide/cli-reference.md +45 -0
- package/docs/guide/configuration.md +56 -0
- package/docs/templates/ci/aidlc-gate.yml +42 -2
- package/package.json +1 -1
- package/scripts/harness/agent-integration/application/dto/open-world-obligations-context-dto.ts +30 -0
- package/scripts/harness/agent-integration/application/ports/world-obligations-query-port.ts +30 -0
- package/scripts/harness/agent-integration/application/usecases/get-open-world-obligations-context-usecase.ts +66 -0
- package/scripts/harness/agent-integration/infrastructure/adapters/world-model-open-obligations-query-adapter.ts +58 -0
- package/scripts/harness/agent-integration/presentation/session-start-hook.ts +37 -1
- package/scripts/harness/agent-integration/presentation/world-obligations-session-context.ts +60 -0
- package/scripts/harness/attestation/application/dto/attestation-document.ts +17 -4
- package/scripts/harness/attestation/application/mappers/attestation-record-mapper.ts +55 -4
- package/scripts/harness/attestation/application/ports/sha256-capability.ts +25 -0
- package/scripts/harness/attestation/application/ports/world-snapshot-root-provider.ts +10 -0
- package/scripts/harness/attestation/application/usecases/produce-attestation-usecase.ts +33 -7
- package/scripts/harness/attestation/composition-root.ts +19 -4
- package/scripts/harness/attestation/domain/entities/attestation-record.ts +37 -2
- package/scripts/harness/attestation/index.ts +13 -2
- package/scripts/harness/attestation/infrastructure/adapters/node-crypto-content-hasher-adapter.ts +6 -6
- package/scripts/harness/attestation/infrastructure/adapters/node-crypto-sha256-capability.ts +19 -0
- package/scripts/harness/attestation/presentation/handlers/attest-handler.ts +5 -2
- package/scripts/harness/config-foundation/application/mappers/validator-system-config-mapper.ts +35 -8
- package/scripts/harness/config-foundation/application/mappers/world-model-config-mapper.ts +15 -0
- package/scripts/harness/config-foundation/domain/harness-config.ts +67 -87
- package/scripts/harness/config-foundation/domain/services/preset-resolution-service.ts +77 -88
- package/scripts/harness/config-foundation/domain/value-objects/world-config.ts +198 -0
- package/scripts/harness/config-foundation/index.ts +14 -15
- package/scripts/harness/config-foundation/infrastructure/presets/minimal.json +24 -0
- package/scripts/harness/config-foundation/infrastructure/presets/standard.json +24 -0
- package/scripts/harness/config-foundation/infrastructure/presets/strict.json +24 -0
- package/scripts/harness/config-foundation/infrastructure/schemas/harness-config-v2.schema.json +83 -0
- package/scripts/harness/config-foundation/infrastructure/schemas/harness-config-v3.schema.json +83 -0
- package/scripts/harness/harness-api/domain/value-objects/ci-check-result.ts +18 -4
- package/scripts/harness/harness-api/domain/value-objects/known-harness-commands.ts +4 -1
- package/scripts/harness/integrations/pre-commit.ts +169 -27
- package/scripts/harness/main.ts +276 -126
- package/scripts/harness/nyquist-validation/application/dto/generate-matrix-output.ts +11 -0
- package/scripts/harness/nyquist-validation/application/usecases/check-ac-coverage-gate-usecase.ts +6 -0
- package/scripts/harness/nyquist-validation/application/usecases/generate-requirement-test-matrix-usecase.ts +8 -4
- package/scripts/harness/nyquist-validation/domain/entities/story-mapping.ts +29 -2
- package/scripts/harness/nyquist-validation/domain/services/ac-coverage-gate-policy.ts +28 -0
- package/scripts/harness/nyquist-validation/infrastructure/adapters/markdown-requirement-source-adapter.ts +71 -4
- package/scripts/harness/nyquist-validation/infrastructure/schema/matrix-schema-loader.ts +4 -0
- package/scripts/harness/traceability-model/application/dto/changed-design-fragment-dto.ts +31 -0
- package/scripts/harness/traceability-model/application/dto/traceability-world-read-dto.ts +67 -0
- package/scripts/harness/traceability-model/application/facades/design-change-read-facade.ts +14 -0
- package/scripts/harness/traceability-model/application/facades/traceability-world-read-facade.ts +372 -0
- package/scripts/harness/traceability-model/application/ports/staged-design-change-source-port.ts +9 -0
- package/scripts/harness/traceability-model/application/ports/traceability-world-read-source-port.ts +61 -0
- package/scripts/harness/traceability-model/composition-root.ts +26 -5
- package/scripts/harness/traceability-model/index.ts +26 -6
- package/scripts/harness/traceability-model/infrastructure/adapters/file-system-traceability-world-read-adapter.ts +223 -0
- package/scripts/harness/traceability-model/infrastructure/adapters/git-staged-design-change-adapter.ts +155 -0
- package/scripts/harness/traceability-model/infrastructure/parsers/story-catalog-parser.ts +86 -8
- package/scripts/harness/validator-system/application/use-cases/run-l2-validators-usecase.ts +31 -0
- package/scripts/harness/validator-system/application/use-cases/run-l3-validators-usecase.ts +34 -0
- package/scripts/harness/validator-system/composition-root.ts +21 -6
- package/scripts/harness/validator-system/domain/ports/world-constraint-admission-policy-port.ts +28 -0
- package/scripts/harness/validator-system/domain/ports/world-constraint-rederivation-policy-port.ts +11 -0
- package/scripts/harness/validator-system/domain/services/design-change-declaration-policy.ts +75 -0
- package/scripts/harness/validator-system/domain/services/world-constraint-admission-service.ts +78 -0
- package/scripts/harness/validator-system/domain/services/world-constraint-rederivation-service.ts +76 -0
- package/scripts/harness/validator-system/domain/value-objects/validator-id.ts +4 -0
- package/scripts/harness/validator-system/infrastructure/adapters/harness-config-validator-config-adapter.ts +38 -16
- package/scripts/harness/validator-system/infrastructure/adapters/world-model-constraint-admission-adapter.ts +56 -0
- package/scripts/harness/validator-system/infrastructure/adapters/world-model-constraint-rederivation-adapter.ts +56 -0
- package/scripts/harness/world-model/application/dto/pinned-design-endpoint-dto.ts +19 -0
- package/scripts/harness/world-model/application/dto/world-inspection-dto.ts +43 -0
- package/scripts/harness/world-model/application/dto/world-obligation-report-dto.ts +54 -0
- package/scripts/harness/world-model/application/dto/world-resolved-config-input.ts +127 -0
- package/scripts/harness/world-model/application/dto/world-snapshot-root-dto.ts +8 -0
- package/scripts/harness/world-model/application/facades/pinned-design-endpoint-facade.ts +63 -0
- package/scripts/harness/world-model/application/facades/world-snapshot-root-facade.ts +19 -0
- package/scripts/harness/world-model/application/ports/obligation-report-writer-port.ts +7 -0
- package/scripts/harness/world-model/application/ports/world-control-declaration-repository-port.ts +57 -0
- package/scripts/harness/world-model/application/ports/world-fact-source-port.ts +17 -0
- package/scripts/harness/world-model/application/usecases/build-snapshot-use-case.ts +111 -0
- package/scripts/harness/world-model/application/usecases/derive-obligations-use-case.ts +155 -0
- package/scripts/harness/world-model/application/usecases/derive-world-obligations-use-case.ts +146 -0
- package/scripts/harness/world-model/application/usecases/inspect-world-use-case.ts +74 -0
- package/scripts/harness/world-model/application/usecases/pin-constraint-endpoint-use-case.ts +139 -0
- package/scripts/harness/world-model/composition-root.ts +247 -0
- package/scripts/harness/world-model/domain/entities/constraint-record.ts +148 -0
- package/scripts/harness/world-model/domain/entities/control-declarations.ts +274 -0
- package/scripts/harness/world-model/domain/entities/edge.ts +41 -0
- package/scripts/harness/world-model/domain/entities/extraction-diagnostic.ts +60 -0
- package/scripts/harness/world-model/domain/entities/snapshot.ts +75 -0
- package/scripts/harness/world-model/domain/entities/world-node.ts +210 -0
- package/scripts/harness/world-model/domain/ports/world-hashing-port.ts +8 -0
- package/scripts/harness/world-model/domain/services/canonical-json-serializer.ts +113 -0
- package/scripts/harness/world-model/domain/services/constraint-evaluator.ts +486 -0
- package/scripts/harness/world-model/domain/services/obligation-derivation-service.ts +199 -0
- package/scripts/harness/world-model/domain/services/policy-inputs-digest-deriver.ts +66 -0
- package/scripts/harness/world-model/domain/services/snapshot-root-deriver.ts +218 -0
- package/scripts/harness/world-model/domain/services/text-content-normalizer.ts +30 -0
- package/scripts/harness/world-model/domain/services/violation-fingerprint-deriver.ts +183 -0
- package/scripts/harness/world-model/domain/value-objects/artifact-kind.ts +58 -0
- package/scripts/harness/world-model/domain/value-objects/change-provenance.ts +137 -0
- package/scripts/harness/world-model/domain/value-objects/corpus-role.ts +57 -0
- package/scripts/harness/world-model/domain/value-objects/declared-key.ts +35 -0
- package/scripts/harness/world-model/domain/value-objects/evaluation-id.ts +41 -0
- package/scripts/harness/world-model/domain/value-objects/explicit-constraint-relation.ts +53 -0
- package/scripts/harness/world-model/domain/value-objects/explicit-node-alias.ts +30 -0
- package/scripts/harness/world-model/domain/value-objects/node-pin.ts +34 -0
- package/scripts/harness/world-model/domain/value-objects/path-key.ts +103 -0
- package/scripts/harness/world-model/domain/value-objects/sha256-digest.ts +39 -0
- package/scripts/harness/world-model/domain/value-objects/violation-fingerprint.ts +36 -0
- package/scripts/harness/world-model/domain/value-objects/wcr-rule-id.ts +59 -0
- package/scripts/harness/world-model/domain/value-objects/world-node-id.ts +222 -0
- package/scripts/harness/world-model/index.ts +33 -0
- package/scripts/harness/world-model/infrastructure/adapters/adr-fact-extractor.ts +27 -0
- package/scripts/harness/world-model/infrastructure/adapters/assembled-world-fact-source.ts +17 -0
- package/scripts/harness/world-model/infrastructure/adapters/attestation-fact-extractor.ts +323 -0
- package/scripts/harness/world-model/infrastructure/adapters/attestation-sha256-world-hashing-adapter.ts +15 -0
- package/scripts/harness/world-model/infrastructure/adapters/composite-design-fact-source.ts +23 -0
- package/scripts/harness/world-model/infrastructure/adapters/design-corpus-fact-extractor.ts +285 -0
- package/scripts/harness/world-model/infrastructure/adapters/design-fact-extraction.ts +63 -0
- package/scripts/harness/world-model/infrastructure/adapters/file-system-obligation-report-writer-adapter.ts +37 -0
- package/scripts/harness/world-model/infrastructure/adapters/file-system-world-control-repository-adapters.ts +332 -0
- package/scripts/harness/world-model/infrastructure/adapters/integrity-manifest-fact-extractor.ts +101 -0
- package/scripts/harness/world-model/infrastructure/adapters/json-fact-extractor-support.ts +151 -0
- package/scripts/harness/world-model/infrastructure/adapters/markdown-design-fact-extractor.ts +493 -0
- package/scripts/harness/world-model/infrastructure/adapters/matrix-fact-extractor.ts +283 -0
- package/scripts/harness/world-model/infrastructure/adapters/product-fact-extractor.ts +29 -0
- package/scripts/harness/world-model/infrastructure/adapters/proposal-fact-extractor.ts +29 -0
- package/scripts/harness/world-model/infrastructure/adapters/runtime-fact-extraction.ts +19 -0
- package/scripts/harness/world-model/infrastructure/adapters/source-metadata-fact-extractor.ts +22 -0
- package/scripts/harness/world-model/infrastructure/adapters/test-reference-source-fact-extractor.ts +22 -0
- package/scripts/harness/world-model/infrastructure/adapters/traceability-design-fact-adapter.ts +112 -0
- package/scripts/harness/world-model/infrastructure/adapters/traceability-world-read-facade-merger.ts +38 -0
- package/scripts/harness/world-model/infrastructure/adapters/type-script-source-fact-extractor.ts +236 -0
- package/scripts/harness/world-model/infrastructure/adapters/unit-fact-extractor.ts +71 -0
- package/scripts/harness/world-model/infrastructure/adapters/world-control-declaration-mapper.ts +383 -0
- package/scripts/harness/world-model/presentation/cli/world-command-support.ts +60 -0
- package/scripts/harness/world-model/presentation/cli/world-derive-command-handler.ts +109 -0
- package/scripts/harness/world-model/presentation/cli/world-inspect-command-handler.ts +194 -0
- package/scripts/harness/world-model/presentation/cli/world-pin-command-handler.ts +100 -0
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://phasegate.dev/contracts/attestation-v2.schema.json",
|
|
4
|
+
"title": "PhaseGate attestation v2",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion",
|
|
9
|
+
"predicateType",
|
|
10
|
+
"subject",
|
|
11
|
+
"inputs",
|
|
12
|
+
"granularity",
|
|
13
|
+
"acBoundScope",
|
|
14
|
+
"worldSnapshotRoot",
|
|
15
|
+
"metadata",
|
|
16
|
+
"signature"
|
|
17
|
+
],
|
|
18
|
+
"properties": {
|
|
19
|
+
"schemaVersion": { "const": "phasegate-attestation/v2" },
|
|
20
|
+
"predicateType": { "const": "https://phasegate.dev/attestation/gate-run/v2" },
|
|
21
|
+
"worldSnapshotRoot": { "$ref": "#/$defs/digest" },
|
|
22
|
+
"subject": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"additionalProperties": false,
|
|
25
|
+
"required": ["command", "gateResult", "validatorSet"],
|
|
26
|
+
"properties": {
|
|
27
|
+
"command": { "type": "string", "minLength": 1 },
|
|
28
|
+
"gateResult": { "enum": ["pass", "fail"] },
|
|
29
|
+
"validatorSet": {
|
|
30
|
+
"type": "array",
|
|
31
|
+
"items": {
|
|
32
|
+
"type": "object",
|
|
33
|
+
"additionalProperties": false,
|
|
34
|
+
"required": ["validatorId", "passed", "skipped"],
|
|
35
|
+
"properties": {
|
|
36
|
+
"validatorId": { "type": "string", "minLength": 1 },
|
|
37
|
+
"passed": { "type": "boolean" },
|
|
38
|
+
"skipped": { "type": "boolean" }
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"inputs": {
|
|
45
|
+
"type": "object",
|
|
46
|
+
"additionalProperties": false,
|
|
47
|
+
"required": ["digestAlgorithm", "sources", "inputDigest"],
|
|
48
|
+
"properties": {
|
|
49
|
+
"digestAlgorithm": { "const": "sha256" },
|
|
50
|
+
"sources": {
|
|
51
|
+
"type": "array",
|
|
52
|
+
"items": {
|
|
53
|
+
"type": "object",
|
|
54
|
+
"additionalProperties": false,
|
|
55
|
+
"required": ["path", "digest"],
|
|
56
|
+
"properties": {
|
|
57
|
+
"path": { "type": "string", "minLength": 1 },
|
|
58
|
+
"digest": { "$ref": "#/$defs/digest" }
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"inputDigest": { "$ref": "#/$defs/digest" }
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"granularity": {
|
|
66
|
+
"type": "object",
|
|
67
|
+
"additionalProperties": false,
|
|
68
|
+
"required": ["traceability"],
|
|
69
|
+
"properties": {
|
|
70
|
+
"traceability": {
|
|
71
|
+
"type": "object",
|
|
72
|
+
"additionalProperties": false,
|
|
73
|
+
"required": ["validator", "level", "claim", "knownLimitations"],
|
|
74
|
+
"properties": {
|
|
75
|
+
"validator": { "type": "string", "minLength": 1 },
|
|
76
|
+
"level": { "enum": ["file", "ac"] },
|
|
77
|
+
"claim": { "type": "string" },
|
|
78
|
+
"knownLimitations": { "type": "array", "items": { "type": "string" } }
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"acBoundScope": { "type": "array", "items": { "type": "string" } },
|
|
84
|
+
"metadata": {
|
|
85
|
+
"type": "object",
|
|
86
|
+
"additionalProperties": false,
|
|
87
|
+
"required": ["producedAt", "producer", "gitCommit"],
|
|
88
|
+
"properties": {
|
|
89
|
+
"producedAt": { "type": "string", "minLength": 1 },
|
|
90
|
+
"producer": { "type": "string", "minLength": 1 },
|
|
91
|
+
"gitCommit": { "type": ["string", "null"] }
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"signature": {
|
|
95
|
+
"type": "object",
|
|
96
|
+
"additionalProperties": false,
|
|
97
|
+
"required": ["mode", "attestationDigest", "algorithm", "keyId", "value"],
|
|
98
|
+
"properties": {
|
|
99
|
+
"mode": { "enum": ["unsigned-poc", "signed"] },
|
|
100
|
+
"attestationDigest": { "$ref": "#/$defs/digest" },
|
|
101
|
+
"algorithm": { "type": ["string", "null"] },
|
|
102
|
+
"keyId": { "type": ["string", "null"] },
|
|
103
|
+
"value": { "type": ["string", "null"] }
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"$defs": {
|
|
108
|
+
"digest": { "type": "string", "pattern": "^sha256:[0-9a-f]{64}$" }
|
|
109
|
+
}
|
|
110
|
+
}
|
|
@@ -20,6 +20,21 @@
|
|
|
20
20
|
"type": "string",
|
|
21
21
|
"pattern": "^H(?:F\\d+|\\d{2})-\\d{2}$"
|
|
22
22
|
},
|
|
23
|
+
"coverageStatus": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"enum": ["planned", "required"],
|
|
26
|
+
"description": "WI-292 (schema 1.2): Story coverage gate lifecycle の現在値。省略時は required として扱う(1.0/1.1 後方互換)。"
|
|
27
|
+
},
|
|
28
|
+
"coverageLifecycle": {
|
|
29
|
+
"type": "array",
|
|
30
|
+
"minItems": 1,
|
|
31
|
+
"maxItems": 2,
|
|
32
|
+
"items": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"enum": ["planned", "required"]
|
|
35
|
+
},
|
|
36
|
+
"description": "WI-292 (schema 1.2): Git 管理された順方向遷移履歴。有効系列と status 終端一致は L3-004 が fail-closed で検査する。"
|
|
37
|
+
},
|
|
23
38
|
"storyMappings": {
|
|
24
39
|
"type": "array",
|
|
25
40
|
"items": {
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://phasegate.dev/contracts/world-baseline.schema.json",
|
|
4
|
+
"title": "PhaseGate World adoption baseline",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schemaVersion", "rulesetVersion", "sourceEvaluationId", "sourceCorpusRoot", "sourceConstraintRoot", "adoptedByWorkItemId", "adoptionReason", "entries"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schemaVersion": { "const": "phasegate-world-adoption-baseline/v1" },
|
|
10
|
+
"rulesetVersion": { "type": "string", "minLength": 1 },
|
|
11
|
+
"sourceEvaluationId": { "type": "string", "pattern": "^pgw:v1:evaluation:sha256:[0-9a-f]{64}$" },
|
|
12
|
+
"sourceCorpusRoot": { "type": "string", "pattern": "^sha256:[0-9a-f]{64}$" },
|
|
13
|
+
"sourceConstraintRoot": { "type": "string", "pattern": "^sha256:[0-9a-f]{64}$" },
|
|
14
|
+
"adoptedByWorkItemId": { "type": "string", "pattern": "^WI-[0-9]+$" },
|
|
15
|
+
"adoptionReason": { "type": "string", "minLength": 1 },
|
|
16
|
+
"entries": {
|
|
17
|
+
"type": "array",
|
|
18
|
+
"items": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"additionalProperties": false,
|
|
21
|
+
"required": ["violationFingerprint", "ruleId", "constraintId"],
|
|
22
|
+
"properties": {
|
|
23
|
+
"violationFingerprint": { "type": "string", "pattern": "^pgw:v1:violation-fingerprint:sha256:[0-9a-f]{64}$" },
|
|
24
|
+
"ruleId": { "enum": ["WCR-002", "WCR-003", "WCR-004", "WCR-005", "WCR-006", "WCR-007", "WCR-008"] },
|
|
25
|
+
"constraintId": {
|
|
26
|
+
"oneOf": [
|
|
27
|
+
{ "type": "null" },
|
|
28
|
+
{ "type": "string", "pattern": "^pgw:v1:constraint:[a-z][a-z0-9]*(?:[._-][a-z0-9]+)*$" }
|
|
29
|
+
]
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://phasegate.dev/contracts/world-constraints.schema.json",
|
|
4
|
+
"title": "PhaseGate World constraint declarations",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schemaVersion", "constraints", "aliases"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schemaVersion": { "const": "phasegate-world-constraints/v1" },
|
|
10
|
+
"constraints": {
|
|
11
|
+
"type": "array",
|
|
12
|
+
"items": { "$ref": "#/$defs/constraintRecord" }
|
|
13
|
+
},
|
|
14
|
+
"aliases": {
|
|
15
|
+
"type": "array",
|
|
16
|
+
"items": { "$ref": "#/$defs/aliasRecord" }
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"$defs": {
|
|
20
|
+
"nodePin": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"additionalProperties": false,
|
|
23
|
+
"required": ["nodeId", "contentDigest"],
|
|
24
|
+
"properties": {
|
|
25
|
+
"nodeId": { "type": "string", "pattern": "^pgw:v1:.+" },
|
|
26
|
+
"contentDigest": { "type": "string", "pattern": "^sha256:[0-9a-f]{64}$" }
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"constraintRecord": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"additionalProperties": false,
|
|
32
|
+
"required": ["constraintId", "factType", "claimant", "premise", "applicableRuleIds"],
|
|
33
|
+
"properties": {
|
|
34
|
+
"constraintId": { "type": "string", "pattern": "^pgw:v1:constraint:[a-z][a-z0-9]*(?:[._-][a-z0-9]+)*$" },
|
|
35
|
+
"factType": { "enum": ["references", "depends-on", "refines", "content-equals"] },
|
|
36
|
+
"claimant": { "$ref": "#/$defs/nodePin" },
|
|
37
|
+
"premise": { "$ref": "#/$defs/nodePin" },
|
|
38
|
+
"applicableRuleIds": {
|
|
39
|
+
"type": "array",
|
|
40
|
+
"minItems": 1,
|
|
41
|
+
"uniqueItems": true,
|
|
42
|
+
"items": { "enum": ["WCR-002", "WCR-003", "WCR-004", "WCR-005", "WCR-006", "WCR-007", "WCR-008"] }
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"aliasRecord": {
|
|
47
|
+
"type": "object",
|
|
48
|
+
"additionalProperties": false,
|
|
49
|
+
"required": ["from", "to"],
|
|
50
|
+
"properties": {
|
|
51
|
+
"from": { "type": "string", "pattern": "^pgw:v1:.+" },
|
|
52
|
+
"to": { "type": "string", "pattern": "^pgw:v1:.+" }
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://phasegate.dev/contracts/world-debts.schema.json",
|
|
4
|
+
"title": "PhaseGate World semantic debt declarations",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schemaVersion", "debts"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schemaVersion": { "const": "phasegate-world-debts/v1" },
|
|
10
|
+
"debts": {
|
|
11
|
+
"type": "array",
|
|
12
|
+
"items": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"additionalProperties": false,
|
|
15
|
+
"required": ["debtId", "kind", "title", "reason", "ownerUnit", "introducedByWorkItemId", "references"],
|
|
16
|
+
"properties": {
|
|
17
|
+
"debtId": { "type": "string", "pattern": "^pgw:v1:semantic-debt:[a-z][a-z0-9]*(?:[._-][a-z0-9]+)*$" },
|
|
18
|
+
"kind": { "const": "semantic" },
|
|
19
|
+
"title": { "type": "string", "minLength": 1 },
|
|
20
|
+
"reason": { "type": "string", "minLength": 1 },
|
|
21
|
+
"ownerUnit": { "type": "string", "pattern": "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$" },
|
|
22
|
+
"introducedByWorkItemId": { "type": "string", "pattern": "^WI-[0-9]+$" },
|
|
23
|
+
"references": {
|
|
24
|
+
"type": "array",
|
|
25
|
+
"uniqueItems": true,
|
|
26
|
+
"items": { "type": "string", "pattern": "^pgw:v1:.+" }
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://phasegate.dev/contracts/world-obligation-report.schema.json",
|
|
4
|
+
"title": "PhaseGate World obligation report",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"schemaVersion",
|
|
9
|
+
"evaluationId",
|
|
10
|
+
"rulesetVersion",
|
|
11
|
+
"policyInputsDigest",
|
|
12
|
+
"structuralObligations",
|
|
13
|
+
"repaidBaselineEntries",
|
|
14
|
+
"declaredSemanticDebts",
|
|
15
|
+
"policyDiagnostics",
|
|
16
|
+
"summary"
|
|
17
|
+
],
|
|
18
|
+
"properties": {
|
|
19
|
+
"schemaVersion": { "const": "phasegate-world-obligation-report/v1" },
|
|
20
|
+
"evaluationId": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"pattern": "^pgw:v1:evaluation:sha256:[0-9a-f]{64}$"
|
|
23
|
+
},
|
|
24
|
+
"rulesetVersion": { "type": "string", "minLength": 1 },
|
|
25
|
+
"policyInputsDigest": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"pattern": "^sha256:[0-9a-f]{64}$"
|
|
28
|
+
},
|
|
29
|
+
"structuralObligations": {
|
|
30
|
+
"type": "array",
|
|
31
|
+
"items": { "$ref": "#/$defs/structuralObligation" }
|
|
32
|
+
},
|
|
33
|
+
"repaidBaselineEntries": {
|
|
34
|
+
"type": "array",
|
|
35
|
+
"items": { "$ref": "#/$defs/repaidBaselineEntry" }
|
|
36
|
+
},
|
|
37
|
+
"declaredSemanticDebts": {
|
|
38
|
+
"type": "array",
|
|
39
|
+
"items": { "$ref": "#/$defs/semanticDebt" }
|
|
40
|
+
},
|
|
41
|
+
"policyDiagnostics": {
|
|
42
|
+
"type": "array",
|
|
43
|
+
"items": { "$ref": "#/$defs/policyDiagnostic" }
|
|
44
|
+
},
|
|
45
|
+
"summary": {
|
|
46
|
+
"type": "object",
|
|
47
|
+
"additionalProperties": false,
|
|
48
|
+
"required": [
|
|
49
|
+
"structuralObligations",
|
|
50
|
+
"repaidBaselineEntries",
|
|
51
|
+
"declaredSemanticDebts",
|
|
52
|
+
"policyDiagnostics"
|
|
53
|
+
],
|
|
54
|
+
"properties": {
|
|
55
|
+
"structuralObligations": { "type": "integer", "minimum": 0 },
|
|
56
|
+
"repaidBaselineEntries": { "type": "integer", "minimum": 0 },
|
|
57
|
+
"declaredSemanticDebts": { "type": "integer", "minimum": 0 },
|
|
58
|
+
"policyDiagnostics": { "type": "integer", "minimum": 0 }
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"$defs": {
|
|
63
|
+
"jsonValue": {
|
|
64
|
+
"oneOf": [
|
|
65
|
+
{ "type": "null" },
|
|
66
|
+
{ "type": "boolean" },
|
|
67
|
+
{ "type": "number" },
|
|
68
|
+
{ "type": "string" },
|
|
69
|
+
{
|
|
70
|
+
"type": "array",
|
|
71
|
+
"items": { "$ref": "#/$defs/jsonValue" }
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"type": "object",
|
|
75
|
+
"additionalProperties": { "$ref": "#/$defs/jsonValue" }
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
"pin": {
|
|
80
|
+
"oneOf": [
|
|
81
|
+
{ "type": "null" },
|
|
82
|
+
{
|
|
83
|
+
"type": "object",
|
|
84
|
+
"additionalProperties": false,
|
|
85
|
+
"required": ["nodeId", "contentDigest"],
|
|
86
|
+
"properties": {
|
|
87
|
+
"nodeId": { "type": "string", "pattern": "^pgw:v1:.+" },
|
|
88
|
+
"contentDigest": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"pattern": "^sha256:[0-9a-f]{64}$"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
"subject": {
|
|
97
|
+
"type": "object",
|
|
98
|
+
"additionalProperties": false,
|
|
99
|
+
"required": ["endpointRole", "nodeIds"],
|
|
100
|
+
"properties": {
|
|
101
|
+
"endpointRole": {
|
|
102
|
+
"enum": ["claimant", "premise", "both", "declaration", "global"]
|
|
103
|
+
},
|
|
104
|
+
"nodeIds": {
|
|
105
|
+
"type": "array",
|
|
106
|
+
"items": { "type": "string", "pattern": "^pgw:v1:.+" }
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"waiver": {
|
|
111
|
+
"oneOf": [
|
|
112
|
+
{ "type": "null" },
|
|
113
|
+
{
|
|
114
|
+
"type": "object",
|
|
115
|
+
"additionalProperties": false,
|
|
116
|
+
"required": ["waiverId", "reason", "expiresOn", "workItemId"],
|
|
117
|
+
"properties": {
|
|
118
|
+
"waiverId": { "type": "string", "pattern": "^pgw:v1:waiver:.+" },
|
|
119
|
+
"reason": { "type": "string", "minLength": 1 },
|
|
120
|
+
"expiresOn": {
|
|
121
|
+
"type": "string",
|
|
122
|
+
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
|
|
123
|
+
},
|
|
124
|
+
"workItemId": { "type": "string", "pattern": "^WI-[0-9]+$" }
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
]
|
|
128
|
+
},
|
|
129
|
+
"structuralObligation": {
|
|
130
|
+
"type": "object",
|
|
131
|
+
"additionalProperties": false,
|
|
132
|
+
"required": [
|
|
133
|
+
"violationFingerprint",
|
|
134
|
+
"ruleId",
|
|
135
|
+
"constraintId",
|
|
136
|
+
"factType",
|
|
137
|
+
"subject",
|
|
138
|
+
"claimantPin",
|
|
139
|
+
"premisePin",
|
|
140
|
+
"expected",
|
|
141
|
+
"observed",
|
|
142
|
+
"classification",
|
|
143
|
+
"waiver"
|
|
144
|
+
],
|
|
145
|
+
"properties": {
|
|
146
|
+
"violationFingerprint": {
|
|
147
|
+
"type": "string",
|
|
148
|
+
"pattern": "^pgw:v1:violation-fingerprint:sha256:[0-9a-f]{64}$"
|
|
149
|
+
},
|
|
150
|
+
"ruleId": { "type": "string", "pattern": "^WCR-[0-9]{3}$" },
|
|
151
|
+
"constraintId": {
|
|
152
|
+
"oneOf": [
|
|
153
|
+
{ "type": "null" },
|
|
154
|
+
{ "type": "string", "pattern": "^pgw:v1:constraint:.+" }
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
"factType": {
|
|
158
|
+
"oneOf": [
|
|
159
|
+
{ "type": "null" },
|
|
160
|
+
{
|
|
161
|
+
"enum": ["references", "depends-on", "refines", "content-equals"]
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
},
|
|
165
|
+
"subject": { "$ref": "#/$defs/subject" },
|
|
166
|
+
"claimantPin": { "$ref": "#/$defs/pin" },
|
|
167
|
+
"premisePin": { "$ref": "#/$defs/pin" },
|
|
168
|
+
"expected": {
|
|
169
|
+
"type": "object",
|
|
170
|
+
"additionalProperties": { "$ref": "#/$defs/jsonValue" }
|
|
171
|
+
},
|
|
172
|
+
"observed": {
|
|
173
|
+
"type": "object",
|
|
174
|
+
"additionalProperties": { "$ref": "#/$defs/jsonValue" }
|
|
175
|
+
},
|
|
176
|
+
"classification": {
|
|
177
|
+
"enum": [
|
|
178
|
+
"adopted-legacy",
|
|
179
|
+
"new-structural",
|
|
180
|
+
"invalid-declaration",
|
|
181
|
+
"waived"
|
|
182
|
+
]
|
|
183
|
+
},
|
|
184
|
+
"waiver": { "$ref": "#/$defs/waiver" }
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"repaidBaselineEntry": {
|
|
188
|
+
"type": "object",
|
|
189
|
+
"additionalProperties": false,
|
|
190
|
+
"required": [
|
|
191
|
+
"violationFingerprint",
|
|
192
|
+
"ruleId",
|
|
193
|
+
"constraintId",
|
|
194
|
+
"classification",
|
|
195
|
+
"disposition"
|
|
196
|
+
],
|
|
197
|
+
"properties": {
|
|
198
|
+
"violationFingerprint": {
|
|
199
|
+
"type": "string",
|
|
200
|
+
"pattern": "^pgw:v1:violation-fingerprint:sha256:[0-9a-f]{64}$"
|
|
201
|
+
},
|
|
202
|
+
"ruleId": { "type": "string", "pattern": "^WCR-[0-9]{3}$" },
|
|
203
|
+
"constraintId": {
|
|
204
|
+
"oneOf": [
|
|
205
|
+
{ "type": "null" },
|
|
206
|
+
{ "type": "string", "pattern": "^pgw:v1:constraint:.+" }
|
|
207
|
+
]
|
|
208
|
+
},
|
|
209
|
+
"classification": { "const": "repaid" },
|
|
210
|
+
"disposition": { "const": "cleanup-required" }
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"semanticDebt": {
|
|
214
|
+
"type": "object",
|
|
215
|
+
"additionalProperties": false,
|
|
216
|
+
"required": [
|
|
217
|
+
"schemaVersion",
|
|
218
|
+
"debtId",
|
|
219
|
+
"kind",
|
|
220
|
+
"title",
|
|
221
|
+
"reason",
|
|
222
|
+
"ownerUnit",
|
|
223
|
+
"introducedByWorkItemId",
|
|
224
|
+
"references"
|
|
225
|
+
],
|
|
226
|
+
"properties": {
|
|
227
|
+
"schemaVersion": { "const": "phasegate-world-debts/v1" },
|
|
228
|
+
"debtId": { "type": "string", "pattern": "^pgw:v1:semantic-debt:.+" },
|
|
229
|
+
"kind": { "const": "semantic" },
|
|
230
|
+
"title": { "type": "string", "minLength": 1 },
|
|
231
|
+
"reason": { "type": "string", "minLength": 1 },
|
|
232
|
+
"ownerUnit": { "type": "string", "minLength": 1 },
|
|
233
|
+
"introducedByWorkItemId": {
|
|
234
|
+
"type": "string",
|
|
235
|
+
"pattern": "^WI-[0-9]+$"
|
|
236
|
+
},
|
|
237
|
+
"references": {
|
|
238
|
+
"type": "array",
|
|
239
|
+
"items": { "type": "string", "pattern": "^pgw:v1:.+" }
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"policyDiagnostic": {
|
|
244
|
+
"type": "object",
|
|
245
|
+
"additionalProperties": false,
|
|
246
|
+
"required": ["code", "subjectId", "details"],
|
|
247
|
+
"properties": {
|
|
248
|
+
"code": { "type": "string", "pattern": "^[a-z][a-z0-9-]*$" },
|
|
249
|
+
"subjectId": {
|
|
250
|
+
"oneOf": [{ "type": "null" }, { "type": "string", "minLength": 1 }]
|
|
251
|
+
},
|
|
252
|
+
"details": {
|
|
253
|
+
"type": "object",
|
|
254
|
+
"additionalProperties": { "$ref": "#/$defs/jsonValue" }
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://phasegate.dev/contracts/world-waivers.schema.json",
|
|
4
|
+
"title": "PhaseGate World waivers",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["schemaVersion", "waivers"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"schemaVersion": { "const": "phasegate-world-waivers/v1" },
|
|
10
|
+
"waivers": {
|
|
11
|
+
"type": "array",
|
|
12
|
+
"items": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"additionalProperties": false,
|
|
15
|
+
"required": ["waiverId", "violationFingerprint", "reason", "expiresOn", "workItemId", "renewalOf"],
|
|
16
|
+
"properties": {
|
|
17
|
+
"waiverId": { "type": "string", "pattern": "^pgw:v1:waiver:[a-z][a-z0-9]*(?:[._-][a-z0-9]+)*$" },
|
|
18
|
+
"violationFingerprint": { "type": "string", "pattern": "^pgw:v1:violation-fingerprint:sha256:[0-9a-f]{64}$" },
|
|
19
|
+
"reason": { "type": "string", "minLength": 1 },
|
|
20
|
+
"expiresOn": { "type": "string", "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" },
|
|
21
|
+
"workItemId": { "type": "string", "pattern": "^WI-[0-9]+$" },
|
|
22
|
+
"renewalOf": {
|
|
23
|
+
"oneOf": [
|
|
24
|
+
{ "type": "null" },
|
|
25
|
+
{ "type": "string", "pattern": "^pgw:v1:waiver:[a-z][a-z0-9]*(?:[._-][a-z0-9]+)*$" }
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -325,6 +325,51 @@ L4 warning findings fail the process only when warning strictness is enabled (`v
|
|
|
325
325
|
|
|
326
326
|
---
|
|
327
327
|
|
|
328
|
+
## World Model
|
|
329
|
+
|
|
330
|
+
<!-- @work-item-id WI-299 -->
|
|
331
|
+
<!-- @work-item-id WI-307 -->
|
|
332
|
+
|
|
333
|
+
World Model コマンド(ADR-037)。設計文書・ソース・テスト・matrix・attestation を型付き事実グラフとして抽出し、pin された制約を両端点対称に再評価して義務を導出する。明示実行は config に依存せず常に可能。`world.enabled` のproduct既定値は`false`で、trueの場合に登録済み`L2-017` / `L3-008`とSessionStart integrationを有効化する。phasegate self-repoはdogfoodのためtrueである。
|
|
334
|
+
|
|
335
|
+
| Command | Options | Description |
|
|
336
|
+
|---|---|---|
|
|
337
|
+
| `world:inspect` | `--format human\|json` `--json` | Read-only World snapshot(node / edge / 抽出 diagnostics)を構築・表示。宣言も report も書かない |
|
|
338
|
+
| `world:pin` | `--constraint <id>`(`pgw:v1:constraint` ID, 必須) `--endpoint <claimant\|premise>`(必須) `--apply` `--format human\|json` `--json` | 制約端点の現在 digest をプレビュー。`--apply` で `phasegate.world-constraints.json` を atomic に更新 |
|
|
339
|
+
| `world:derive` | `--write` `--out <path>`(`--write` 必須) `--format human\|json` `--json` | immutable な obligation report を再導出。既定は pure・read-only。`--write` で raw report を `.harness/world-obligations.json`(untracked)へ永続化 |
|
|
340
|
+
|
|
341
|
+
### Automatic integration
|
|
342
|
+
|
|
343
|
+
| Surface | Contract |
|
|
344
|
+
|---|---|
|
|
345
|
+
| `L2-017 world-constraint-admission` | local fast-path。new / changed constraintのmalformed、新規pin / unpinned claimをfail-closed。adopted-legacyはwarningのみ。local resultは偽造可能でauthorityではない |
|
|
346
|
+
| `L3-008 world-constraint-rederivation` | current corpusとversioned control inputからauthoritativeにpure再導出。保存`.harness/world-obligations.json`は読まず、改竄・削除で結果が変わらない |
|
|
347
|
+
| SessionStart | blocking相当を優先して最大5件 / 2000 Unicode scalar。adopted-legacyは件数一行、全文やreasonをpromptへ注入しない。derive不能は固定warningへfail-open |
|
|
348
|
+
| Attestation v2 | `phasegate-attestation/v2`がcanonical`worldSnapshotRoot`一件をpin。fragment digest collectionは保存しない。既存v1のproduce / verify互換を維持 |
|
|
349
|
+
| Bundled `aidlc-gate` | `world.enabled:true`のprojectでmatrix生成後にpure deriveを二回実行してbyte一致を確認し、その後L3を実行。false / absentではWorld段階だけをskip |
|
|
350
|
+
|
|
351
|
+
### Exit code
|
|
352
|
+
|
|
353
|
+
| Exit | 意味 |
|
|
354
|
+
|---|---|
|
|
355
|
+
| 0 | クリーン(`world:derive` では adopted-legacy / waived / declared debt のみで blocking なし) |
|
|
356
|
+
| 1 | blocking な finding あり(`world:inspect` は抽出 diagnostics あり、`world:derive` は新規違反・期限切れ waiver 等) |
|
|
357
|
+
| 2 | 契約エラー(未知の control-file schema、不正な引数など) |
|
|
358
|
+
|
|
359
|
+
### 制御ファイルと出力
|
|
360
|
+
|
|
361
|
+
| File | Role |
|
|
362
|
+
|---|---|
|
|
363
|
+
| `phasegate.world-constraints.json` | pin された制約宣言(`world:pin --apply` が更新する唯一の mutation 経路) |
|
|
364
|
+
| `phasegate.world-baseline.json` | 既存違反の adoption baseline(閉じた集合・縮小のみ。同一 ruleset での追加は拒否) |
|
|
365
|
+
| `phasegate.world-waivers.json` | 単一 fingerprint 単位の waiver(理由 / 期限 / Work Item 必須) |
|
|
366
|
+
| `phasegate.world-debts.json` | 宣言済み semantic debt(import として表示され、「再発見」はしない) |
|
|
367
|
+
| `.harness/world-obligations.json` | `world:derive --write` の永続 report。**導出結果のキャッシュに過ぎず**、手編集・削除しても再導出の判定は変わらない |
|
|
368
|
+
|
|
369
|
+
JSON 出力は envelope `phasegate-world-cli/v1` に包まれ、同一 checkout での 2 回実行は byte-identical(決定性契約)。schema は `docs/contracts/world-*.schema.json` を参照。
|
|
370
|
+
|
|
371
|
+
---
|
|
372
|
+
|
|
328
373
|
## ADR Management
|
|
329
374
|
|
|
330
375
|
| Command | Options | Description |
|