-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
332 lines (323 loc) · 12.7 KB
/
Copy pathindex.html
File metadata and controls
332 lines (323 loc) · 12.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#0b1020">
<title>Cassian Gate</title>
<meta name="description" content="A deterministic validation gate for network changes. Runs your proposed change in a controlled environment, asserts behavior, and returns PASS or FAIL.">
<link rel="canonical" href="https://cassiangate.dev/">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<meta property="og:title" content="Cassian Gate">
<meta property="og:site_name" content="Cassian Gate">
<meta property="og:description" content="A deterministic validation gate for network changes. Runs your proposed change in a controlled environment, asserts behavior, and returns PASS or FAIL.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://cassiangate.dev/">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Cassian Gate">
<meta name="twitter:description" content="A deterministic validation gate for network changes.">
<style>
:root {
--bg: #0b1020;
--text: #e8ecf8;
--muted: #8b96b5;
--accent: #7cc4ff;
--border: #1f2942;
--code: #070b1a;
--pass: #4ade80;
--fail: #f87171;
--warn: #fbbf24;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
font-family: "IBM Plex Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background: var(--bg);
color: var(--text);
line-height: 1.65;
font-size: 15px;
}
code, pre, .mono {
font-family: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.wrap {
max-width: 780px;
margin: 0 auto;
padding: 64px 24px 80px;
}
header {
margin-bottom: 48px;
}
.tag {
display: inline-block;
font-family: "JetBrains Mono", ui-monospace, monospace;
font-size: 0.78rem;
color: var(--muted);
letter-spacing: 0.04em;
margin-bottom: 22px;
}
.tag a {
color: var(--accent);
text-decoration: none;
}
.tag a:hover { text-decoration: underline; }
h1 {
font-size: 2rem;
line-height: 1.2;
margin: 0 0 14px;
font-weight: 600;
letter-spacing: -0.015em;
}
.subhead {
font-size: 1.05rem;
line-height: 1.5;
color: var(--text);
margin: 0 0 18px;
font-weight: 500;
max-width: 640px;
}
.lede {
font-size: 1rem;
color: var(--muted);
margin: 0;
max-width: 640px;
}
.lede strong {
color: var(--text);
font-weight: 500;
}
section {
margin: 40px 0;
}
h2 {
font-size: 0.78rem;
font-family: "JetBrains Mono", ui-monospace, monospace;
text-transform: uppercase;
letter-spacing: 0.14em;
color: var(--muted);
margin: 0 0 14px;
font-weight: 500;
}
pre {
margin: 0;
padding: 16px 18px;
background: var(--code);
border: 1px solid var(--border);
border-radius: 6px;
overflow-x: auto;
color: var(--text);
font-size: 0.9rem;
line-height: 1.5;
}
.output {
background: var(--code);
border: 1px solid var(--border);
border-radius: 6px;
padding: 18px 20px;
overflow-x: auto;
font-family: "JetBrains Mono", ui-monospace, monospace;
font-size: 0.82rem;
line-height: 1.55;
color: var(--text);
white-space: pre;
}
.output .pass { color: var(--pass); font-weight: 600; }
.output .fail { color: var(--fail); font-weight: 600; }
.output .dim { color: var(--muted); }
.output .label { color: var(--accent); }
.caption {
font-size: 0.85rem;
color: var(--muted);
margin: 10px 0 0;
}
.note {
font-size: 0.9rem;
color: var(--muted);
margin: 12px 0 0;
}
.note code {
background: var(--code);
padding: 2px 6px;
border-radius: 4px;
font-size: 0.85rem;
border: 1px solid var(--border);
}
ul.plain {
padding: 0;
margin: 0;
list-style: none;
}
ul.plain li {
padding: 12px 0;
border-bottom: 1px solid var(--border);
}
ul.plain li:last-child { border-bottom: none; }
ul.plain li strong {
color: var(--text);
font-weight: 500;
}
ul.plain li span {
color: var(--muted);
}
.scope {
border-left: 2px solid var(--warn);
padding: 4px 18px;
margin: 0;
}
.scope p {
margin: 0;
font-size: 0.92rem;
color: var(--muted);
}
.scope p + p {
margin-top: 10px;
}
.scope p strong {
color: var(--text);
font-weight: 500;
}
a {
color: var(--accent);
text-decoration: none;
}
a:hover { text-decoration: underline; }
.links {
display: flex;
flex-wrap: wrap;
gap: 22px;
}
.links a {
font-family: "JetBrains Mono", ui-monospace, monospace;
font-size: 0.88rem;
}
footer {
border-top: 1px solid var(--border);
padding-top: 24px;
margin-top: 64px;
font-size: 0.82rem;
color: var(--muted);
font-family: "JetBrains Mono", ui-monospace, monospace;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--accent); }
@media (max-width: 600px) {
.wrap { padding: 40px 18px 60px; }
h1 { font-size: 1.6rem; }
.subhead { font-size: 0.98rem; }
.lede { font-size: 0.95rem; }
.output { font-size: 0.76rem; padding: 14px 16px; }
pre { font-size: 0.85rem; }
}
</style>
</head>
<body>
<main class="wrap">
<header>
<div class="tag">v2.1 · <a href="https://github.com/cassian-gate/cassian-gate/releases/tag/v2.1.0">release notes</a> · <a href="https://docs.cassiangate.dev/latest/">docs</a></div>
<h1>Cassian Gate</h1>
<p class="subhead">A deterministic validation gate for network changes</p>
<p class="lede">
Runs your proposed change in a controlled environment, asserts real network behavior, and returns <strong>PASS</strong> or <strong>FAIL</strong> — with auditable artifacts you can attach to a PR or CI job.
</p>
<p class="release-banner" style="margin-top: 14px; padding: 10px 14px; background: rgba(124, 196, 255, 0.08); border-left: 2px solid var(--accent); border-radius: 4px; font-size: 0.95rem;">
<strong>New — v2.1 is out:</strong> actionable failure output, user-defined invariants, +2 BGP invariants. <a href="https://docs.cassiangate.dev/latest/blog/v2-1-release/">What's new →</a>
</p>
</header>
<section>
<h2>Example run</h2>
<div class="output"><span class="dim">$ cassian test topologies/first-run-proof-minimal.yaml</span>
<span class="dim">MODE: GATE | AUTHORITATIVE: YES | CLEAN-STATE: YES | DESTROY: YES | LIFECYCLE: RESOLVE>GENERATE>DEPLOY>PROVISION>TEST>COLLECT>DESTROY</span>
<span class="dim">NOTICE: This run may require sudo for container networking.</span>
<span class="dim">────────────────────────────────────────</span>
<span class="label">Cassian Gate Result</span>
<span class="dim">────────────────────────────────────────</span>
Lab: first-run-proof-minimal
Authority: GATE (authoritative)
Mode: gate (clean-state topology)
Prereqs executed: 0
Declared tests executed: 1
Scenarios executed: 0
Execution: full lifecycle through test (collect+destroy still executed)
<span class="pass">RESULT: PASS</span>
Tests:
- <span class="pass">PASS</span> h1_tcp_8443_to_h2_pass
TOTAL: 1
PASS: 1
FAIL: 0
SKIP: 0
EXIT: 0
<span class="pass">✅ Declared tests PASS (1 checks)</span>
<span class="pass">✅ TEST PASS: containers running + checks OK</span>
<span class="dim">Lab: first-run-proof-minimal
Action: destroy runtime
RESULT: DESTROYED
OK first-run-proof-minimal: destroyed
Lab lifecycle: DESTROYED</span>
<span class="dim">Artifacts: labs/clab-first-run-proof-minimal/
- topology.resolved.yaml (generated execution model used for execution; non-authoritative)
- results.json (authoritative verdict artifact)
- results.summary.txt (human-readable summary only; non-authoritative)</span></div>
<p class="caption">Every run writes <code>results.json</code>. That file is the authoritative artifact — not the terminal output.</p>
<p class="note">Run from a clone of the repository (see <a href="#try-it">Try it</a> below) — <code>topologies/</code> ships in the repo, not the <code>pipx</code> wheel.</p>
</section>
<section>
<h2>Install</h2>
<pre>pipx install cassian-gate</pre>
</section>
<section>
<h2 id="try-it">Try it</h2>
<pre>git clone https://github.com/cassian-gate/cassian-gate.git
cd cassian-gate
cassian doctor
cassian test topologies/first-run-proof-minimal.yaml</pre>
<p class="note">First run pulls container images (about 500 MB) and may take several minutes. Subsequent runs complete in under a minute on the proof topologies.</p>
<p class="note">To see the gate catch a real failure: <code>cassian test topologies/first-run-proof-fail-catching.yaml</code></p>
</section>
<section>
<h2>What it does</h2>
<ul class="plain">
<li><strong>Behavior, not config text.</strong> <span>Boots your topology, runs your change, asserts what actually happens — BGP sessions, route propagation, policy, reachability, failover.</span></li>
<li><strong>Deterministic verdicts.</strong> <span>Binary PASS/FAIL. Clean exit codes. No risk scores, no "probably fine," no AI deciding whether your change is safe.</span></li>
<li><strong>CI-safe by design.</strong> <span>Clean-state execution. Authoritative artifacts. Drops into GitHub Actions or GitLab CI as a single job.</span></li>
<li><strong>Catches real failures.</strong> <span>Route leaks, policy misconfigs, failover bugs, convergence issues, grey failures like packet loss and latency.</span></li>
</ul>
</section>
<section>
<h2>Latest release — v2.1</h2>
<ul class="plain">
<li><strong>Actionable failure output, guaranteed.</strong> <span>Every failed invariant now renders the observed state that made it fail; every rejected input says what was wrong, where, and what would be valid — straight from the deterministic engine, no AI surface required.</span></li>
<li><strong>User-defined invariants.</strong> <span>Declare your own check as a read-only command plus a typed assertion, run through the same verdict machinery as a built-in.</span></li>
<li><strong>More BGP coverage.</strong> <span>New <code>bgp_community</code> and <code>bgp_as_path</code> invariants bring the built-in catalog to fifteen types.</span></li>
<li><strong>Tagged runs, audit-grade evidence, brownfield importer.</strong> <span>Selective execution with <code>cassian test --tag</code>, tamper-checkable <code>results.json</code> fields, and an offline first-importer for NetBox-derived topologies.</span></li>
</ul>
<p class="note">Full write-up: <a href="https://docs.cassiangate.dev/latest/blog/v2-1-release/">What's new in v2.1 →</a></p>
</section>
<section>
<h2>Scope — v2</h2>
<div class="scope">
<p>
<strong>Cassian Gate v2 validates FRR-based topologies — FRR plus host and firewall nodes.</strong> The engine is runtime-agnostic by design; <strong>SONiC is the next NOS (Phase 2)</strong>, scoped by a strategic reassessment before it begins.
</p>
<p>
Cassian Gate does not auto-remediate, does not replace monitoring, does not run against live infrastructure, and does not use AI for pass/fail decisions. AI is advisory only.
</p>
</div>
</section>
<section>
<h2>Links</h2>
<div class="links">
<a href="https://github.com/cassian-gate/cassian-gate">GitHub repository →</a>
<a href="https://docs.cassiangate.dev/latest/">Documentation →</a>
<a href="https://docs.cassiangate.dev/latest/quickstart/">Getting started →</a>
<a href="https://docs.cassiangate.dev/latest/blog/v2-1-release/">v2.1 release post →</a>
<a href="https://docs.cassiangate.dev/latest/scope-discipline/">Scope discipline →</a>
<a href="https://github.com/cassian-gate/cassian-gate/discussions">Discussions →</a>
</div>
</section>
<footer>
cassiangate.dev · <a href="https://github.com/cassian-gate/cassian-gate">source</a>
</footer>
</main>
</body>
</html>