egzoscore 0.2.0__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.
- egzos/__init__.py +11 -0
- egzos/_ids.py +29 -0
- egzos/_signals.py +39 -0
- egzos/_term.py +33 -0
- egzos/_types.py +1023 -0
- egzos/api/__init__.py +150 -0
- egzos/api/app.py +1574 -0
- egzos/api/blobs.py +92 -0
- egzos/api/throttle.py +190 -0
- egzos/auth.py +176 -0
- egzos/authz/__init__.py +5 -0
- egzos/authz/presence.py +778 -0
- egzos/authz/values.py +32 -0
- egzos/backends/__init__.py +8 -0
- egzos/backends/base.py +91 -0
- egzos/backends/postgres.py +490 -0
- egzos/backends/sqlite.py +524 -0
- egzos/binding.py +309 -0
- egzos/cli/__init__.py +1092 -0
- egzos/cli/__main__.py +11 -0
- egzos/confirm.py +455 -0
- egzos/container.py +222 -0
- egzos/identity.py +1104 -0
- egzos/ledger.py +167 -0
- egzos/mcp/__init__.py +3 -0
- egzos/mcp/http.py +90 -0
- egzos/mcp/server.py +287 -0
- egzos/model.py +242 -0
- egzos/py.typed +0 -0
- egzos/resolver.py +115 -0
- egzos/store/__init__.py +10 -0
- egzos/store/autotitle.py +31 -0
- egzos/store/blobs.py +120 -0
- egzos/store/find.py +120 -0
- egzos/store/items.py +233 -0
- egzos/store/nodes.py +193 -0
- egzos/store/objects.py +143 -0
- egzos/store/uploads.py +369 -0
- egzos/trust.py +675 -0
- egzos/web/__init__.py +88 -0
- egzos/web/app.py +965 -0
- egzos/web/static/htmx.LICENSE +13 -0
- egzos/web/static/htmx.min.js +1 -0
- egzos/web/static/lifeboat.css +140 -0
- egzos/web/static/lifeboat.js +12 -0
- egzos/web/strings.py +133 -0
- egzos/web/templates/_manifest_row.html +3 -0
- egzos/web/templates/_shell.html +29 -0
- egzos/web/templates/_window.html +7 -0
- egzos/web/templates/base.html +24 -0
- egzos/web/templates/error.html +10 -0
- egzos/web/templates/home.html +39 -0
- egzos/web/templates/item.html +91 -0
- egzos/web/templates/notfound.html +6 -0
- egzos/web/templates/pending.html +107 -0
- egzos/web/tokens.css +294 -0
- egzoscore-0.2.0.dist-info/METADATA +135 -0
- egzoscore-0.2.0.dist-info/RECORD +62 -0
- egzoscore-0.2.0.dist-info/WHEEL +4 -0
- egzoscore-0.2.0.dist-info/entry_points.txt +2 -0
- egzoscore-0.2.0.dist-info/licenses/LICENSE +65 -0
- egzoscore-0.2.0.dist-info/licenses/NOTICE +6 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
{#- Copyright 2026 Ali Sasanian -#}
|
|
2
|
+
{#- SPDX-License-Identifier: LicenseRef-PolyForm-Strict-1.0.0 -#}
|
|
3
|
+
{% extends "base.html" %}
|
|
4
|
+
{% block body %}
|
|
5
|
+
<main>
|
|
6
|
+
<p class="ref"><span title="{{ item.id }}">{{ ref }}</span> <code class="sr">{{ item.id }}</code></p>
|
|
7
|
+
<h1 tabindex="-1" autofocus{% if untitled %} class="ink-3"{% endif %}>{{ heading }}</h1>
|
|
8
|
+
{%- set where = around("item.scope", "scope", ring=ring) if ring else around("item.scope.root", "scope") %}
|
|
9
|
+
<p class="where">{{ where[0] }}<a href="/?q=scope:{{ scope | urlencode }}"><code>{{ scope }}</code></a>{{ where[1] }}{% if engine %} · {{ t("item.titled", engine=engine) }}{% endif %} <span class="stamp stamp--{{ item.status }}">{{ item.status }}</span></p>
|
|
10
|
+
|
|
11
|
+
<section>
|
|
12
|
+
<h2>{{ S["section.content"] }}</h2>
|
|
13
|
+
{%- if artifact %}
|
|
14
|
+
<table class="meta-table">
|
|
15
|
+
<tr><th scope="row">{{ S["meta.filename"] }}</th><td><code>{{ artifact.filename or S["prov.null"] }}</code></td></tr>
|
|
16
|
+
<tr><th scope="row">{{ S["meta.size"] }}</th><td>{{ artifact.size }}</td></tr>
|
|
17
|
+
<tr><th scope="row">{{ S["meta.mime"] }}</th><td><code>{{ artifact.mime }}</code></td></tr>
|
|
18
|
+
<tr><th scope="row">{{ S["meta.sha"] }}</th><td><code>{{ artifact.sha }}</code></td></tr>
|
|
19
|
+
</table>
|
|
20
|
+
{%- if body %}<pre class="body" aria-label="Body">{{ body }}{% if cut %}…{% endif %}</pre>{% endif %}
|
|
21
|
+
{%- elif body %}
|
|
22
|
+
<pre class="body" aria-label="Body">{{ body }}{% if cut %}…{% endif %}</pre>
|
|
23
|
+
{%- else %}
|
|
24
|
+
<p class="ink-3">{{ S["content.empty"] }}</p>
|
|
25
|
+
{%- endif %}
|
|
26
|
+
{%- if cut %}
|
|
27
|
+
<p><a href="/items/{{ item.id }}?full=1">{{ S["content.more"] }}</a></p>
|
|
28
|
+
{%- endif %}
|
|
29
|
+
</section>
|
|
30
|
+
|
|
31
|
+
<section>
|
|
32
|
+
<h2>{{ S["section.provenance"] }}</h2>
|
|
33
|
+
<dl>
|
|
34
|
+
{%- for label, value in prov %}
|
|
35
|
+
<dt>{{ label }}</dt>
|
|
36
|
+
<dd>{% if label == "derived from" and derived_link %}<a href="/items/{{ derived_link }}"><code>{{ value }}</code></a>{% elif value %}<code>{{ value }}</code>{% else %}{{ S["prov.null"] }}{% endif %}</dd>
|
|
37
|
+
{%- endfor %}
|
|
38
|
+
</dl>
|
|
39
|
+
</section>
|
|
40
|
+
|
|
41
|
+
<section>
|
|
42
|
+
<h2>{{ S["section.trust"] }}</h2>
|
|
43
|
+
<dl>
|
|
44
|
+
{#- §3.4: the status stamp, plus for verified the trust.promoted line itself, unlabelled #}
|
|
45
|
+
<dt>{{ S["dl.status"] }}</dt><dd><span class="stamp stamp--{{ item.status }}">{{ item.status }}</span>{% if promoted %} {{ promoted }}{% endif %}</dd>
|
|
46
|
+
</dl>
|
|
47
|
+
</section>
|
|
48
|
+
|
|
49
|
+
<section>
|
|
50
|
+
<h2>{{ S["section.lifecycle"] }}</h2>
|
|
51
|
+
<dl>
|
|
52
|
+
{%- for label, value in life %}
|
|
53
|
+
<dt>{{ label }}</dt><dd>{{ value }}</dd>
|
|
54
|
+
{%- endfor %}
|
|
55
|
+
</dl>
|
|
56
|
+
</section>
|
|
57
|
+
|
|
58
|
+
<section>
|
|
59
|
+
<h2>{{ S["section.tags"] }}</h2>
|
|
60
|
+
<dl>
|
|
61
|
+
<dt>{{ S["dl.tags"] }}</dt><dd>{% if tags %}{% for tag in tags %}<code>#{{ tag }}</code> {% endfor %}{% else %}<span class="ink-3">{{ S["prov.null"] }}</span>{% endif %}</dd>
|
|
62
|
+
<dt>{{ S["dl.key"] }}</dt><dd>{% if key %}<code>{{ key }}</code>{% else %}{{ S["prov.null"] }}{% endif %}</dd>
|
|
63
|
+
</dl>
|
|
64
|
+
</section>
|
|
65
|
+
|
|
66
|
+
{#- lifeboat.md §18: with htmx the form posts in place and the acts block is swapped; in flight
|
|
67
|
+
(R9) the button reads Promoting…, every act is disabled and the block is aria-busy. Without
|
|
68
|
+
JS the same form posts the whole page. An armed block lapses back after its 10 s. #}
|
|
69
|
+
<section class="acts" id="acts" data-acts{% if arm %} hx-get="/items/{{ item.id }}" hx-trigger="load delay:{{ refresh or 10 }}s" hx-select="#acts" hx-target="this" hx-swap="outerHTML"{% endif %}>
|
|
70
|
+
{%- if message %}
|
|
71
|
+
<p class="outcome{% if message[0] in ('error', 'lapsed') %} alarm-text{% endif %}" role="status">{{ message[1] }}</p>
|
|
72
|
+
{%- endif %}
|
|
73
|
+
{%- if can_promote %}
|
|
74
|
+
<form method="post" action="/items/{{ item.id }}/promote" hx-post="/items/{{ item.id }}/promote" hx-target="#acts" hx-select="#acts" hx-swap="outerHTML" hx-indicator="#acts" hx-disabled-elt="#acts button">
|
|
75
|
+
<input type="hidden" name="csrf" value="{{ csrf }}">
|
|
76
|
+
<input type="hidden" name="version" value="{{ version }}">
|
|
77
|
+
{%- if arm %}
|
|
78
|
+
<input type="hidden" name="arm" value="{{ arm }}">
|
|
79
|
+
<button class="act"><span class="idle">{{ S["act.promote.confirm"] }}</span><span class="busy">{{ S["act.promote.inflight"] }}</span></button>
|
|
80
|
+
<span class="sr" aria-live="polite">{{ S["act.promote.sr"] }}</span>
|
|
81
|
+
{%- else %}
|
|
82
|
+
<button class="act"><span class="idle">{{ S["act.promote"] }}</span><span class="busy">{{ S["act.promote.inflight"] }}</span></button>
|
|
83
|
+
{%- endif %}
|
|
84
|
+
</form>
|
|
85
|
+
{%- endif %}
|
|
86
|
+
{%- if artifact %}
|
|
87
|
+
<a class="ghost" href="/items/{{ item.id }}/download">{{ S["content.download"] }}</a>
|
|
88
|
+
{%- endif %}
|
|
89
|
+
</section>
|
|
90
|
+
</main>
|
|
91
|
+
{% endblock %}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
{#- Copyright 2026 Ali Sasanian -#}
|
|
2
|
+
{#- SPDX-License-Identifier: LicenseRef-PolyForm-Strict-1.0.0 -#}
|
|
3
|
+
{% extends "base.html" %}
|
|
4
|
+
{% block body %}
|
|
5
|
+
<div class="pending">
|
|
6
|
+
<nav aria-label="Pending" class="queue">
|
|
7
|
+
<h2>{{ S["queue.title"] }}{% if rows %} <span>{{ t("queue.count", n=rows | length) }}</span>{% endif %}</h2>
|
|
8
|
+
{%- if rows or notices %}
|
|
9
|
+
<ul>
|
|
10
|
+
{%- for r in rows %}
|
|
11
|
+
<li><a href="/pending/{{ r.id }}"{% if r.id == open_id %} aria-current="true" class="open"{% endif %}><span class="kind">{{ r.label }}</span><span class="title">{{ r.title }}</span><span class="meta">{{ r.meta }}</span></a></li>
|
|
12
|
+
{%- endfor %}
|
|
13
|
+
{#- Quarantine notices, pinned at the end (the tap spec §3.1, R3): the only red in the queue. #}
|
|
14
|
+
{%- for n in notices %}
|
|
15
|
+
<li class="notice"><span class="kind alarm">{{ S["kind.quarantine"] }}</span><span class="title">{{ n.title }}</span><span class="meta">{{ n.meta }}</span></li>
|
|
16
|
+
{%- endfor %}
|
|
17
|
+
</ul>
|
|
18
|
+
{%- endif %}
|
|
19
|
+
{%- if not rows %}
|
|
20
|
+
<p>{{ S["queue.empty"] }}</p>
|
|
21
|
+
{%- endif %}
|
|
22
|
+
</nav>
|
|
23
|
+
<main aria-label="Proposal">
|
|
24
|
+
{%- if message and not detail %}
|
|
25
|
+
<p class="outcome{% if message[0] in ('error', 'lapsed') %} alarm-text{% endif %}" role="status">{{ message[1] }}</p>
|
|
26
|
+
{%- endif %}
|
|
27
|
+
{%- if detail %}
|
|
28
|
+
<p class="ref">{{ detail.ref }}</p>
|
|
29
|
+
<h1 tabindex="-1" autofocus>{{ detail.title }}</h1>
|
|
30
|
+
<blockquote class="reason"><cite>{{ t("reason.attr", who=detail.who) }}</cite>
|
|
31
|
+
{%- if detail.reason_cut %} “{{ detail.reason_cut }}…”<details><summary>{{ S["reason.more"] }}</summary><p>“{{ detail.reason }}”</p></details>
|
|
32
|
+
{%- elif detail.reason %} “{{ detail.reason }}”
|
|
33
|
+
{%- else %} <span class="ink-3">{{ S["reason.none"] }}</span>{% endif %}
|
|
34
|
+
</blockquote>
|
|
35
|
+
|
|
36
|
+
<section>
|
|
37
|
+
<h2>{{ S["section.moves"] }}</h2>
|
|
38
|
+
<table>
|
|
39
|
+
<thead><tr><th scope="col">kind</th><th scope="col">item</th><th scope="col">trust now</th><th scope="col">after move</th></tr></thead>
|
|
40
|
+
<tbody>
|
|
41
|
+
{%- for r in detail.moves %}
|
|
42
|
+
{% include "_manifest_row.html" %}
|
|
43
|
+
{%- endfor %}
|
|
44
|
+
</tbody>
|
|
45
|
+
</table>
|
|
46
|
+
{%- if detail.more_moves %}
|
|
47
|
+
<details><summary>+ {{ detail.more_moves | length }} more</summary><table><tbody>
|
|
48
|
+
{%- for r in detail.more_moves %}
|
|
49
|
+
{% include "_manifest_row.html" %}
|
|
50
|
+
{%- endfor %}
|
|
51
|
+
</tbody></table></details>
|
|
52
|
+
{%- endif %}
|
|
53
|
+
</section>
|
|
54
|
+
|
|
55
|
+
<section>
|
|
56
|
+
<h2>{{ t("section.audience", destination=detail.dest) }}</h2>
|
|
57
|
+
<p>{{ detail.count }}</p>
|
|
58
|
+
<ul class="chips" aria-label="Audience">
|
|
59
|
+
{%- for a in detail.chips %}
|
|
60
|
+
<li>{% if a.principal == "interactive" %}{{ a.owner }}{% else %}agent:{{ a.client }}{% endif %} · {{ a.role }}</li>
|
|
61
|
+
{%- endfor %}
|
|
62
|
+
</ul>
|
|
63
|
+
{%- if detail.more_chips %}
|
|
64
|
+
<details><summary>+ {{ detail.more_chips | length }} more</summary><ul class="chips">
|
|
65
|
+
{%- for a in detail.more_chips %}
|
|
66
|
+
<li>{% if a.principal == "interactive" %}{{ a.owner }}{% else %}agent:{{ a.client }}{% endif %} · {{ a.role }}</li>
|
|
67
|
+
{%- endfor %}
|
|
68
|
+
</ul></details>
|
|
69
|
+
{%- endif %}
|
|
70
|
+
{%- if detail.consequence %}
|
|
71
|
+
<div class="box"><p>{{ detail.consequence }}</p></div>
|
|
72
|
+
{%- endif %}
|
|
73
|
+
</section>
|
|
74
|
+
|
|
75
|
+
<section role="region" aria-labelledby="presence-h" class="box" id="presence" data-acts{% if detail.arm %} hx-get="/pending/{{ detail.id }}" hx-trigger="load delay:{{ refresh or 10 }}s" hx-select="#presence" hx-target="this" hx-swap="outerHTML"{% endif %}>
|
|
76
|
+
<h2 id="presence-h">{{ S["section.presence"] }}</h2>
|
|
77
|
+
{%- if message %}
|
|
78
|
+
<p class="outcome{% if message[0] in ('error', 'lapsed') %} alarm-text{% endif %}" role="status">{{ message[1] }}</p>
|
|
79
|
+
{%- endif %}
|
|
80
|
+
{#- R9 error and lapsed revert to ready: the red line, and the acts again. #}
|
|
81
|
+
{%- if not message or message[0] in ('error', 'lapsed') %}
|
|
82
|
+
<p>{{ detail.presence }}</p>
|
|
83
|
+
{%- if detail.terms %}<p class="mono">{{ detail.terms }}</p>{% endif %}
|
|
84
|
+
{% include "_window.html" %}
|
|
85
|
+
<form method="post" action="/pending/{{ detail.id }}" class="acts" hx-post="/pending/{{ detail.id }}" hx-target="#presence" hx-select="#presence" hx-swap="outerHTML" hx-indicator="#presence" hx-disabled-elt="#presence button">
|
|
86
|
+
<input type="hidden" name="csrf" value="{{ detail.csrf }}">
|
|
87
|
+
{%- if detail.blocked %}
|
|
88
|
+
<p class="alarm-line" role="status">{{ detail.blocked }}</p>
|
|
89
|
+
{%- elif detail.arm %}
|
|
90
|
+
<input type="hidden" name="arm" value="{{ detail.arm.token }}">
|
|
91
|
+
<input type="hidden" name="mode" value="{{ detail.arm.mode }}">
|
|
92
|
+
<button class="act" name="step" value="confirm"><span class="idle">{{ S["act.confirm"] }}</span><span class="busy">{{ S["act.inflight"] }}</span></button>
|
|
93
|
+
<span class="sr" aria-live="polite">{{ S["act.confirm.sr"] }}</span>
|
|
94
|
+
{%- else %}
|
|
95
|
+
<button class="act" name="step" value="arm"><span class="idle">{{ S["act.sign"] }}</span><span class="busy">{{ S["act.inflight"] }}</span></button>
|
|
96
|
+
{%- endif %}
|
|
97
|
+
<button name="step" value="deny">{{ S["act.deny"] }}</button>
|
|
98
|
+
{%- if detail.nowindow and not detail.arm and not detail.blocked %}
|
|
99
|
+
<button class="ghost" name="step" value="arm_once">{{ S["act.nowindow"] }}</button>
|
|
100
|
+
{%- endif %}
|
|
101
|
+
</form>
|
|
102
|
+
{%- endif %}
|
|
103
|
+
</section>
|
|
104
|
+
{%- endif %}
|
|
105
|
+
</main>
|
|
106
|
+
</div>
|
|
107
|
+
{% endblock %}
|
egzos/web/tokens.css
ADDED
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2026 Ali Sasanian
|
|
3
|
+
* SPDX-License-Identifier: LicenseRef-PolyForm-Strict-1.0.0
|
|
4
|
+
*
|
|
5
|
+
* egzos design tokens · v0.12 · 2026-09-23 (v0.11 · v0.10 · v0.9: same day · v0.8 · v0.7 · v0.6 · v0.5 · v0.4: 2026-09-22 · v0.3: 2026-09-11)
|
|
6
|
+
*
|
|
7
|
+
* v0.12 is the FOURTH failure of the line above, and the worst-behaved: the seven versions
|
|
8
|
+
* v0.10 … v0.4 were re-dated to 2026-09-23 as a side effect of v0.11's bump. Nothing edited
|
|
9
|
+
* them. `same day` is a POINTER AT THE HEADER DATE, so when the header moved forward a day the
|
|
10
|
+
* whole run moved with it, silently, and seven revisions written on the 22nd (and one on
|
|
11
|
+
* 09-11, saved only by carrying an explicit date) claimed a day they did not happen on. The
|
|
12
|
+
* three earlier failures were erasures a reader could notice; this one leaves the line looking
|
|
13
|
+
* exactly as well-formed as before.
|
|
14
|
+
*
|
|
15
|
+
* So `same day` is no longer allowed to span a date boundary in this file: each run now states
|
|
16
|
+
* its own date, on the evidence of this file's pushed blob at `6fa85751` — the branch's last
|
|
17
|
+
* commit dated on or before 2026-09-22 — which reads `v0.8 · 2026-09-22 (v0.7 · v0.6 · v0.5 ·
|
|
18
|
+
* v0.4: same day · v0.3: 2026-09-11)`. A2's audit now reads DATES and not only version numbers:
|
|
19
|
+
* a header against its own newest entry, a history that must run forward, a version the chain
|
|
20
|
+
* names but nothing can date, and both index tables' date columns. It had thirty-four wrong
|
|
21
|
+
* dates to find across thirteen files and found none, because every number agreed.
|
|
22
|
+
*
|
|
23
|
+
* v0.10 restores v0.8 to the line above. v0.9 replaced the leading version in place instead of
|
|
24
|
+
* prefixing it, erasing the one revision whose whole content WAS this history line — "v0.8 fixes
|
|
25
|
+
* that history line rather than extending it" is still in this file, describing a revision the line
|
|
26
|
+
* no longer admitted. A history entry is a RECORD, and an erasure is a move: a sweep that moves one
|
|
27
|
+
* is the sweep being wrong. Third instance of this class in this file, which is why A2's pre-push
|
|
28
|
+
* audit now derives this chain too (it had only ever checked files with **Changelog** entries, and
|
|
29
|
+
* this file has none — a CSS comment was the blind spot).
|
|
30
|
+
*
|
|
31
|
+
* v0.8 fixes that history line rather than extending it. Under this set's convention a list
|
|
32
|
+
* terminated by one date assigns it to every version in it, so v0.7 ... v0.4 all read 2026-09-11 --
|
|
33
|
+
* false for four of the five, and contradicted by this file's own header at 2b51955 (v0.4 ·
|
|
34
|
+
* 2026-09-22), by DESIGN-SOURCES' 2026-09-22 row for the v0.6 bridge, and by the tap spec's record
|
|
35
|
+
* that v1.6 shipped with tokens v0.5. Each bump prefixed the previous version without carrying its
|
|
36
|
+
* date, so v0.4's date was absorbed into v0.3's group at 8299031 and stayed absorbed. These are
|
|
37
|
+
* RECORDS (README.md, the Version rule): a sweep that moves one is the sweep being wrong.
|
|
38
|
+
* The ONE code artifact A2 ships (decisions §P). Consumed as CSS variables by the lifeboat
|
|
39
|
+
* (src/egzos/web, src/egzos/authz templates) and mapped into the Tailwind theme by the
|
|
40
|
+
* flagship (Egzos/egzos-platform). The platform consumes this file; it never forks it.
|
|
41
|
+
*
|
|
42
|
+
* Direction: Docket v2 (bound 2026-09-11). Colour law: two colours — --act asks a human,
|
|
43
|
+
* --alarm reports a failure. No yellow, lime or acid anywhere. Structure: radius 0, 2px ink
|
|
44
|
+
* borders, 4px hard offset. Schemes: light is the record; dark is the same record at night,
|
|
45
|
+
* with two canvases the user may choose between (neutral, violet).
|
|
46
|
+
*
|
|
47
|
+
* Scheme selection (both UIs):
|
|
48
|
+
* <html data-scheme="light"> the record (default)
|
|
49
|
+
* <html data-scheme="dark" data-canvas="neutral"> the record at night
|
|
50
|
+
* <html data-scheme="dark" data-canvas="violet"> the record at night, violet-black cast
|
|
51
|
+
* data-canvas is a USER SETTING (decided 2026-09-11), persisted per client; it has no effect
|
|
52
|
+
* in the light scheme. prefers-color-scheme picks the initial scheme when none is stored.
|
|
53
|
+
*/
|
|
54
|
+
|
|
55
|
+
:root {
|
|
56
|
+
/* ── canvas & ink ─────────────────────────────────────────────── */
|
|
57
|
+
--egz-canvas: #FFFFFF; /* page */
|
|
58
|
+
--egz-paper: #F5F5F2; /* queue rail, inset fields, secondary surfaces */
|
|
59
|
+
--egz-ink: #000000; /* text, borders, offsets, verified fill */
|
|
60
|
+
--egz-ink-2: #333333; /* secondary text */
|
|
61
|
+
--egz-ink-3: #6B6B6B; /* labels, metadata (≥ 4.5:1 on canvas) */
|
|
62
|
+
--egz-rule: #000000; /* 2px structural borders */
|
|
63
|
+
--egz-rule-soft: #D6D6D2; /* 1px hairlines inside tables and lists */
|
|
64
|
+
--egz-shadow-ink: #000000; /* the hard offset */
|
|
65
|
+
|
|
66
|
+
/* ── the two colours ──────────────────────────────────────────── */
|
|
67
|
+
--egz-act: #1D3FA8; /* a human is asked: sign, approve, open a window, focus, the outward arrow */
|
|
68
|
+
--egz-act-on: #FFFFFF;
|
|
69
|
+
/* --egz-act-on is the type colour ON --egz-act, and on nothing else.
|
|
70
|
+
*
|
|
71
|
+
* TYPE ON AN INK FILL IS --egz-canvas (v0.9). Five specs render a word inside a solid ink
|
|
72
|
+
* fill — the `verified` stamp, `active`, a held capability stamp, the matrix's explicit-coverage
|
|
73
|
+
* cell, the gate's count badge — and until v0.9 none of them named a colour for that word, so
|
|
74
|
+
* every one left it to a builder. The one spec that did answer reached for --egz-act-on, which
|
|
75
|
+
* is legible today only because --egz-act-on and --egz-canvas happen to carry the same value in
|
|
76
|
+
* all three schemes. They have unrelated jobs: --egz-act-on tracks whatever --egz-act becomes,
|
|
77
|
+
* and --egz-canvas is the page. Re-value --egz-act to a lighter blue needing dark type by day
|
|
78
|
+
* and --egz-act-on flips to near-black — at which point every ink-filled stamp renders black on
|
|
79
|
+
* black, and nothing in the file would have predicted it.
|
|
80
|
+
*
|
|
81
|
+
* --egz-canvas is correct by construction: ink is the opposite of the canvas in every scheme,
|
|
82
|
+
* so type in the canvas colour is always legible on an ink fill and always will be. Same for
|
|
83
|
+
* --egz-alarm-on: it is the type colour on --egz-alarm, never on ink. */
|
|
84
|
+
--egz-alarm: hsl(0 100% 43%); /* Swiss Red: quarantine, presence lapsed, quota, unreachable, anomaly */
|
|
85
|
+
--egz-alarm-on: #FFFFFF;
|
|
86
|
+
|
|
87
|
+
/* ── structure (Neo Brutalism, bones only) ────────────────────── */
|
|
88
|
+
--egz-radius: 0;
|
|
89
|
+
--egz-bw: 2px; /* structural border weight */
|
|
90
|
+
--egz-hair: 1px; /* hairlines inside tables and lists; skeleton borders (v0.4) */
|
|
91
|
+
--egz-off: 4px; /* hard offset: box-shadow var(--egz-off) var(--egz-off) 0 var(--egz-shadow-ink) */
|
|
92
|
+
--egz-off-lg: 8px; /* the page frame */
|
|
93
|
+
--egz-focus: var(--egz-bw) solid var(--egz-act); /* outline; outline-offset 3px */
|
|
94
|
+
|
|
95
|
+
/* ── type ─────────────────────────────────────────────────────── */
|
|
96
|
+
--egz-font-ui: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
97
|
+
--egz-font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
|
|
98
|
+
--egz-fs-1: 12px; --egz-fs-2: 13px; --egz-fs-3: 14px; --egz-fs-4: 16px;
|
|
99
|
+
--egz-fs-5: 20px; --egz-fs-6: 28px; --egz-fs-7: 44px;
|
|
100
|
+
/* Weight is a CLOSED set of two, not a range (D-T4). Until v0.11 there was no weight token at
|
|
101
|
+
* all, while every spec's §16 forbade a "literal weight" — a rule with nothing to obey. The
|
|
102
|
+
* renders did what a builder would: four different weights across seven files (400, 500, 600,
|
|
103
|
+
* 700), chosen ad hoc, and two of them SYNTHESISED because the family was never loaded at that
|
|
104
|
+
* weight. A browser-faked bold is a rendering artefact wearing a design decision's clothes, and
|
|
105
|
+
* this is a record set in IBM Plex, not an approximation of one.
|
|
106
|
+
* Two, because two is what the distinction needs (principle 3: weight is STRUCTURE, not
|
|
107
|
+
* emphasis) and because these are the two the family is loaded at. 500 is neither regular nor
|
|
108
|
+
* semibold; it is the weight you reach for when no rule stops you.
|
|
109
|
+
* Load exactly these: IBM Plex Sans and IBM Plex Mono at 400 and 600. A value outside this set
|
|
110
|
+
* is a design-gap against THIS file, never a literal in a component. */
|
|
111
|
+
--egz-w-regular: 400;
|
|
112
|
+
--egz-w-semibold: 600;
|
|
113
|
+
--egz-lh: 1.5;
|
|
114
|
+
--egz-tracking-caps: .12em; /* mono labels, uppercase */
|
|
115
|
+
--egz-tabular: "tnum" 1; /* font-feature-settings for ids, hashes, timestamps, countdowns */
|
|
116
|
+
|
|
117
|
+
/* ── space ────────────────────────────────────────────────────── */
|
|
118
|
+
--egz-sp-1: 4px; --egz-sp-2: 8px; --egz-sp-3: 12px; --egz-sp-4: 16px;
|
|
119
|
+
--egz-sp-5: 24px; --egz-sp-6: 40px; --egz-sp-7: 64px;
|
|
120
|
+
|
|
121
|
+
/* ── motion (law B · meaningful) ──────────────────────────────── */
|
|
122
|
+
--egz-motion-state: 0ms; /* state changes are instantaneous — a stamp lands */
|
|
123
|
+
--egz-motion-reveal: 120ms; /* reveal: expand, fan, slide; linear */
|
|
124
|
+
--egz-motion-arrival: 200ms; /* arrival: new items pill, triage ring step */
|
|
125
|
+
--egz-motion-presence: 4000ms; /* presence: one full circuit of the window beam along the frame */
|
|
126
|
+
--egz-ease: linear;
|
|
127
|
+
--egz-t-hold: 700ms; /* v0.5: press-and-hold fill (flagship enhancement only). The other
|
|
128
|
+
interaction timeouts — the two-step arm, the lifeboat's fragment refresh, the new-items debounce — are
|
|
129
|
+
deliberately NOT tokens: the arm is validated server-side and the refresh is an htmx trigger, so a CSS
|
|
130
|
+
variable there would imply a deployment could restyle a security timeout. See the tap spec §5 (D-T2). */
|
|
131
|
+
|
|
132
|
+
/* ── media (moodboard imagery, marketing only) ────────────────── */
|
|
133
|
+
--egz-img-filter: grayscale(.15) contrast(1.02);
|
|
134
|
+
|
|
135
|
+
color-scheme: light;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/* NOTE — this comment annotates the block BELOW it, which is the rule a CSS comment binds to.
|
|
139
|
+
The @media (prefers-color-scheme: dark) fallback further down duplicates every value in THIS
|
|
140
|
+
block, value for value. Any change here must be made there too; a2-conformance checks it.
|
|
141
|
+
It must NOT be read as applying to the violet block: violet is a user setting with no effect
|
|
142
|
+
without data-canvas, so mirroring a violet value into the fallback would give an OS-dark viewer
|
|
143
|
+
with no stored scheme a cast they never chose — the shape of the v0.4 defect where that block
|
|
144
|
+
was missing --egz-img-filter. (Placement corrected in v0.8; it had sat above the violet block,
|
|
145
|
+
where the default reading made 'this block' the wrong one.) */
|
|
146
|
+
html[data-scheme="dark"] {
|
|
147
|
+
--egz-canvas: #0B0B0B;
|
|
148
|
+
--egz-paper: #151515;
|
|
149
|
+
--egz-ink: #F4F4F0;
|
|
150
|
+
--egz-ink-2: #CFCFC9;
|
|
151
|
+
--egz-ink-3: #9A9A94;
|
|
152
|
+
--egz-rule: #F4F4F0;
|
|
153
|
+
--egz-rule-soft: #3A3A3A;
|
|
154
|
+
--egz-shadow-ink: #F4F4F0; /* offsets go white: the record as a paper cutout */
|
|
155
|
+
--egz-act: #6B9BFF;
|
|
156
|
+
--egz-act-on: #0B0B0B;
|
|
157
|
+
--egz-alarm: hsl(0 100% 60%);
|
|
158
|
+
--egz-alarm-on: #0B0B0B;
|
|
159
|
+
--egz-img-filter: grayscale(.2) brightness(.82) contrast(1.06);
|
|
160
|
+
color-scheme: dark;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
html[data-scheme="dark"][data-canvas="violet"] {
|
|
164
|
+
/* the one thing taken from the Neon Cyber family: a cast, not a colour */
|
|
165
|
+
--egz-canvas: #0B0716;
|
|
166
|
+
--egz-paper: #150E24;
|
|
167
|
+
--egz-ink-3: #9A96A8;
|
|
168
|
+
--egz-rule-soft: #3A3350;
|
|
169
|
+
--egz-act-on: #0B0716;
|
|
170
|
+
--egz-alarm-on: #0B0716;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
@media (prefers-color-scheme: dark) {
|
|
174
|
+
html:not([data-scheme]) {
|
|
175
|
+
--egz-canvas: #0B0B0B; --egz-paper: #151515; --egz-ink: #F4F4F0; --egz-ink-2: #CFCFC9; --egz-ink-3: #9A9A94;
|
|
176
|
+
--egz-rule: #F4F4F0; --egz-rule-soft: #3A3A3A; --egz-shadow-ink: #F4F4F0;
|
|
177
|
+
--egz-act: #6B9BFF; --egz-act-on: #0B0B0B; --egz-alarm: hsl(0 100% 60%); --egz-alarm-on: #0B0B0B;
|
|
178
|
+
--egz-img-filter: grayscale(.2) brightness(.82) contrast(1.06); /* v0.4: was missing, so an OS-dark
|
|
179
|
+
viewer with no stored scheme got the light filter on imagery */
|
|
180
|
+
color-scheme: dark;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/* ---------------------------------------------------------------------------
|
|
185
|
+
* shadcn/ui bridge — DECLARED, not documented (D-T3, tokens v0.6)
|
|
186
|
+
*
|
|
187
|
+
* Until v0.6 these keys existed only as a comment at the foot of this file. A comment
|
|
188
|
+
* declares nothing: a catalogue component resolved `--background` against the empty string,
|
|
189
|
+
* and a4s's only way to make the pick render was to retype all twenty-five lines into the
|
|
190
|
+
* flagship theme — a fork by transcription, which this file's header forbids in the same
|
|
191
|
+
* breath as a fork by copy. They are declarations now. The flagship maps the `--egz-*` layer
|
|
192
|
+
* into Tailwind and gets this layer for free; nothing is retyped anywhere.
|
|
193
|
+
*
|
|
194
|
+
* Every value is an ALIAS, so the block is scheme-independent by construction: `var()`
|
|
195
|
+
* resolves at use time against whichever scheme block is winning on <html>, which is why
|
|
196
|
+
* there is no dark copy of this list and must never be one. A dark copy would be a second
|
|
197
|
+
* place to forget.
|
|
198
|
+
*
|
|
199
|
+
* The lifeboat pays nothing: an unreferenced custom property is inert — no paint, no layout,
|
|
200
|
+
* no cascade cost. It is catalogue-exempt and simply never reads these names.
|
|
201
|
+
* --------------------------------------------------------------------------- */
|
|
202
|
+
:root {
|
|
203
|
+
/* surfaces */
|
|
204
|
+
--background: var(--egz-canvas);
|
|
205
|
+
--foreground: var(--egz-ink);
|
|
206
|
+
--card: var(--egz-canvas);
|
|
207
|
+
--card-foreground: var(--egz-ink);
|
|
208
|
+
--popover: var(--egz-canvas); /* Command #382, Popover, Context Menu, Tooltip */
|
|
209
|
+
--popover-foreground: var(--egz-ink);
|
|
210
|
+
--muted: var(--egz-paper);
|
|
211
|
+
--muted-foreground: var(--egz-ink-3);
|
|
212
|
+
|
|
213
|
+
/* the one act colour, and the one failure colour — there is no third */
|
|
214
|
+
--primary: var(--egz-act);
|
|
215
|
+
--primary-foreground: var(--egz-act-on);
|
|
216
|
+
--destructive: var(--egz-alarm);
|
|
217
|
+
--destructive-foreground: var(--egz-alarm-on);
|
|
218
|
+
--secondary: var(--egz-paper);
|
|
219
|
+
--secondary-foreground: var(--egz-ink);
|
|
220
|
+
--accent: var(--egz-paper);
|
|
221
|
+
--accent-foreground: var(--egz-ink);
|
|
222
|
+
|
|
223
|
+
/* edges */
|
|
224
|
+
--border: var(--egz-rule-soft);
|
|
225
|
+
--input: var(--egz-rule); /* the field's 2px ink edge, not a hairline */
|
|
226
|
+
--ring: var(--egz-act);
|
|
227
|
+
|
|
228
|
+
/* radius. shadcn derives --radius-sm/md/lg/xl with calc(var(--radius) ∓ 2px|4px), which at
|
|
229
|
+
* radius 0 yields NEGATIVE lengths — invalid, so the component silently falls back to the
|
|
230
|
+
* browser default and a rounded corner appears in a square system. Each is pinned flat. */
|
|
231
|
+
--radius: var(--egz-radius); /* 0 */
|
|
232
|
+
--radius-sm: 0;
|
|
233
|
+
--radius-md: 0;
|
|
234
|
+
--radius-lg: 0;
|
|
235
|
+
--radius-xl: 0;
|
|
236
|
+
|
|
237
|
+
/* sidebar family — the flagship app shell's primary pick
|
|
238
|
+
* (Egzos/egzos-platform · spec/design/search-list.md §17 — a proprietary sibling repository,
|
|
239
|
+
* qualified because this file ships to every consumer of this public repository, a 0.1.0 fork
|
|
240
|
+
* included, where an unqualified pointer resolves to nothing with no indication why). */
|
|
241
|
+
--sidebar: var(--egz-paper);
|
|
242
|
+
--sidebar-foreground: var(--egz-ink);
|
|
243
|
+
--sidebar-primary: var(--egz-act);
|
|
244
|
+
--sidebar-primary-foreground: var(--egz-act-on);
|
|
245
|
+
--sidebar-accent: var(--egz-canvas);
|
|
246
|
+
--sidebar-accent-foreground: var(--egz-ink);
|
|
247
|
+
--sidebar-border: var(--egz-rule);
|
|
248
|
+
--sidebar-ring: var(--egz-act);
|
|
249
|
+
|
|
250
|
+
/* DELIBERATELY ABSENT: --chart-1 … --chart-5. shadcn ships five categorical hues; egzos has
|
|
251
|
+
* two colours and both are reserved (--act asks a human, --alarm reports a failure), so a
|
|
252
|
+
* categorical ramp cannot be built from this palette without inventing a third. A pick that
|
|
253
|
+
* reads a chart key is a design-gap against THIS file — A2 answers it with a non-chromatic
|
|
254
|
+
* encoding (shape, hatch, position) or the Chief takes a colour-law decision. Do not alias
|
|
255
|
+
* them to ink tints to make a component render: five greys that mean five categories is a
|
|
256
|
+
* colour law nobody agreed, arriving through a component's back door.
|
|
257
|
+
*
|
|
258
|
+
* A pick needing any other unlisted key is likewise a design-gap against this file — never
|
|
259
|
+
* a literal in the component, and never a retyped block in the flagship theme.
|
|
260
|
+
*
|
|
261
|
+
* SOURCE ORDER (v0.7, and binding on the flagship). This block only takes effect if it
|
|
262
|
+
* out-cascades shadcn's own definitions, which a current shadcn / Tailwind v4 setup emits
|
|
263
|
+
* from `@theme inline` into `:root` — the SAME selector at the SAME specificity, where
|
|
264
|
+
* source order alone decides. So: **this file loads AFTER the shadcn theme layer**, or that
|
|
265
|
+
* layer's colour and radius derivations are dropped. Either satisfies the requirement;
|
|
266
|
+
* neither is optional. Get it wrong and nothing errors — `--radius-sm` quietly resolves to
|
|
267
|
+
* `calc(0.625rem - 4px)` and a rounded corner appears in a square system, which is the
|
|
268
|
+
* failure this block exists to prevent, arriving by a different door. A2 states the
|
|
269
|
+
* requirement; where in the platform's CSS entry it is satisfied is a4s's to implement and
|
|
270
|
+
* a2-conformance's to check. */
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
@media (prefers-reduced-motion: reduce) {
|
|
274
|
+
:root {
|
|
275
|
+
--egz-motion-reveal: 0ms;
|
|
276
|
+
--egz-motion-arrival: 0ms;
|
|
277
|
+
--egz-motion-presence: 0ms; /* the beam becomes a static marked segment; the countdown stays numeric */
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/*
|
|
282
|
+
* Tailwind mapping (flagship; A4s wires this in tailwind config / @theme):
|
|
283
|
+
* colors.canvas → var(--egz-canvas) colors.paper → var(--egz-paper) colors.ink → var(--egz-ink)
|
|
284
|
+
* colors.ink-2 / ink-3 / rule / rule-soft / act / act-on / alarm / alarm-on likewise
|
|
285
|
+
* borderRadius.DEFAULT → var(--egz-radius) (0) borderWidth.structural → var(--egz-bw)
|
|
286
|
+
* borderWidth.hair → var(--egz-hair)
|
|
287
|
+
* boxShadow.off → var(--egz-off) var(--egz-off) 0 var(--egz-shadow-ink)
|
|
288
|
+
* fontFamily.ui / mono → the two stacks above fontSize.1…7 → --egz-fs-1…7
|
|
289
|
+
* transitionDuration.state / reveal / arrival / presence → the motion tokens
|
|
290
|
+
* shadcn/ui bridge: DECLARED ABOVE (D-T3, v0.6), not listed here. The block above this comment
|
|
291
|
+
* is the bridge; it was a comment in v0.4–v0.5 and nothing declared the keys. A pick needing a
|
|
292
|
+
* key the block does not declare is a design-gap against THIS file, never a literal in the
|
|
293
|
+
* component and never a retyped block in the flagship theme.
|
|
294
|
+
*/
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: egzoscore
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: MCP-first, CLI-first personal context layer
|
|
5
|
+
Author: Ali Sasanian
|
|
6
|
+
License: LicenseRef-PolyForm-Strict-1.0.0
|
|
7
|
+
License-File: LICENSE
|
|
8
|
+
License-File: NOTICE
|
|
9
|
+
Requires-Python: >=3.11
|
|
10
|
+
Requires-Dist: fastapi>=0.115
|
|
11
|
+
Requires-Dist: jinja2>=3.1
|
|
12
|
+
Requires-Dist: mcp>=2.3
|
|
13
|
+
Requires-Dist: pyjwt[crypto]>=2.10
|
|
14
|
+
Requires-Dist: typer>=0.27.2
|
|
15
|
+
Requires-Dist: uvicorn>=0.30
|
|
16
|
+
Requires-Dist: webauthn>=3.0
|
|
17
|
+
Provides-Extra: dev
|
|
18
|
+
Requires-Dist: httpx2>=2.10; extra == 'dev'
|
|
19
|
+
Requires-Dist: httpx>=0.27; extra == 'dev'
|
|
20
|
+
Requires-Dist: opendal<0.48,>=0.47.12; extra == 'dev'
|
|
21
|
+
Requires-Dist: pytest>=8; extra == 'dev'
|
|
22
|
+
Requires-Dist: pyyaml>=6; extra == 'dev'
|
|
23
|
+
Requires-Dist: ruff<0.17,>=0.16; extra == 'dev'
|
|
24
|
+
Provides-Extra: embed
|
|
25
|
+
Requires-Dist: onnxruntime; extra == 'embed'
|
|
26
|
+
Provides-Extra: objects
|
|
27
|
+
Requires-Dist: opendal<0.48,>=0.47.12; extra == 'objects'
|
|
28
|
+
Provides-Extra: postgres
|
|
29
|
+
Requires-Dist: psycopg[binary]<4,>=3.2; extra == 'postgres'
|
|
30
|
+
Description-Content-Type: text/markdown
|
|
31
|
+
|
|
32
|
+
# egzos
|
|
33
|
+
|
|
34
|
+
<picture>
|
|
35
|
+
<source media="(prefers-color-scheme: dark)" srcset="spec/design/brand/banner/readme-header-dark.svg">
|
|
36
|
+
<img alt="egzos — personal context layer" src="spec/design/brand/banner/readme-header-light.svg" width="1280">
|
|
37
|
+
</picture>
|
|
38
|
+
|
|
39
|
+
> **v0.2.0.** The source-available core (PolyForm Strict 1.0.0): the CLI, the MCP server, the browser approval tap, the audit chain and the lifeboat UI run end to end. Install it from PyPI below.
|
|
40
|
+
|
|
41
|
+
egzos is an MCP-first, CLI-first personal context layer. Your container is the home; platforms are clients. The security model is the product.
|
|
42
|
+
|
|
43
|
+
## What egzos is
|
|
44
|
+
|
|
45
|
+
**Your container, your rules.** egzos stores your personal context — notes, decisions, threads, artifacts — in a container you run and own. Platforms (the egzos.io flagship, your own forks, Claude Code, any MCP client) connect to the container as clients. They do not hold your data; they access it under capabilities you grant.
|
|
46
|
+
|
|
47
|
+
**Push-first.** Platforms never pull from your container live. You push what you choose, to whom you choose; nothing is revealed by default, and every read is a capability check.
|
|
48
|
+
|
|
49
|
+
**Emergent hierarchy.** Thread, project, team, org, exo, global — these are container types you instantiate at will, not a fixed chain you have to fill in. Rings of trust and parent pointers do the rest.
|
|
50
|
+
|
|
51
|
+
**Agents propose, humans dispose.** Agent output (summaries, suggestions, auto-titles) is a proposal in your inbox. You approve it; the ledger records what happened. No agent acts on your behalf without your disposition.
|
|
52
|
+
|
|
53
|
+
**The security model is the product.** The authorization server lives inside your container. Browsers authenticate via auth-code + PKCE; the CLI uses device-code; MCP clients follow the MCP authorization spec — all against your container's own AS. The egzos.io session proves your subscription; the container token proves your authorization. Those are two separate authorities, deliberately.
|
|
54
|
+
|
|
55
|
+
**Signed `.xmb` export.** Leaving is easy. One command exports your container as a signed, portable archive you can import anywhere.
|
|
56
|
+
|
|
57
|
+
## Quickstart
|
|
58
|
+
|
|
59
|
+
egzos needs Python 3.11 or newer. [uv](https://docs.astral.sh/uv/) fetches one for you if your
|
|
60
|
+
system Python is older (macOS ships 3.9):
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
curl -LsSf https://astral.sh/uv/install.sh | sh # once (or: brew install uv); then open a new terminal
|
|
64
|
+
uv tool install egzoscore # or, with Python 3.11+: pipx install egzoscore
|
|
65
|
+
|
|
66
|
+
egzoscore init # your container at ~/.egzos, and your owner token
|
|
67
|
+
egzoscore add "Prefer imperative commit messages" --kind preference --key commit.style
|
|
68
|
+
egzoscore add ./notes.md # files work too; everything lands unverified
|
|
69
|
+
egzoscore find commit # numbered results; act on them with %1, %2 …
|
|
70
|
+
|
|
71
|
+
egzoscore connect # mints a token for Claude Code, prints the line to run
|
|
72
|
+
egzoscore connect --apply # …or registers it with Claude Code for you
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
This package is the container and its own command, `egzoscore`. The command line for an egzos cloud
|
|
76
|
+
is a separate program, `egzos`, published on npm (`npm install -g egzos`): it signs you in
|
|
77
|
+
(`egzos login`) and runs the everyday verbs against a cloud, as in `egzos ls cloud:`.
|
|
78
|
+
|
|
79
|
+
Then, in Claude Code, ask it to use the `egzos` tools: `egzos_fetch` reads your context for a scope,
|
|
80
|
+
`egzos_remember` writes (it lands **unverified** in your inbox), `egzos_inbox` lists the queue.
|
|
81
|
+
|
|
82
|
+
- **Agents propose, you dispose.** Anything an agent writes waits in `egzoscore trust pending` until you
|
|
83
|
+
approve it: `egzoscore trust approve <id>` opens a one-shot approval page in your browser. A move that
|
|
84
|
+
would widen who can read something is parked until you say yes.
|
|
85
|
+
- **Every read and every yes is on the record.** `egzoscore audit tail` / `egzoscore audit verify` — a
|
|
86
|
+
hash chain that verifies end to end.
|
|
87
|
+
- **Structure as you go.** `egzoscore mk project health`, `egzoscore mv %1 project:health`, `egzoscore fetch project:health`.
|
|
88
|
+
|
|
89
|
+
## The core and the flagship
|
|
90
|
+
|
|
91
|
+
What is in this repository (public, source-available under the PolyForm Strict License 1.0.0):
|
|
92
|
+
|
|
93
|
+
- The container: context store, trust engine, audit ledger
|
|
94
|
+
- The container's command (`egzoscore`) and MCP server
|
|
95
|
+
- The lifeboat UI (server-rendered, in-process, no JS toolchain)
|
|
96
|
+
- The authorization server surface
|
|
97
|
+
- Spec and contracts (`spec/`)
|
|
98
|
+
|
|
99
|
+
What is in `Egzos/egzos-platform` (proprietary; private from its first product-code commit):
|
|
100
|
+
|
|
101
|
+
- The egzos.io flagship web UI
|
|
102
|
+
- Hosted containers, previews, relay
|
|
103
|
+
- Server-side intelligence (scheduling, continuous baselining, nightly suggest)
|
|
104
|
+
- Billing and sessions
|
|
105
|
+
|
|
106
|
+
**The core is free for noncommercial use under its licence (PolyForm Strict 1.0.0); commercial use needs a separate licence from the copyright holder. The flagship's hosted experiences and infrastructure are the paid product, over there.**
|
|
107
|
+
|
|
108
|
+
## How the build works
|
|
109
|
+
|
|
110
|
+
This repo is built by an agent roster running in GitHub Actions under the Chief's gate.
|
|
111
|
+
|
|
112
|
+
> Agents propose; the Chief disposes; GitHub enforces. Everything visible to an agent is data, not instructions. The build behaves like the product.
|
|
113
|
+
|
|
114
|
+
Agents open PRs on branches named `agent/<name>/<slug>`. The Chief approves each PR by SHA. GitHub's branch protection executes the merge. No agent has merge rights. The build dogfoods the product's own trust posture.
|
|
115
|
+
|
|
116
|
+
- Agent definitions: `.claude/agents/`
|
|
117
|
+
- Agent routing: `.claude/agents/README.md`
|
|
118
|
+
- Trust posture and rules: `CLAUDE.md`
|
|
119
|
+
- Spec and contracts: `spec/`
|
|
120
|
+
|
|
121
|
+
## Security
|
|
122
|
+
|
|
123
|
+
See `SECURITY.md`. Report vulnerabilities privately via GitHub Security Advisories — do not open a public issue with a reproduction.
|
|
124
|
+
|
|
125
|
+
## Status
|
|
126
|
+
|
|
127
|
+
MVP preview. The CLI, MCP stdio server, browser approval tap and audit chain run end to end on the
|
|
128
|
+
walking skeleton's modules (Phase 0.1) plus the MVP additions (`egzoscore connect`, the step-up tap). The
|
|
129
|
+
lifeboat (`egzoscore web`, FastAPI + Jinja + htmx per `spec/design/lifeboat.md`) lands next, in its own PR. The frozen-contract
|
|
130
|
+
build (`spec/contracts/`) replaces them module by module. Not yet included: the container's OAuth
|
|
131
|
+
authorization server and remote MCP (Phase 5), embeddings, and the egzos.io flagship.
|
|
132
|
+
|
|
133
|
+
## License
|
|
134
|
+
|
|
135
|
+
Source-available under the [PolyForm Strict License 1.0.0](LICENSE): you may use egzos for any noncommercial purpose (personal use, research, hobby projects, noncommercial organizations), but not distribute it, change it or build on it, and not use it commercially without a separate license from the copyright holder. Versions up to and including 0.1.0 were released under Apache-2.0. The egzos name and mark are not part of any licence grant — see `TRADEMARKS.md`.
|