forked from BasedHardware/omi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFC-metadata-format-validated-only-on-next-read.json
More file actions
18 lines (18 loc) · 1.27 KB
/
Copy pathFC-metadata-format-validated-only-on-next-read.json
File metadata and controls
18 lines (18 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"schema_version": 1,
"id": "FC-metadata-format-validated-only-on-next-read",
"violated_contract": "A value written into shared platform metadata must satisfy the parser of every tool that later reads that metadata, not merely the API that accepts the write. When the writing API is permissive and a different consumer is strict, the write succeeds and the failure surfaces on the next unrelated operation against the same resource, pointing away from the change that caused it.",
"canonical_prevention": "Write the strictest form every known consumer accepts, and assert that form in the writer's own test against the consumer's actual validation rule rather than a hand-copied expectation. Where the consumer is a vendored tool, copy its rule verbatim into the test so a vendor upgrade that tightens it fails locally instead of on the next deploy.",
"canonical_prevention_artifact": [
"backend/scripts/attach_cloud_run_gmp_sidecar.py",
"backend/tests/unit/test_attach_cloud_run_gmp_sidecar.py"
],
"evidence_prs": [11998],
"scope_hints": [
"backend/scripts/attach_cloud_run_gmp_sidecar.py",
"backend/deploy/cloud_run_gmp_sidecar.yaml",
".github/actions/deploy-backend-stack/action.yml"
],
"status": "dormant",
"dormant_since": "2026-09-07T09:27:14.544381Z"
}