-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
361 lines (350 loc) · 14.7 KB
/
Copy pathindex.html
File metadata and controls
361 lines (350 loc) · 14.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
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Deed | Review what an agent patch is allowed to do</title>
<meta
name="description"
content="Deed is a contract-first language and local review tool that catches new authority, weaker guarantees, and new runtime checks in agent-written patches."
/>
<link rel="icon" href="assets/brand/deed-cipher-favicon.ico" sizes="any" />
<link rel="apple-touch-icon" href="assets/brand/deed-cipher-180.png" />
<link rel="manifest" href="assets/brand/deed-cipher.webmanifest" />
<meta property="og:title" content="Deed | Review agent-written code" />
<meta
property="og:description"
content="See when a patch gains authority, weakens a guarantee, or moves a promise to runtime, even when its tests stay green."
/>
<meta
property="og:image"
content="https://deed-lang.github.io/assets/brand/deed-cipher-social-1280x640.png"
/>
<meta name="twitter:card" content="summary_large_image" />
<link
rel="preload"
as="font"
type="font/woff2"
href="assets/fonts/ia-writer-mono-latin-400-normal.woff2"
crossorigin
/>
<link
rel="preload"
as="font"
type="font/woff2"
href="assets/fonts/ia-writer-mono-latin-700-normal.woff2"
crossorigin
/>
<link rel="stylesheet" href="assets/style.css" />
</head>
<body class="wide home">
<div class="wrap">
<header class="site">
<div class="header-section">
<div class="header-frame">
<h1>
<a href="./"
><svg class="mark" viewBox="0 0 512 512" aria-hidden="true" focusable="false">
<path d="M176 116H104V396H176" fill="none" stroke="currentColor" stroke-width="56" />
<rect x="236" y="128" width="200" height="56" fill="#24d05a" />
<rect x="236" y="228" width="148" height="56" fill="#eb4888" />
<rect x="236" y="328" width="176" height="56" fill="#10a2f5" />
</svg
>Deed</a
>
</h1>
</div>
</div>
</header>
<nav class="site">
<a href="one-clause/">Why Deed</a>
<a href="learn/">Learn</a>
<a href="play/">Playground</a>
<a href="agents/">Agents</a>
<a href="errors/">Diagnostics</a>
<a href="install/">Install</a>
<a href="https://github.com/deed-lang/deed">Source</a>
</nav>
<main class="landing">
<section class="hero" aria-labelledby="hero-title">
<div class="hero-copy">
<p class="eyebrow">
<a href="https://github.com/deed-lang/deed/releases/tag/v0.2.13">Deed 0.2.13</a>
/ contract-first language
</p>
<h1 id="hero-title">Deed tells you when an agent patch gains power.</h1>
<p class="hero-lede">
Deed compares the checked contract before and after a patch. It
flags new authority, weaker guarantees, and new runtime checks
even when the tests stay green.
</p>
<div class="hero-actions" aria-label="Get started">
<a class="action primary" href="play/">Try in the browser</a>
<a class="action" href="install/">Install Deed</a>
</div>
<ul class="proof-strip" aria-label="Product properties">
<li>Runs locally</li>
<li>Works in CI</li>
<li>Available over MCP</li>
</ul>
</div>
<!--
This concise receipt is the same review-demo.json held by
tools/check.mjs against the pinned compiler. It is intentionally
smaller than the full JSON on the agents page: this is the human
decision, not a second implementation of the compiler's answer.
-->
<div class="receipt-shell" id="receipt">
<div class="receipt-bar">
<span>deed review</span>
<span class="receipt-policy">policy: blocked</span>
</div>
<div class="patch-lines" aria-label="Relevant patch lines">
<p class="removed">- uses Store.read</p>
<p class="added">+ uses Store.read, Store.write</p>
</div>
<div class="receipt-result">
<p class="receipt-status"><span aria-hidden="true"></span>Review blocked</p>
<dl>
<div>
<dt>New authority</dt>
<dd data-review-authority="Store.write">Store.write</dd>
</div>
<div>
<dt>Weaker promise</dt>
<dd data-review-tier="proven:guarded">proven -> guarded</dd>
</div>
<div>
<dt>Tests</dt>
<dd>may still pass</dd>
</div>
</dl>
</div>
<p class="receipt-foot">
Produced from the pinned Deed compiler.
<a href="agents/">Open the full receipt</a>.
</p>
</div>
</section>
<section class="landing-band signals" aria-labelledby="why-title">
<p class="eyebrow">Why Deed</p>
<h2 id="why-title">Make authority part of the program, not the reviewer's guess.</h2>
<div class="signal-grid">
<article>
<p class="signal-mark">01</p>
<h3>Explicit by construction</h3>
<p>
Effects live in signatures and capabilities live in values. A
function cannot quietly reach beyond either one.
</p>
</article>
<article>
<p class="signal-mark">02</p>
<h3>Contracts that do work</h3>
<p>
A promise is proven, turned into generated tests, guarded at
runtime, or refused with the reason it could not go higher.
</p>
</article>
<article>
<p class="signal-mark">03</p>
<h3>Evidence for change</h3>
<p>
Review compares checked trees, so new authority and weaker
guarantees stay visible even when tests still pass.
</p>
</article>
</div>
</section>
<section class="landing-band uses" aria-labelledby="uses-title">
<div>
<p class="eyebrow">Use Deed for</p>
<h2 id="uses-title">The boundary where generated code meets real authority.</h2>
</div>
<div class="use-grid">
<article>
<span class="use-index">01 / review</span>
<div>
<h3>Review an agent patch</h3>
<p>See authority additions, tier regressions, and new runtime obligations.</p>
<a href="agents/">Open the review receipt</a>
</div>
</article>
<article>
<span class="use-index">02 / capabilities</span>
<div>
<h3>Bound side effects</h3>
<p>Pass filesystem, store, clock, and service access as explicit values.</p>
<a href="one-clause/">Follow one boundary</a>
</div>
</article>
<article>
<span class="use-index">03 / contracts</span>
<div>
<h3>Generate the test</h3>
<p>Turn a contract into reproducible property cases without writing a test.</p>
<a href="play/">Open the contract examples</a>
</div>
</article>
<article>
<span class="use-index">04 / components</span>
<div>
<h3>Embed checked code</h3>
<p>Build a WebAssembly component and call it from a capability-holding host.</p>
<a href="https://github.com/deed-lang/deed/blob/v0.2.13/how-to/embed-a-compiled-program.md"
>Read the host guide</a
>
</div>
</article>
</div>
</section>
<section class="landing-band toolchain" aria-labelledby="tools-title">
<div class="toolchain-heading">
<p class="eyebrow">One binary</p>
<h2 id="tools-title">From the first check to editor, CI, and agent.</h2>
<p>
Each surface asks the same compiler. No second policy engine and
no service account between the source and the answer.
</p>
</div>
<div class="tool-surface" aria-label="Deed tools">
<div class="tool-bar">
<span>deed / local toolchain</span>
<span>v0.2.13</span>
</div>
<a class="tool-row" href="https://github.com/deed-lang/deed/blob/v0.2.13/how-to/check-a-file-or-module-set.md">
<code>deed check</code>
<span>Types, effects, capabilities, and contracts</span>
<small>before runtime</small>
</a>
<a class="tool-row" href="https://github.com/deed-lang/deed/blob/v0.2.13/how-to/write-and-run-tests.md">
<code>deed test</code>
<span>Written tests and generated properties</span>
<small>replayable seeds</small>
</a>
<a class="tool-row" href="https://github.com/deed-lang/deed/blob/v0.2.13/how-to/review-an-agent-patch-in-ci.md">
<code>deed review</code>
<span>Before-and-after authority evidence</span>
<small>independent gates</small>
</a>
<a class="tool-row" href="https://github.com/deed-lang/deed/blob/v0.2.13/how-to/format-code.md">
<code>deed fmt / fix</code>
<span>Formatting and machine-applicable repairs</span>
<small>preview first</small>
</a>
<a class="tool-row" href="https://github.com/deed-lang/deed/blob/v0.2.13/how-to/use-deed-in-an-editor.md">
<code>deed lsp / dap</code>
<span>Editor feedback and protocol debugging</span>
<small>VS Code included</small>
</a>
<a class="tool-row" href="agents/">
<code>deed build / mcp</code>
<span>WebAssembly components and seven local agent tools</span>
<small>one compiler</small>
</a>
</div>
</section>
<section class="landing-band language" aria-labelledby="language-title">
<div class="language-copy">
<p class="eyebrow">Underneath the receipt</p>
<h2 id="language-title">A small language, not another policy file.</h2>
<p>
Deed checks types, effects, capabilities, contracts, and the code
that must satisfy them. Nothing is ambient. If a function can
touch the filesystem, the filesystem appears in its inputs and
the operation appears in its signature.
</p>
<a href="one-clause/">See one clause become a boundary</a>
</div>
<pre class="code language-sample"><code>fn keep(files: Dir, name: String, text: String)
-> Result<(), String>
<b>uses Io.read,</b>
{
match Io.read(files, name) {
ok(_) => ok(()),
err(_) => <span class="d-error">Io.save</span>(files, name, text),
}
}
<span class="d-error">error[DEED5001]</span>: `keep` performs `Io.save`
without declaring it</code></pre>
</section>
<section class="landing-band learning" aria-labelledby="learning-title">
<div>
<p class="eyebrow">Learn Deed</p>
<h2 id="learning-title">Choose the shortest route to a real answer.</h2>
</div>
<nav class="learning-routes" aria-label="Learning routes">
<a href="one-clause/">
<span>01</span>
<strong>Five minutes</strong>
<small>One clause, one refused effect, one repair.</small>
</a>
<a href="play/">
<span>02</span>
<strong>No installation</strong>
<small>Edit, check, run, test, and format in the browser.</small>
</a>
<a href="learn/">
<span>03</span>
<strong>Build along</strong>
<small>Tutorial, references, integrations, and task guides.</small>
</a>
</nav>
</section>
<section class="landing-band project" aria-labelledby="project-title">
<div class="project-copy">
<p class="eyebrow">Project record</p>
<h2 id="project-title">Open source, versioned, and written down.</h2>
<p>
The compiler, examples, release artifacts, design decisions, and
contribution process are public. The site adds no analytics or
account layer around them.
</p>
</div>
<div class="project-links">
<a href="https://github.com/deed-lang/deed/releases/tag/v0.2.13">
<span>Current release</span><strong>v0.2.13</strong>
</a>
<a href="https://github.com/deed-lang/deed/blob/main/ROADMAP.md">
<span>Direction</span><strong>Roadmap</strong>
</a>
<a href="https://github.com/deed-lang/deed/blob/main/SECURITY.md">
<span>Report a problem</span><strong>Security</strong>
</a>
<a href="https://github.com/deed-lang/deed/blob/main/CONTRIBUTING.md">
<span>Work with us</span><strong>Contributing</strong>
</a>
</div>
</section>
</main>
<footer class="site landing-footer">
<div class="footer-grid">
<div>
<strong>Learn</strong>
<a href="learn/">Start here</a>
<a href="play/">Playground</a>
<a href="errors/">Diagnostics</a>
</div>
<div>
<strong>Build</strong>
<a href="install/">Install</a>
<a href="agents/">For agents</a>
<a href="https://github.com/deed-lang/deed/tree/v0.2.13/examples">Examples</a>
</div>
<div>
<strong>Project</strong>
<a href="https://github.com/deed-lang/deed">Source</a>
<a href="https://github.com/deed-lang/deed/releases">Releases</a>
<a href="https://github.com/deed-lang/deed/blob/main/CODE_OF_CONDUCT.md"
>Code of conduct</a
>
</div>
</div>
<p class="footer-note">
MIT OR Apache-2.0. No analytics, cookies, accounts, or third-party requests.
</p>
</footer>
</div>
<script src="assets/color.js"></script>
</body>
</html>