szl-vertical-forge 0.2.3__py3-none-any.whl
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.
- szl_vertical_forge/__init__.py +52 -0
- szl_vertical_forge/forge.py +598 -0
- szl_vertical_forge/verticals.json +69 -0
- szl_vertical_forge-0.2.3.dist-info/METADATA +108 -0
- szl_vertical_forge-0.2.3.dist-info/RECORD +9 -0
- szl_vertical_forge-0.2.3.dist-info/WHEEL +5 -0
- szl_vertical_forge-0.2.3.dist-info/licenses/LICENSE +201 -0
- szl_vertical_forge-0.2.3.dist-info/licenses/NOTICE +2 -0
- szl_vertical_forge-0.2.3.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"""Build and verify deterministic vertical artifacts from audited configs."""
|
|
2
|
+
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
from typing import Any
|
|
5
|
+
|
|
6
|
+
VERTICALS_PATH = Path(__file__).with_name("verticals.json")
|
|
7
|
+
__version__ = "0.2.3"
|
|
8
|
+
__all__ = [
|
|
9
|
+
"VERTICALS_PATH",
|
|
10
|
+
"forge",
|
|
11
|
+
"load_verticals",
|
|
12
|
+
"validate_vertical",
|
|
13
|
+
"verify_output",
|
|
14
|
+
"verify_receipt",
|
|
15
|
+
"write_output",
|
|
16
|
+
]
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def forge(*args: Any, **kwargs: Any) -> dict[str, Any]:
|
|
20
|
+
from .forge import forge as implementation
|
|
21
|
+
|
|
22
|
+
return implementation(*args, **kwargs)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
def load_verticals(*args: Any, **kwargs: Any) -> list[dict[str, Any]]:
|
|
26
|
+
from .forge import load_verticals as implementation
|
|
27
|
+
|
|
28
|
+
return implementation(*args, **kwargs)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
def validate_vertical(*args: Any, **kwargs: Any) -> list[str]:
|
|
32
|
+
from .forge import validate_vertical as implementation
|
|
33
|
+
|
|
34
|
+
return implementation(*args, **kwargs)
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def verify_output(*args: Any, **kwargs: Any) -> dict[str, Any]:
|
|
38
|
+
from .forge import verify_output as implementation
|
|
39
|
+
|
|
40
|
+
return implementation(*args, **kwargs)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
def verify_receipt(*args: Any, **kwargs: Any) -> dict[str, Any]:
|
|
44
|
+
from .forge import verify_receipt as implementation
|
|
45
|
+
|
|
46
|
+
return implementation(*args, **kwargs)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def write_output(*args: Any, **kwargs: Any) -> dict[str, Any]:
|
|
50
|
+
from .forge import write_output as implementation
|
|
51
|
+
|
|
52
|
+
return implementation(*args, **kwargs)
|
|
@@ -0,0 +1,598 @@
|
|
|
1
|
+
"""Build and verify deterministic vertical landing-page artifacts.
|
|
2
|
+
|
|
3
|
+
The forge is deliberately a build tool, not a runtime oracle. It validates the
|
|
4
|
+
audited configuration, renders bytes, writes those bytes, and emits a
|
|
5
|
+
recomputable SHA-256 chain. Browser probes label verified upstream evidence as
|
|
6
|
+
REACHABLE, PARTIAL, STALE, SAMPLE, MODELED, or UNAVAILABLE; a successful HTTP
|
|
7
|
+
response is never promoted to a domain result.
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
from __future__ import annotations
|
|
11
|
+
|
|
12
|
+
import argparse
|
|
13
|
+
import hashlib
|
|
14
|
+
import html
|
|
15
|
+
import json
|
|
16
|
+
import os
|
|
17
|
+
import re
|
|
18
|
+
import tempfile
|
|
19
|
+
from pathlib import Path
|
|
20
|
+
from typing import Any, Iterable
|
|
21
|
+
from urllib.parse import quote, urlsplit
|
|
22
|
+
|
|
23
|
+
VERSION = "0.2.3"
|
|
24
|
+
RECEIPT_SCHEMA = "szl.vertical-forge.receipt/v4"
|
|
25
|
+
RECEIPT_ALGORITHM = "sha256-canonical-json-chain"
|
|
26
|
+
HEADER_FIELDS = (
|
|
27
|
+
"schema",
|
|
28
|
+
"generator",
|
|
29
|
+
"algorithm",
|
|
30
|
+
"genesis",
|
|
31
|
+
"config_sha256",
|
|
32
|
+
"vertical_count",
|
|
33
|
+
)
|
|
34
|
+
ARTIFACT_SCHEMA = "szl.vertical-forge.artifact/v1"
|
|
35
|
+
ZERO_HASH = "0" * 64
|
|
36
|
+
WIDGETS = {"osint", "receipts", "lambda", "probe", "ouroboros", "bm25", "quant"}
|
|
37
|
+
# These flagship shells read the existing publisher's /api/live route. The
|
|
38
|
+
# configured root URLs for Counsel and Finance are product pages, not evidence
|
|
39
|
+
# endpoints. Sources are pinned from that publisher so a different feed cannot
|
|
40
|
+
# become evidence merely because the proxy returned HTTP 200.
|
|
41
|
+
PROBE_ENDPOINTS = {
|
|
42
|
+
"counsel": "https://szlholdings-counsel.hf.space/api/live",
|
|
43
|
+
"finance": "https://szlholdings-finance.hf.space/api/live",
|
|
44
|
+
}
|
|
45
|
+
PROBE_SOURCES = {
|
|
46
|
+
"terra": "https://szlholdings-a11oy.hf.space/api/a11oy/v1/vert/realestate/feed",
|
|
47
|
+
"counsel": "https://szlholdings-a11oy.hf.space/api/a11oy/v1/vert/legal/feed",
|
|
48
|
+
"finance": "https://szlholdings-a11oy.hf.space/api/a11oy/v1/finance/overview",
|
|
49
|
+
}
|
|
50
|
+
VERTICALS_PATH = Path(__file__).with_name("verticals.json")
|
|
51
|
+
ASSET_RE = re.compile(r"[A-Za-z0-9][A-Za-z0-9._/-]*")
|
|
52
|
+
SLUG_RE = re.compile(r"[a-z0-9][a-z0-9-]*")
|
|
53
|
+
HEX64_RE = re.compile(r"[0-9a-f]{64}")
|
|
54
|
+
GENERATOR_RE = re.compile(r"szl-vertical-forge/[0-9]+\.[0-9]+\.[0-9]+")
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
def canonical_json(value: Any) -> str:
|
|
58
|
+
return json.dumps(value, ensure_ascii=False, separators=(",", ":"), sort_keys=True)
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
def sha256_bytes(value: bytes) -> str:
|
|
62
|
+
return hashlib.sha256(value).hexdigest()
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
def load_verticals(
|
|
66
|
+
path: str | os.PathLike[str] = VERTICALS_PATH,
|
|
67
|
+
) -> list[dict[str, Any]]:
|
|
68
|
+
document = json.loads(Path(path).read_text(encoding="utf-8"))
|
|
69
|
+
verticals = document.get("verticals") if isinstance(document, dict) else None
|
|
70
|
+
if not isinstance(verticals, list):
|
|
71
|
+
raise ValueError("verticals document must contain a verticals array")
|
|
72
|
+
return verticals
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
def _valid_probe_endpoint(value: Any) -> bool:
|
|
76
|
+
if value is None:
|
|
77
|
+
return True
|
|
78
|
+
if not isinstance(value, str) or not value:
|
|
79
|
+
return False
|
|
80
|
+
parsed = urlsplit(value)
|
|
81
|
+
if value.startswith("/"):
|
|
82
|
+
return not value.startswith("//") and not parsed.query and not parsed.fragment
|
|
83
|
+
return (
|
|
84
|
+
parsed.scheme == "https"
|
|
85
|
+
and bool(parsed.hostname)
|
|
86
|
+
and parsed.username is None
|
|
87
|
+
and parsed.password is None
|
|
88
|
+
and not parsed.fragment
|
|
89
|
+
)
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
def _valid_source_url(value: Any) -> bool:
|
|
93
|
+
if not isinstance(value, str) or not value:
|
|
94
|
+
return False
|
|
95
|
+
parsed = urlsplit(value)
|
|
96
|
+
return (
|
|
97
|
+
parsed.scheme == "https"
|
|
98
|
+
and bool(parsed.hostname)
|
|
99
|
+
and parsed.username is None
|
|
100
|
+
and parsed.password is None
|
|
101
|
+
and not parsed.fragment
|
|
102
|
+
)
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
def validate_vertical(vertical: dict[str, Any]) -> list[str]:
|
|
106
|
+
if not isinstance(vertical, dict):
|
|
107
|
+
return ["vertical must be an object"]
|
|
108
|
+
errors: list[str] = []
|
|
109
|
+
scalar_fields = ("id", "name", "domain", "tagline", "widget")
|
|
110
|
+
list_fields = ("kernels", "models", "datasets", "repos")
|
|
111
|
+
for key in scalar_fields:
|
|
112
|
+
if not isinstance(vertical.get(key), str) or not vertical[key].strip():
|
|
113
|
+
errors.append(f"missing/empty string: {key}")
|
|
114
|
+
for key in list_fields:
|
|
115
|
+
value = vertical.get(key)
|
|
116
|
+
if not isinstance(value, list) or any(
|
|
117
|
+
not isinstance(item, str)
|
|
118
|
+
or not item.strip()
|
|
119
|
+
or not ASSET_RE.fullmatch(item)
|
|
120
|
+
for item in (value if isinstance(value, list) else [])
|
|
121
|
+
):
|
|
122
|
+
errors.append(f"{key} must be an array of safe non-empty names")
|
|
123
|
+
if vertical.get("widget") not in WIDGETS:
|
|
124
|
+
errors.append(f"unknown widget: {vertical.get('widget')}")
|
|
125
|
+
if not SLUG_RE.fullmatch(str(vertical.get("id", ""))):
|
|
126
|
+
errors.append("id must be slug-safe")
|
|
127
|
+
if not _valid_probe_endpoint(vertical.get("endpoint")):
|
|
128
|
+
errors.append("endpoint must be a safe root-relative path or HTTPS URL")
|
|
129
|
+
lineage = vertical.get("lineage")
|
|
130
|
+
if (
|
|
131
|
+
not isinstance(lineage, dict)
|
|
132
|
+
or set(lineage) != {"leader", "job", "tweak", "sources"}
|
|
133
|
+
or any(
|
|
134
|
+
not isinstance(lineage.get(key), str) or not lineage[key].strip()
|
|
135
|
+
for key in ("leader", "job", "tweak")
|
|
136
|
+
)
|
|
137
|
+
or not isinstance(lineage.get("sources"), list)
|
|
138
|
+
or not lineage["sources"]
|
|
139
|
+
or any(not _valid_source_url(value) for value in lineage["sources"])
|
|
140
|
+
):
|
|
141
|
+
errors.append("lineage must carry leader + job + tweak + HTTPS sources")
|
|
142
|
+
return errors
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
PROBE_SCRIPT = r"""
|
|
146
|
+
const pill=document.getElementById('livepill'),out=document.getElementById('demodata');
|
|
147
|
+
const object=value=>value!==null&&typeof value==='object'&&!Array.isArray(value);
|
|
148
|
+
function stateFor(response,body){
|
|
149
|
+
if(!response.ok)return {label:'UNAVAILABLE',reason:'HTTP '+response.status};
|
|
150
|
+
if(!object(body))return {label:'UNAVAILABLE',reason:'Missing or malformed payload'};
|
|
151
|
+
if(body.status===undefined){
|
|
152
|
+
if(EXPECTED_SOURCE)return {label:'UNAVAILABLE',reason:'Missing proxy state'};
|
|
153
|
+
return {label:'REACHABLE',reason:'Response only; evidence state unverified'};
|
|
154
|
+
}
|
|
155
|
+
if(typeof body.status!=='string'||!['REACHABLE','LIVE','SNAPSHOT','CACHED','PARTIAL','STALE','UNAVAILABLE','SAMPLE','MODELED'].includes(body.status))
|
|
156
|
+
return {label:'UNAVAILABLE',reason:'Unknown proxy state'};
|
|
157
|
+
if(EXPECTED_SOURCE&&body.source!==EXPECTED_SOURCE)
|
|
158
|
+
return {label:'UNAVAILABLE',reason:'Source mismatch'};
|
|
159
|
+
if(!Number.isInteger(body.http_status)||body.http_status<200||body.http_status>=300||body.status==='UNAVAILABLE')
|
|
160
|
+
return {label:'UNAVAILABLE',reason:'Upstream unavailable'};
|
|
161
|
+
if(!object(body.data))return {label:'UNAVAILABLE',reason:'Missing upstream data'};
|
|
162
|
+
if(body.data.status==='UNAVAILABLE'||body.data.state==='UNAVAILABLE'||body.data.ok===false)
|
|
163
|
+
return {label:'UNAVAILABLE',reason:'Upstream data unavailable'};
|
|
164
|
+
if(VERTICAL==='finance'&&(body.status!=='SNAPSHOT'||body.data.ok!==true))
|
|
165
|
+
return {label:'UNAVAILABLE',reason:'Finance snapshot is not accepted'};
|
|
166
|
+
if(body.source_revision!==undefined||body.data.source_revision!==undefined){
|
|
167
|
+
const revision=/^[0-9a-f]{40}$/;
|
|
168
|
+
if(!revision.test(body.data.source_revision)||
|
|
169
|
+
(body.source_revision!==undefined&&(!revision.test(body.source_revision)||body.source_revision!==body.data.source_revision))||
|
|
170
|
+
(body.source_revision===undefined&&VERTICAL!=='finance'))
|
|
171
|
+
return {label:'UNAVAILABLE',reason:'Source revision mismatch'};
|
|
172
|
+
}
|
|
173
|
+
if(VERTICAL==='finance'&&body.status==='SNAPSHOT'&&!/^[0-9a-f]{40}$/.test(body.data.source_revision))
|
|
174
|
+
return {label:'UNAVAILABLE',reason:'Missing finance source revision'};
|
|
175
|
+
const mode=[body.status,body.data_kind,body.truth_label,body.mode,
|
|
176
|
+
body.data.status,body.data.state,body.data.data_kind,body.data.truth_label,body.data.mode]
|
|
177
|
+
.filter(value=>typeof value==='string').map(value=>value.toUpperCase());
|
|
178
|
+
if(mode.includes('SAMPLE')||mode.includes('FIXTURE'))return {label:'SAMPLE',reason:'Sample evidence'};
|
|
179
|
+
if(mode.includes('MODELED'))return {label:'MODELED',reason:'Modeled evidence'};
|
|
180
|
+
let sourceStale=false;
|
|
181
|
+
const sourceSpecs=VERTICAL==='terra'?[['hpd_litigations',900],['dob_violations',900],['rates',3600]]:
|
|
182
|
+
VERTICAL==='counsel'?[['federal_register',600],['court_filings',900]]:null;
|
|
183
|
+
if(sourceSpecs){
|
|
184
|
+
if(body.data.vertical!==(VERTICAL==='terra'?'realestate':'legal'))
|
|
185
|
+
return {label:'UNAVAILABLE',reason:'Vertical mismatch'};
|
|
186
|
+
const sources=sourceSpecs.map(([key])=>body.data[key]);
|
|
187
|
+
if(sources.some(source=>!object(source)||!object(source.freshness)))
|
|
188
|
+
return {label:'UNAVAILABLE',reason:'Missing source evidence'};
|
|
189
|
+
let available=0,stale=false;
|
|
190
|
+
for(let index=0;index<sources.length;index++){
|
|
191
|
+
const source=sources[index];
|
|
192
|
+
const freshness=source.freshness,status=String(freshness.status||'').toLowerCase();
|
|
193
|
+
if(!['live','cached','stale','unavailable'].includes(status))
|
|
194
|
+
return {label:'UNAVAILABLE',reason:'Unknown source freshness'};
|
|
195
|
+
if(status==='unavailable'){
|
|
196
|
+
if(source.value!==null)return {label:'UNAVAILABLE',reason:'Contradictory source evidence'};
|
|
197
|
+
continue;
|
|
198
|
+
}
|
|
199
|
+
if(!object(source.value)||!Number.isFinite(freshness.fetched_at)||freshness.fetched_at<=0||freshness.fetched_at>Date.now()/1000+60)
|
|
200
|
+
return {label:'UNAVAILABLE',reason:'Missing or invalid observation clock'};
|
|
201
|
+
available++;
|
|
202
|
+
if(status!=='live'||Date.now()/1000-freshness.fetched_at>sourceSpecs[index][1])stale=true;
|
|
203
|
+
}
|
|
204
|
+
if(!available)return {label:'UNAVAILABLE',reason:'No available source evidence'};
|
|
205
|
+
if(available<sources.length)
|
|
206
|
+
return {label:'PARTIAL',reason:stale?'Some sources unavailable; others cached or stale':'Some sources unavailable'};
|
|
207
|
+
sourceStale=stale;
|
|
208
|
+
}
|
|
209
|
+
if(body.status==='PARTIAL'||body.data.status==='PARTIAL')
|
|
210
|
+
return {label:'PARTIAL',reason:'Partially available upstream data'};
|
|
211
|
+
if(sourceStale||body.status==='STALE'||body.status==='CACHED'||body.data.status==='STALE'||body.data.status==='CACHED')
|
|
212
|
+
return {label:'STALE',reason:'Stale upstream data'};
|
|
213
|
+
return {label:'REACHABLE',reason:'Upstream response; domain result unverified'};
|
|
214
|
+
}
|
|
215
|
+
async function probe(){
|
|
216
|
+
if(!EP){pill.textContent='DECLARED - NO PUBLIC PROBE';out.textContent='No endpoint is declared.';return}
|
|
217
|
+
try{
|
|
218
|
+
const response=await fetch(EP,{method:'GET',cache:'no-store',headers:{'Accept':'application/json'}});
|
|
219
|
+
const contentType=response.headers.get('content-type')||'';
|
|
220
|
+
let body;
|
|
221
|
+
if(contentType.includes('json'))body=await response.json();
|
|
222
|
+
else if(EXPECTED_SOURCE)body=null;
|
|
223
|
+
else body={content_type:contentType,text:(await response.text()).slice(0,1200)};
|
|
224
|
+
const state=stateFor(response,body);
|
|
225
|
+
pill.textContent=state.label;
|
|
226
|
+
pill.className='pill '+(state.label==='UNAVAILABLE'?'unavailable':'');
|
|
227
|
+
out.textContent=state.reason+'\n'+JSON.stringify(body,null,2).slice(0,4000);
|
|
228
|
+
}catch(error){
|
|
229
|
+
pill.textContent='UNAVAILABLE';pill.className='pill unavailable';out.textContent=String(error);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
probe();
|
|
233
|
+
"""
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
LANDING = """<!doctype html>
|
|
237
|
+
<html lang="en" data-szl-vertical-forge="0.2.2"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
|
|
238
|
+
<meta name="color-scheme" content="dark"><title>{name} — SZL Holdings</title><meta name="description" content="{tagline}">
|
|
239
|
+
<style>
|
|
240
|
+
:root{{--bg:#070b12;--ink:#e6edfb;--muted:#9fb0cf;--faint:#6b7a99;--line:rgba(140,170,220,.14);--teal:#3af4c8;--blue:#5b8dee;--violet:#8a6bff;--amber:#d4a444;--red:#fb7185}}
|
|
241
|
+
*{{box-sizing:border-box;min-inline-size:0}}html{{overflow-x:clip}}body{{margin:0;background:var(--bg);color:var(--ink);font:15px/1.6 -apple-system,"Segoe UI",Roboto,sans-serif}}
|
|
242
|
+
body::before{{content:"";position:fixed;inset:-30%;z-index:-1;pointer-events:none;filter:blur(6px);animation:drift 24s ease-in-out infinite alternate;background:radial-gradient(45% 40% at 18% 12%,rgba(58,244,200,.10),transparent 60%),radial-gradient(50% 45% at 85% 8%,rgba(91,141,238,.12),transparent 60%),radial-gradient(55% 50% at 70% 95%,rgba(138,107,255,.12),transparent 60%)}}
|
|
243
|
+
@keyframes drift{{from{{transform:translate3d(-2%,-1%,0)}}to{{transform:translate3d(2%,1%,0) scale(1.06)}}}}main{{max-width:980px;margin:auto;padding:64px 20px 80px}}.kicker{{font-size:11px;letter-spacing:.4em;text-transform:uppercase;color:var(--faint)}}
|
|
244
|
+
h1{{font-size:clamp(34px,7vw,64px);line-height:1.02;margin:14px 0;font-weight:850;letter-spacing:-.5px;overflow-wrap:anywhere}}.grad{{background:linear-gradient(100deg,var(--teal),var(--blue) 45%,var(--violet));-webkit-background-clip:text;background-clip:text;color:transparent}}.lede{{max-width:62ch;color:var(--muted);font-size:17px}}
|
|
245
|
+
.chips{{display:flex;flex-wrap:wrap;gap:8px;margin:22px 0}}.chip{{font-size:11px;font-weight:600;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:6px 12px;background:rgba(255,255,255,.028)}}.chip b{{color:var(--ink)}}.actions{{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}}.button{{display:inline-flex;align-items:center;min-height:44px;border:1px solid var(--line);border-radius:9px;padding:8px 14px;text-decoration:none;font-weight:700}}.button:focus-visible,a:focus-visible{{outline:3px solid var(--teal);outline-offset:3px}}
|
|
246
|
+
.pill{{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:7px 12px;font:700 10.5px ui-monospace,monospace;border:1px solid var(--line);color:var(--amber)}}.pill::before{{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 12px currentColor}}.pill.unavailable{{color:var(--red)}}
|
|
247
|
+
.panel{{border:1px solid var(--line);border-radius:16px;padding:22px;margin-top:26px;background:linear-gradient(145deg,rgba(12,24,39,.9),rgba(8,15,27,.9))}}.panel h2{{font-size:13px;letter-spacing:.28em;text-transform:uppercase;color:var(--teal);margin:0 0 10px}}a{{color:var(--blue);overflow-wrap:anywhere}}code{{background:rgba(255,255,255,.06);border-radius:6px;padding:1px 6px;font-size:12.5px;color:var(--teal)}}
|
|
248
|
+
.grid{{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin-top:10px}}.asset{{border:1px solid var(--line);border-radius:10px;padding:10px 12px;font-size:12px;color:var(--muted)}}.asset b{{display:block;color:var(--ink);font:700 10px ui-monospace,monospace;text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px}}.asset i{{color:var(--faint)}}pre{{white-space:pre-wrap;overflow-wrap:anywhere;max-height:360px;overflow:auto}}footer{{margin-top:34px;color:var(--faint);font-size:12px;border-top:1px solid var(--line);padding-top:16px}}
|
|
249
|
+
@media(prefers-reduced-motion:reduce){{body::before{{animation:none}}}}@media(forced-colors:active){{*{{forced-color-adjust:auto}}}}
|
|
250
|
+
</style></head><body><main>
|
|
251
|
+
<div class="kicker">SZL Holdings · {domain}</div><h1>{name} <span class="grad">— evidence before inference.</span></h1><p class="lede">{tagline}.</p>
|
|
252
|
+
<div class="chips"><span class="chip">Doctrine <b>v11</b></span><span class="chip">Λ = Conjecture 1 · advisory</span><span class="chip">receipt chain <b>SHA-256</b></span><span class="chip">widget <b>{widget}</b></span></div>
|
|
253
|
+
<div class="actions"><a class="button" href="/panels">Open governed workbench</a><a class="button" href="/build-receipt.json">Verify build receipt</a></div><span class="pill" id="livepill">PROBING</span>
|
|
254
|
+
<div class="panel"><h2>Runtime observation</h2><p style="color:var(--muted);font-size:13px">This read-only probe reports the upstream evidence state. Reachability alone is not a domain measurement or authorization.</p><pre id="demodata">waiting for probe…</pre></div>
|
|
255
|
+
<div class="panel"><h2>Estate wiring</h2><div class="grid"><div class="asset"><b>Repos</b>{repos}</div><div class="asset"><b>Kernels</b>{kernels}</div><div class="asset"><b>Models</b>{models}</div><div class="asset"><b>Datasets</b>{datasets}</div><div class="asset"><b>Lineage</b>Field leader: {leader} — {job}. <b>SZL adaptation:</b> {tweak}. <b>Primary sources:</b> {lineage_sources}. <i>Take the job, never proprietary code.</i></div></div></div>
|
|
256
|
+
<footer>Generated by szl-vertical-forge v0.2.2 · config receipt <code>{config_receipt}</code> · verify the committed receipt before deployment</footer>
|
|
257
|
+
</main><script>
|
|
258
|
+
{probe_script}
|
|
259
|
+
</script></body></html>
|
|
260
|
+
"""
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
def _links(items: Iterable[str], base: str) -> str:
|
|
264
|
+
rendered = []
|
|
265
|
+
for item in items:
|
|
266
|
+
href = base + quote(item, safe="/-._~")
|
|
267
|
+
rendered.append(
|
|
268
|
+
f'<a href="{html.escape(href, quote=True)}" target="_blank" rel="noopener noreferrer">{html.escape(item)}</a>'
|
|
269
|
+
)
|
|
270
|
+
return ", ".join(rendered) or "none declared"
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
def _source_links(items: Iterable[str]) -> str:
|
|
274
|
+
rendered = []
|
|
275
|
+
for position, item in enumerate(items, start=1):
|
|
276
|
+
rendered.append(
|
|
277
|
+
f'<a href="{html.escape(item, quote=True)}" target="_blank" '
|
|
278
|
+
f'rel="noopener noreferrer">source {position}</a>'
|
|
279
|
+
)
|
|
280
|
+
return ", ".join(rendered)
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
def render_vertical(vertical: dict[str, Any]) -> str:
|
|
284
|
+
lineage = vertical["lineage"]
|
|
285
|
+
config_receipt = sha256_bytes(canonical_json(vertical).encode("utf-8"))
|
|
286
|
+
endpoint_js = json.dumps(
|
|
287
|
+
PROBE_ENDPOINTS.get(vertical["id"], vertical.get("endpoint")),
|
|
288
|
+
ensure_ascii=False,
|
|
289
|
+
).replace(
|
|
290
|
+
"<", "\\u003c"
|
|
291
|
+
)
|
|
292
|
+
source_js = json.dumps(PROBE_SOURCES.get(vertical["id"]), ensure_ascii=False)
|
|
293
|
+
probe_script = (
|
|
294
|
+
f"const EP={endpoint_js},EXPECTED_SOURCE={source_js},"
|
|
295
|
+
f"VERTICAL={json.dumps(vertical['id'])};\n" + PROBE_SCRIPT
|
|
296
|
+
)
|
|
297
|
+
replacements = {
|
|
298
|
+
"name": html.escape(vertical["name"], quote=True),
|
|
299
|
+
"domain": html.escape(vertical["domain"], quote=True),
|
|
300
|
+
"tagline": html.escape(vertical["tagline"], quote=True),
|
|
301
|
+
"widget": html.escape(vertical["widget"], quote=True),
|
|
302
|
+
"repos": _links(vertical["repos"], "https://github.com/szl-holdings/"),
|
|
303
|
+
"kernels": _links(vertical["kernels"], "https://huggingface.co/SZLHOLDINGS/"),
|
|
304
|
+
"models": _links(vertical["models"], "https://huggingface.co/SZLHOLDINGS/"),
|
|
305
|
+
"datasets": _links(
|
|
306
|
+
vertical["datasets"], "https://huggingface.co/datasets/SZLHOLDINGS/"
|
|
307
|
+
),
|
|
308
|
+
"leader": html.escape(lineage["leader"]),
|
|
309
|
+
"job": html.escape(lineage["job"]),
|
|
310
|
+
"tweak": html.escape(lineage["tweak"]),
|
|
311
|
+
"lineage_sources": _source_links(lineage["sources"]),
|
|
312
|
+
"config_receipt": config_receipt[:16],
|
|
313
|
+
"probe_script": probe_script,
|
|
314
|
+
}
|
|
315
|
+
# Interpret template escapes once; substituted text is never templated again.
|
|
316
|
+
return LANDING.format_map(replacements)
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
def _receipt_for(index_files: dict[str, bytes], config_sha256: str) -> dict[str, Any]:
|
|
320
|
+
previous = ZERO_HASH
|
|
321
|
+
events: list[dict[str, Any]] = []
|
|
322
|
+
for path, content in sorted(index_files.items()):
|
|
323
|
+
event = {
|
|
324
|
+
"artifact_sha256": sha256_bytes(content),
|
|
325
|
+
"kind": "generated-index",
|
|
326
|
+
"path": path,
|
|
327
|
+
"prev_hash": previous,
|
|
328
|
+
}
|
|
329
|
+
event["chain_hash"] = sha256_bytes(canonical_json(event).encode("utf-8"))
|
|
330
|
+
previous = event["chain_hash"]
|
|
331
|
+
events.append(event)
|
|
332
|
+
header = {
|
|
333
|
+
"schema": RECEIPT_SCHEMA,
|
|
334
|
+
"generator": f"szl-vertical-forge/{VERSION}",
|
|
335
|
+
"algorithm": RECEIPT_ALGORITHM,
|
|
336
|
+
"genesis": ZERO_HASH,
|
|
337
|
+
"config_sha256": config_sha256,
|
|
338
|
+
"vertical_count": len(index_files),
|
|
339
|
+
}
|
|
340
|
+
return {
|
|
341
|
+
**header,
|
|
342
|
+
"events": events,
|
|
343
|
+
"chain_tip": previous,
|
|
344
|
+
"master_hash": _master_hash(header, previous),
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
def _master_hash(header: dict[str, Any], chain_tip: str) -> str:
|
|
349
|
+
"""Bind the canonical receipt header and the event-chain tip together.
|
|
350
|
+
|
|
351
|
+
The header (generator, algorithm, genesis, config digest, count) is part of
|
|
352
|
+
the verified authority: mutating any header field changes the master hash.
|
|
353
|
+
"""
|
|
354
|
+
return sha256_bytes(
|
|
355
|
+
canonical_json({"chain_tip": chain_tip, "header": header}).encode("utf-8")
|
|
356
|
+
)
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
def verify_receipt(
|
|
360
|
+
receipt: Any, expected_config_sha256: str | None = None
|
|
361
|
+
) -> dict[str, Any]:
|
|
362
|
+
"""Recompute the receipt chain and its bound header.
|
|
363
|
+
|
|
364
|
+
``expected_config_sha256`` is an optional independently supplied config
|
|
365
|
+
authority; when given, the receipt's config digest must equal it.
|
|
366
|
+
"""
|
|
367
|
+
if not isinstance(receipt, dict) or receipt.get("schema") != RECEIPT_SCHEMA:
|
|
368
|
+
return {"state": "INVALID", "detail": "receipt schema mismatch"}
|
|
369
|
+
missing = [field for field in HEADER_FIELDS if field not in receipt]
|
|
370
|
+
if missing:
|
|
371
|
+
return {"state": "INVALID", "detail": "receipt header missing: " + ", ".join(missing)}
|
|
372
|
+
if receipt.get("algorithm") != RECEIPT_ALGORITHM:
|
|
373
|
+
return {"state": "INVALID", "detail": "unsupported receipt algorithm"}
|
|
374
|
+
if receipt.get("genesis") != ZERO_HASH:
|
|
375
|
+
return {"state": "INVALID", "detail": "receipt genesis mismatch"}
|
|
376
|
+
generator = receipt.get("generator")
|
|
377
|
+
if not isinstance(generator, str) or not GENERATOR_RE.fullmatch(generator):
|
|
378
|
+
return {"state": "INVALID", "detail": "receipt generator not recognised"}
|
|
379
|
+
config_sha256 = receipt.get("config_sha256")
|
|
380
|
+
if not isinstance(config_sha256, str) or not HEX64_RE.fullmatch(config_sha256):
|
|
381
|
+
return {"state": "INVALID", "detail": "receipt config digest malformed"}
|
|
382
|
+
if expected_config_sha256 is not None and config_sha256 != expected_config_sha256:
|
|
383
|
+
return {"state": "INVALID", "detail": "receipt config digest does not match expected authority"}
|
|
384
|
+
previous = receipt["genesis"]
|
|
385
|
+
events = receipt.get("events")
|
|
386
|
+
if not isinstance(events, list) or not events:
|
|
387
|
+
return {"state": "INVALID", "detail": "receipt events missing"}
|
|
388
|
+
for position, event in enumerate(events):
|
|
389
|
+
if not isinstance(event, dict) or event.get("prev_hash") != previous:
|
|
390
|
+
return {
|
|
391
|
+
"state": "INVALID",
|
|
392
|
+
"detail": f"chain link mismatch at event {position}",
|
|
393
|
+
}
|
|
394
|
+
candidate = {key: value for key, value in event.items() if key != "chain_hash"}
|
|
395
|
+
calculated = sha256_bytes(canonical_json(candidate).encode("utf-8"))
|
|
396
|
+
if event.get("chain_hash") != calculated:
|
|
397
|
+
return {
|
|
398
|
+
"state": "INVALID",
|
|
399
|
+
"detail": f"chain hash mismatch at event {position}",
|
|
400
|
+
}
|
|
401
|
+
previous = calculated
|
|
402
|
+
if receipt.get("chain_tip") != previous:
|
|
403
|
+
return {"state": "INVALID", "detail": "chain tip mismatch"}
|
|
404
|
+
if receipt.get("vertical_count") != len(events):
|
|
405
|
+
return {"state": "INVALID", "detail": "vertical count mismatch"}
|
|
406
|
+
header = {field: receipt[field] for field in HEADER_FIELDS}
|
|
407
|
+
master_hash = _master_hash(header, previous)
|
|
408
|
+
if receipt.get("master_hash") != master_hash:
|
|
409
|
+
return {"state": "INVALID", "detail": "master hash mismatch"}
|
|
410
|
+
return {"state": "VERIFIED", "events": len(events), "master_hash": master_hash}
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
def forge(verticals: list[dict[str, Any]] | None = None) -> dict[str, Any]:
|
|
414
|
+
selected = load_verticals() if verticals is None else verticals
|
|
415
|
+
errors: dict[str, list[str]] = {}
|
|
416
|
+
identifiers: set[str] = set()
|
|
417
|
+
for position, vertical in enumerate(selected):
|
|
418
|
+
item_errors = validate_vertical(vertical)
|
|
419
|
+
identifier = (
|
|
420
|
+
vertical.get("id", f"position-{position}")
|
|
421
|
+
if isinstance(vertical, dict)
|
|
422
|
+
else f"position-{position}"
|
|
423
|
+
)
|
|
424
|
+
if identifier in identifiers:
|
|
425
|
+
item_errors.append("id must be unique")
|
|
426
|
+
identifiers.add(str(identifier))
|
|
427
|
+
if item_errors:
|
|
428
|
+
errors[str(identifier)] = item_errors
|
|
429
|
+
if errors:
|
|
430
|
+
return {"state": "INVALID", "errors": errors}
|
|
431
|
+
if not selected:
|
|
432
|
+
return {
|
|
433
|
+
"state": "INVALID",
|
|
434
|
+
"errors": {"verticals": ["at least one vertical is required"]},
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
index_files = {
|
|
438
|
+
f"{item['id']}/index.html": render_vertical(item).encode("utf-8")
|
|
439
|
+
for item in selected
|
|
440
|
+
}
|
|
441
|
+
config_sha256 = sha256_bytes(canonical_json(selected).encode("utf-8"))
|
|
442
|
+
receipt = _receipt_for(index_files, config_sha256)
|
|
443
|
+
event_by_path = {event["path"]: event for event in receipt["events"]}
|
|
444
|
+
files = dict(index_files)
|
|
445
|
+
for item in selected:
|
|
446
|
+
index_path = f"{item['id']}/index.html"
|
|
447
|
+
artifact_receipt = {
|
|
448
|
+
"schema": ARTIFACT_SCHEMA,
|
|
449
|
+
"generator": receipt["generator"],
|
|
450
|
+
"vertical": item["id"],
|
|
451
|
+
"config_sha256": sha256_bytes(canonical_json(item).encode("utf-8")),
|
|
452
|
+
"fleet_config_sha256": config_sha256,
|
|
453
|
+
"fleet_master_hash": receipt["master_hash"],
|
|
454
|
+
"chain_event": event_by_path[index_path],
|
|
455
|
+
}
|
|
456
|
+
files[f"{item['id']}/build-receipt.json"] = (
|
|
457
|
+
json.dumps(artifact_receipt, ensure_ascii=False, indent=2, sort_keys=True)
|
|
458
|
+
+ "\n"
|
|
459
|
+
).encode("utf-8")
|
|
460
|
+
files["RECEIPT.json"] = (
|
|
461
|
+
json.dumps(receipt, ensure_ascii=False, indent=2, sort_keys=True) + "\n"
|
|
462
|
+
).encode("utf-8")
|
|
463
|
+
return {
|
|
464
|
+
"state": "MEASURED_LOCAL_BUILD",
|
|
465
|
+
"count": len(selected),
|
|
466
|
+
"generated": sorted(index_files),
|
|
467
|
+
"files": files,
|
|
468
|
+
"receipt": receipt,
|
|
469
|
+
"master_hash": receipt["master_hash"],
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
def _safe_destination(root: Path, relative: str) -> Path:
|
|
474
|
+
root_resolved = root.resolve()
|
|
475
|
+
candidate = (root_resolved / relative).resolve()
|
|
476
|
+
if root_resolved != candidate and root_resolved not in candidate.parents:
|
|
477
|
+
raise ValueError(f"output escaped destination: {relative}")
|
|
478
|
+
return candidate
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
def write_output(
|
|
482
|
+
result: dict[str, Any], output_dir: str | os.PathLike[str]
|
|
483
|
+
) -> dict[str, Any]:
|
|
484
|
+
if result.get("state") != "MEASURED_LOCAL_BUILD" or not isinstance(
|
|
485
|
+
result.get("files"), dict
|
|
486
|
+
):
|
|
487
|
+
return {"state": "INVALID", "detail": "forge result is not writable"}
|
|
488
|
+
root = Path(output_dir)
|
|
489
|
+
root.mkdir(parents=True, exist_ok=True)
|
|
490
|
+
written: list[str] = []
|
|
491
|
+
for relative, content in sorted(result["files"].items()):
|
|
492
|
+
target = _safe_destination(root, relative)
|
|
493
|
+
target.parent.mkdir(parents=True, exist_ok=True)
|
|
494
|
+
# A predictable sibling such as index.html.tmp may already be a
|
|
495
|
+
# symlink. Stage in a newly created private directory on the same
|
|
496
|
+
# filesystem, retaining atomic replacement and cleanup on failure.
|
|
497
|
+
with tempfile.TemporaryDirectory(prefix=".forge-", dir=target.parent) as staging:
|
|
498
|
+
temporary = Path(staging) / target.name
|
|
499
|
+
temporary.write_bytes(content)
|
|
500
|
+
os.replace(temporary, target)
|
|
501
|
+
written.append(relative)
|
|
502
|
+
return {"state": "WRITTEN", "files": written, "output_dir": str(root.resolve())}
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
def verify_output(
|
|
506
|
+
result: dict[str, Any], output_dir: str | os.PathLike[str]
|
|
507
|
+
) -> dict[str, Any]:
|
|
508
|
+
if result.get("state") != "MEASURED_LOCAL_BUILD" or not isinstance(
|
|
509
|
+
result.get("files"), dict
|
|
510
|
+
):
|
|
511
|
+
return {"state": "INVALID", "detail": "forge result is not verifiable"}
|
|
512
|
+
root = Path(output_dir)
|
|
513
|
+
missing: list[str] = []
|
|
514
|
+
mismatched: list[str] = []
|
|
515
|
+
for relative, expected in sorted(result["files"].items()):
|
|
516
|
+
target = _safe_destination(root, relative)
|
|
517
|
+
if not target.is_file():
|
|
518
|
+
missing.append(relative)
|
|
519
|
+
elif target.read_bytes() != expected:
|
|
520
|
+
mismatched.append(relative)
|
|
521
|
+
chain = verify_receipt(
|
|
522
|
+
result["receipt"], expected_config_sha256=result["receipt"].get("config_sha256")
|
|
523
|
+
)
|
|
524
|
+
state = (
|
|
525
|
+
"VERIFIED_LOCAL_ARTIFACTS"
|
|
526
|
+
if not missing and not mismatched and chain["state"] == "VERIFIED"
|
|
527
|
+
else "INVALID"
|
|
528
|
+
)
|
|
529
|
+
return {
|
|
530
|
+
"state": state,
|
|
531
|
+
"files_checked": len(result["files"]),
|
|
532
|
+
"missing": missing,
|
|
533
|
+
"mismatched": mismatched,
|
|
534
|
+
"chain": chain,
|
|
535
|
+
"master_hash": result["master_hash"],
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
def _select(
|
|
540
|
+
verticals: list[dict[str, Any]], requested: list[str]
|
|
541
|
+
) -> list[dict[str, Any]]:
|
|
542
|
+
if not requested:
|
|
543
|
+
return verticals
|
|
544
|
+
by_id = {item.get("id"): item for item in verticals if isinstance(item, dict)}
|
|
545
|
+
unknown = sorted(set(requested) - set(by_id))
|
|
546
|
+
if unknown:
|
|
547
|
+
raise ValueError("unknown vertical(s): " + ", ".join(unknown))
|
|
548
|
+
return [by_id[identifier] for identifier in requested]
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
def main(argv: list[str] | None = None) -> int:
|
|
552
|
+
parser = argparse.ArgumentParser(
|
|
553
|
+
description="Generate or verify deterministic vertical artifacts"
|
|
554
|
+
)
|
|
555
|
+
parser.add_argument(
|
|
556
|
+
"command", nargs="?", choices=("generate", "verify"), default="generate"
|
|
557
|
+
)
|
|
558
|
+
parser.add_argument("--output-dir", default="dist")
|
|
559
|
+
parser.add_argument(
|
|
560
|
+
"--vertical",
|
|
561
|
+
action="append",
|
|
562
|
+
default=[],
|
|
563
|
+
help="limit output to one or more audited IDs",
|
|
564
|
+
)
|
|
565
|
+
args = parser.parse_args(argv)
|
|
566
|
+
try:
|
|
567
|
+
selected = _select(load_verticals(), args.vertical)
|
|
568
|
+
result = forge(selected)
|
|
569
|
+
except (OSError, ValueError, json.JSONDecodeError) as exc:
|
|
570
|
+
print(json.dumps({"state": "INVALID", "detail": str(exc)}, sort_keys=True))
|
|
571
|
+
return 2
|
|
572
|
+
if result["state"] != "MEASURED_LOCAL_BUILD":
|
|
573
|
+
print(json.dumps(result, sort_keys=True))
|
|
574
|
+
return 2
|
|
575
|
+
if args.command == "generate":
|
|
576
|
+
write_result = write_output(result, args.output_dir)
|
|
577
|
+
if write_result["state"] != "WRITTEN":
|
|
578
|
+
print(json.dumps(write_result, sort_keys=True))
|
|
579
|
+
return 2
|
|
580
|
+
verification = verify_output(result, args.output_dir)
|
|
581
|
+
print(
|
|
582
|
+
json.dumps(
|
|
583
|
+
{
|
|
584
|
+
"state": verification["state"],
|
|
585
|
+
"vertical_count": result["count"],
|
|
586
|
+
"files_checked": verification["files_checked"],
|
|
587
|
+
"master_hash": result["master_hash"],
|
|
588
|
+
"output_dir": str(Path(args.output_dir).resolve()),
|
|
589
|
+
},
|
|
590
|
+
indent=2,
|
|
591
|
+
sort_keys=True,
|
|
592
|
+
)
|
|
593
|
+
)
|
|
594
|
+
return 0 if verification["state"] == "VERIFIED_LOCAL_ARTIFACTS" else 1
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
if __name__ == "__main__":
|
|
598
|
+
raise SystemExit(main())
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"source": "audited vertical definitions - szl-constellation/verticals.json (2026-09-04T03:30:00Z audit, owner-amended); lineage added v0.2.0 from field-leader research (web sources cited in README)",
|
|
3
|
+
"verticals": [
|
|
4
|
+
{"id": "killinchu", "name": "Killinchu", "domain": "Defense / Maritime Resilience",
|
|
5
|
+
"tagline": "Sole cyber-physical resilience runtime - counter-UAS reference, maritime C2, governed OSINT",
|
|
6
|
+
"widget": "osint", "endpoint": "https://szlholdings-killinchu.hf.space/api/killinchu/v1/public-intel/sources",
|
|
7
|
+
"kernels": ["szl-receipt-attn", "szl-block-kv", "szl-invariants"], "models": ["KILLINCHU-EYE", "chaski"],
|
|
8
|
+
"datasets": ["killinchu-osint-corpus"], "repos": ["killinchu", "khipu-sda-core", "sda"],
|
|
9
|
+
"lineage": {"leader": "Anduril Lattice", "job": "sensor-fusion C2 + kill-chain compression at scale (JIATF-401)",
|
|
10
|
+
"tweak": "governed interdiction - ROE-gated, DSSE receipt per action, no public effector",
|
|
11
|
+
"sources": ["https://www.anduril.com/news/jiatf-401-selects-lattice-as-enterprise-tactical-command-and-control-platform-for-c-uas"]}},
|
|
12
|
+
{"id": "sentra", "name": "Sentra", "domain": "Assurance Command",
|
|
13
|
+
"tagline": "Sole assurance flagship - GATE admission, YAWAR receipt-chain verification, evidence plane",
|
|
14
|
+
"widget": "receipts", "endpoint": "https://szlholdings-sentra.hf.space/api/sentra/planes",
|
|
15
|
+
"kernels": ["szl-govsign", "szl-provctl", "szl-blocked"], "models": ["szl-govsign", "szl-provctl"],
|
|
16
|
+
"datasets": ["uds-governance-receipts", "uds-spans-receipts"], "repos": ["szl-defensive-control-plane", "immune"],
|
|
17
|
+
"lineage": {"leader": "Credo AI / Arthur", "job": "measurable trust, agent registry, policy enforcement",
|
|
18
|
+
"tweak": "assurance as receipts, not dashboards - GATE deny-by-default + YAWAR chain",
|
|
19
|
+
"sources": ["https://www.credo.ai/ai-agent-registry", "https://docs.arthur.ai/docs/platform-ui"]}},
|
|
20
|
+
{"id": "puriq", "name": "PURIQ", "domain": "Markets / Formula Governance",
|
|
21
|
+
"tagline": "The formula corpus executed against live public signals - symmetric vs Egyptian Lambda, Yuyay-13",
|
|
22
|
+
"widget": "lambda", "endpoint": null,
|
|
23
|
+
"kernels": ["szl-lambda-gate", "szl-formulas", "szl-invariants"], "models": ["khipu-r3", "szl-governed-norm"],
|
|
24
|
+
"datasets": ["szl-quant-sft-v1", "canonical-formulas-v1"], "repos": ["puriq-live", "szl-quant"],
|
|
25
|
+
"lineage": {"leader": "category invented here", "job": "formula governance over live market signals",
|
|
26
|
+
"tweak": "Lambda geometric aggregation + fail-closed Yuyay-13",
|
|
27
|
+
"sources": ["https://github.com/szl-holdings/puriq-live"]}},
|
|
28
|
+
{"id": "terra", "name": "Terra", "domain": "Real Estate / Public Records",
|
|
29
|
+
"tagline": "Public-records underwriting - PLUTO observations remain separate from modeled analysis; absence is unavailable, never interpolated",
|
|
30
|
+
"widget": "probe", "endpoint": "/api/live",
|
|
31
|
+
"kernels": ["szl-maskmod", "szl-energy-attest"], "models": ["ReceiptAgent-Nano"],
|
|
32
|
+
"datasets": [], "repos": ["szl-real-estate", "vertical-services"],
|
|
33
|
+
"lineage": {"leader": "Regrid", "job": "standardized parcel data at national scale (160M+ parcels, MCP)",
|
|
34
|
+
"tweak": "public-records underwriting - PLUTO observations separate from modeled analysis, absence UNAVAILABLE",
|
|
35
|
+
"sources": ["https://support.regrid.com/docs/mcp-server"]}},
|
|
36
|
+
{"id": "lyte", "name": "Lyte", "domain": "Vertical Factory / Observability",
|
|
37
|
+
"tagline": "The design-partner cell - factory compiler, BIND hologram for named frontiers N1-N25",
|
|
38
|
+
"widget": "ouroboros", "endpoint": "https://szlholdings-lyte.hf.space",
|
|
39
|
+
"kernels": ["szl-ouroboros", "szl-kernels"], "models": ["TinyKhipu-Nano", "A11OY-MINI"],
|
|
40
|
+
"datasets": ["test-results"], "repos": ["lyte-services", "lyte-lattice", "a11oy-factory"],
|
|
41
|
+
"lineage": {"leader": "Grafana + OpenTelemetry", "job": "vendor-neutral instrument-collect-export telemetry",
|
|
42
|
+
"tweak": "bounded loop-tax discipline + receipted spans",
|
|
43
|
+
"sources": ["https://grafana.com/docs/loki/latest/send-data/otel/otel-collector-getting-started/"]}},
|
|
44
|
+
{"id": "counsel", "name": "Counsel / Ayllu", "domain": "Legal / Governed Advisory",
|
|
45
|
+
"tagline": "Evidence-bound holographic agent council - 11 Quechua seats, debate-then-converge, fail-closed gate",
|
|
46
|
+
"widget": "bm25", "endpoint": "https://szlholdings-counsel.hf.space",
|
|
47
|
+
"kernels": ["szl-lambda-gate", "szl-formulas"], "models": ["WILLAY", "chaski-r2"],
|
|
48
|
+
"datasets": ["doctrine-v10-v11", "szl-1-doctrine-sft"], "repos": ["ayllu"],
|
|
49
|
+
"lineage": {"leader": "Harvey / CoCounsel", "job": "agentic legal work + grounded authoritative research",
|
|
50
|
+
"tweak": "11-seat evidence-bound council, debate-then-converge, fail-closed Lambda gate",
|
|
51
|
+
"sources": ["https://www.harvey.ai/", "https://legal.thomsonreuters.com/en/products/cocounsel-legal"]}},
|
|
52
|
+
{"id": "finance", "name": "Finance", "domain": "Portfolio Analytics",
|
|
53
|
+
"tagline": "Doctrine-governed quant research - every advisory signal ships a DSSE-signed receipt; paper-only",
|
|
54
|
+
"widget": "quant", "endpoint": "https://szlholdings-finance.hf.space",
|
|
55
|
+
"kernels": ["szl-energy-attest"], "models": ["szl-receiptagent-qwen35-0.8b-v3"],
|
|
56
|
+
"datasets": ["szl-quant-sft-v1"], "repos": ["vertical-services", "szl-quant"],
|
|
57
|
+
"lineage": {"leader": "QuantConnect LEAN / Riskfolio-Lib", "job": "open backtesting + portfolio modeling + risk overlays",
|
|
58
|
+
"tweak": "paper-only, DSSE receipt per signal, doctrine-gated",
|
|
59
|
+
"sources": ["https://www.quantconnect.com/docs/v2/writing-algorithms/key-concepts/algorithm-engine", "https://riskfolio-lib.readthedocs.io/en/latest/"]}},
|
|
60
|
+
{"id": "david-leads", "name": "David Leads", "domain": "Revenue / Lead Intelligence",
|
|
61
|
+
"tagline": "Evidence-backed broker research - governed lead intelligence on auditable public data",
|
|
62
|
+
"widget": "probe", "endpoint": "https://szlholdings-david-leads.hf.space",
|
|
63
|
+
"kernels": ["szl-invariants"], "models": ["brain-navigator-r2"],
|
|
64
|
+
"datasets": ["why-we-lead"], "repos": ["david-leads"],
|
|
65
|
+
"lineage": {"leader": "governed lead-intelligence category", "job": "evidence-backed broker research",
|
|
66
|
+
"tweak": "auditable public data only - every lead carries its evidence trail",
|
|
67
|
+
"sources": ["https://github.com/szl-holdings/david-leads"]}}
|
|
68
|
+
]
|
|
69
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: szl-vertical-forge
|
|
3
|
+
Version: 0.2.3
|
|
4
|
+
Summary: Generate killinchu-pattern vertical shells from audited configs - deterministic, receipted, fail-closed
|
|
5
|
+
License-Expression: Apache-2.0
|
|
6
|
+
Project-URL: Homepage, https://github.com/szl-holdings/szl-vertical-forge
|
|
7
|
+
Project-URL: Source, https://github.com/szl-holdings/szl-vertical-forge
|
|
8
|
+
Project-URL: Issues, https://github.com/szl-holdings/szl-vertical-forge/issues
|
|
9
|
+
Project-URL: Changelog, https://github.com/szl-holdings/szl-vertical-forge/releases
|
|
10
|
+
Requires-Python: >=3.11
|
|
11
|
+
Description-Content-Type: text/markdown
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
License-File: NOTICE
|
|
14
|
+
Dynamic: license-file
|
|
15
|
+
|
|
16
|
+
# szl-vertical-forge
|
|
17
|
+
|
|
18
|
+
<!-- szl:header v1 -->
|
|
19
|
+
<!-- Native identity: szl-brand@4309f6fce89179331b0b3ed8c99494e76c5be256; Orbit v2 icon. -->
|
|
20
|
+
<p>
|
|
21
|
+
<a href="https://github.com/szl-holdings">
|
|
22
|
+
<img src="https://raw.githubusercontent.com/szl-holdings/szl-brand/4309f6fce89179331b0b3ed8c99494e76c5be256/kit/logos/orbit-v2/suite/szl-icon-32.svg" alt="SZL Holdings — Orbit v2" width="32" height="32" />
|
|
23
|
+
</a>
|
|
24
|
+
</p>
|
|
25
|
+
|
|
26
|
+
**Control before action. Evidence after.**
|
|
27
|
+
|
|
28
|
+
[Product](https://a-11-oy.com) · [Proof](https://a11oy.net) · [GitHub organization](https://github.com/szl-holdings)
|
|
29
|
+
<!-- /szl:header -->
|
|
30
|
+
|
|
31
|
+
`szl-vertical-forge` turns the eight audited vertical configurations into
|
|
32
|
+
deployable landing-page artifacts and recomputable build receipts. It is a
|
|
33
|
+
build tool, not a runtime or provider controller.
|
|
34
|
+
|
|
35
|
+
Each generated vertical contains:
|
|
36
|
+
|
|
37
|
+
- `index.html`, with a read-only runtime probe and a link to the governed
|
|
38
|
+
workbench at `/panels`;
|
|
39
|
+
- `build-receipt.json`, binding that index to its audited configuration and
|
|
40
|
+
the fleet receipt chain;
|
|
41
|
+
- fleet-level `RECEIPT.json`, a canonical-JSON SHA-256 chain starting from
|
|
42
|
+
64 zeroes and ending at `chain_tip`; the deterministic `master_hash` binds
|
|
43
|
+
that tip to the canonical receipt header (generator, algorithm, genesis,
|
|
44
|
+
config digest and vertical count), so a mutated header does not verify.
|
|
45
|
+
|
|
46
|
+
The browser reports `REACHABLE` only for a validated upstream response,
|
|
47
|
+
`PARTIAL` when some sources are unavailable, `STALE` for cached or aged
|
|
48
|
+
observations, `SAMPLE` or `MODELED` for non-live evidence, and `UNAVAILABLE`
|
|
49
|
+
for failed or malformed responses. The badge and detail panel come from the
|
|
50
|
+
same response. Reachability is never represented as a domain measurement,
|
|
51
|
+
authorization, deployment, or provider state.
|
|
52
|
+
|
|
53
|
+
## Audited verticals
|
|
54
|
+
|
|
55
|
+
killinchu · sentra · puriq · terra · lyte · counsel · finance · david-leads
|
|
56
|
+
|
|
57
|
+
The source configuration is
|
|
58
|
+
`src/szl_vertical_forge/verticals.json`. Every row includes explicit lineage:
|
|
59
|
+
the public field leader, the job that leader demonstrates, and the original
|
|
60
|
+
SZL adaptation. The forge copies no proprietary implementation.
|
|
61
|
+
|
|
62
|
+
Primary lineage sources are rendered into every generated shell and included
|
|
63
|
+
in its configuration digest:
|
|
64
|
+
|
|
65
|
+
- Killinchu: [Anduril's JIATF-401 Lattice announcement](https://www.anduril.com/news/jiatf-401-selects-lattice-as-enterprise-tactical-command-and-control-platform-for-c-uas)
|
|
66
|
+
- Sentra: [Credo AI Agent Registry](https://www.credo.ai/ai-agent-registry) and [Arthur observability documentation](https://docs.arthur.ai/docs/platform-ui)
|
|
67
|
+
- Terra: [Regrid MCP documentation](https://support.regrid.com/docs/mcp-server)
|
|
68
|
+
- Lyte: [Grafana's OpenTelemetry Collector documentation](https://grafana.com/docs/loki/latest/send-data/otel/otel-collector-getting-started/)
|
|
69
|
+
- Counsel: [Harvey](https://www.harvey.ai/) and [Thomson Reuters CoCounsel Legal](https://legal.thomsonreuters.com/en/products/cocounsel-legal)
|
|
70
|
+
- Finance: [QuantConnect LEAN](https://www.quantconnect.com/docs/v2/writing-algorithms/key-concepts/algorithm-engine) and [Riskfolio-Lib](https://riskfolio-lib.readthedocs.io/en/latest/)
|
|
71
|
+
- PURIQ and David Leads: their canonical SZL source repositories, because the
|
|
72
|
+
category claim is explicitly internal rather than attributed externally.
|
|
73
|
+
|
|
74
|
+
## Install, test, and generate
|
|
75
|
+
|
|
76
|
+
The test suite also requires Node.js on PATH to parse every generated browser script.
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
python -m pip install --no-build-isolation -e . "pytest==8.4.2"
|
|
80
|
+
python -m pytest tests/ -q
|
|
81
|
+
python -m szl_vertical_forge.forge generate --output-dir dist
|
|
82
|
+
python -m szl_vertical_forge.forge verify --output-dir dist
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Generate and verify only Terra when preparing its deployment payload:
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
python -m szl_vertical_forge.forge generate --vertical terra --output-dir build/terra
|
|
89
|
+
python -m szl_vertical_forge.forge verify --vertical terra --output-dir build/terra
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
`generate` exits nonzero unless every expected file is written and then
|
|
93
|
+
verified byte-for-byte. `verify` never repairs mismatches; missing or changed
|
|
94
|
+
bytes produce `INVALID` and a nonzero exit status.
|
|
95
|
+
|
|
96
|
+
## Operational boundary
|
|
97
|
+
|
|
98
|
+
The forge proves local deterministic generation and receipt-chain integrity.
|
|
99
|
+
It does not prove that a Space is deployed, healthy, source-aligned, or backed
|
|
100
|
+
by a real data provider. Deployment must preserve the vertical's existing
|
|
101
|
+
workbench at `/panels`, land through its protected source workflow, and then
|
|
102
|
+
verify the immutable provider revision plus live routes independently.
|
|
103
|
+
|
|
104
|
+
## License
|
|
105
|
+
|
|
106
|
+
Apache-2.0 — canonical organization text is referenced by `LICENSE`.
|
|
107
|
+
|
|
108
|
+
Estate on Hugging Face: models, datasets and Spaces are published under the [SZLHOLDINGS](https://huggingface.co/SZLHOLDINGS) org.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
szl_vertical_forge/__init__.py,sha256=HVZeHXOIerEP_uDO5Brn-d0uC5FfeZXzvyc-s07RaIw,1354
|
|
2
|
+
szl_vertical_forge/forge.py,sha256=C48EMVC4svJ6QRuS9_Q7ke2pF303su9AHzimP6oh8zk,29691
|
|
3
|
+
szl_vertical_forge/verticals.json,sha256=ynUktsx4M-nF_hW8ja_X99QAx5FEyz6v5MgTj2Njv8A,6494
|
|
4
|
+
szl_vertical_forge-0.2.3.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
5
|
+
szl_vertical_forge-0.2.3.dist-info/licenses/NOTICE,sha256=vg7yZ5OC3Nfcig06lMmwfV-1lpUyDmZpca4UAq-SYQA,48
|
|
6
|
+
szl_vertical_forge-0.2.3.dist-info/METADATA,sha256=I8R3iHjUp-7SpGDikc70iWHDkoqyUVtS3syMT_BkWA0,5320
|
|
7
|
+
szl_vertical_forge-0.2.3.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
8
|
+
szl_vertical_forge-0.2.3.dist-info/top_level.txt,sha256=zJ5lEZDGjsWECMKdsteAfKfvT-l5pKs9a6YK0S6y1Hw,19
|
|
9
|
+
szl_vertical_forge-0.2.3.dist-info/RECORD,,
|
|
@@ -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.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
szl_vertical_forge
|