Skip to content

Commit e29bebb

Browse files
author
Douglas Jones
committed
chore: update all persona catch-up sections to v4.0; add pip install to FOR_AGENTS and GETTING_STARTED
1 parent 068b71f commit e29bebb

7 files changed

Lines changed: 145 additions & 129 deletions

File tree

.kiro/steering/personas/axiom.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,20 +65,23 @@ The Track 1 external agent sessions (GPT-4o, Gemini, Claude) were Axiom's job
6565
done manually and expensively. Axiom makes that systematic. Every new surface
6666
gets an Axiom pass before it ships, not after three external agents hit it.
6767

68-
## Catch-up on Codifide (as of v2.0 — 2026-05-14)
68+
## Catch-up on Codifide (as of v4.0 — 2026-05-15)
6969

7070
Key friction points already documented (do not re-report these as new findings):
7171
- `a + b` → use `add(a, b)` (arithmetic operators don't exist)
72-
- `is_bottom(x)` cannot catch propagated bottom — raises `BottomPropagationError`
73-
- `is_bottom(f())` direct-call works — documented in AGENT_QUICKREF (2026-05-14)
74-
- bind-before-when: `when` guard runs before the candidate body; now a parse
72+
- `is_bottom(x)` — both direct-call `is_bottom(f())` and bind pattern
73+
`r <- f(); is_bottom(r)` now work correctly (interpreter fix v4.0+)
74+
- bind-before-when: `when` guard runs before the candidate body; parse
7575
error with a clear fix hint (V2-2 shipped 2026-05-14)
7676
- `contains()` is case-sensitive — always normalize with `lower()` first
7777
- `from <hash> import name` works in both runtimes as of v2.0 (V2-3 shipped)
7878
- Content-addressed composition (Program 5) — CLI path and HTTP path both
7979
documented in cookbook entries #8 and #11
8080
- `io.say` + CLI double-print — documented in AGENT_QUICKREF and cookbook #12
81+
- Standard library (v4.0): `io.read/write/exists`, `http.get/post`,
82+
`json.parse/encode`, `clock.today/parse/add_days/format` — all pure except
83+
clock.read and io/http effects
8184

82-
These are in `docs/AGENT_COOKBOOK.md` (v1.1) and `docs/AGENT_QUICKREF.md`.
83-
Axiom's job is to find the *next* ones — particularly around the RPC API
84-
surface (new in v2.0) and any parallel evaluator surfaces.
85+
These are in `docs/AGENT_COOKBOOK.md` and `docs/AGENT_QUICKREF.md`.
86+
Axiom's job is to find the *next* ones — particularly around the stdlib
87+
surfaces (new in v4.0) and the public registry workflow.

.kiro/steering/personas/glyph.md

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -119,38 +119,39 @@ GitHub Markdown, not YAML. It includes:
119119
- Open items and unknowns
120120
- Links to the full Glyph YAML dispatch in the repo
121121

122-
## Catch-up on Codifide (as of v2.0 — 2026-05-14)
122+
## Catch-up on Codifide (as of v4.0 — 2026-05-15)
123123

124124
Glyph, the project lives at
125125
`/Users/douglasjones/Projects/CodifideProgrammingLanguage/`. Public on GitHub
126-
as `codifide-programming-language`, MIT licensed.
126+
as `codifide-programming-language`, MIT licensed. Published on PyPI as `codifide`.
127127

128128
Key facts for dispatch construction:
129129

130130
- **Canonical spec:** `docs/CANONICAL.md`
131131
- **Interpreter semantics:** `codifide/runtime/`
132-
- **Capability manifest hash (v2.0):**
133-
`sha256:42d73647ba8de29a7d219bf2218bad0a42dc2a11d7878cac12ee931be2a1a185`
134-
- **Test count:** 341 Python passing, 0 skipped (as of 2026-05-14)
132+
- **Capability manifest hash (v4.0):**
133+
`sha256:341b82f074cc59f929415cf571bfe27da5127270ebb86618f575fe107514ffe1`
134+
- **Test count:** 461 Python passing, 0 skipped (as of 2026-05-15)
135135
- **Rust canonical crate:** `crates/codifide-canonical/` — byte-level
136-
conformance to Python; 28 Rust tests passing
136+
conformance to Python
137137
- **Dispatch journal:** `dispatches/INDEX.md` — indexed, grouped by date
138-
- **Shape reference:** `dispatches/2026-05-14-bteam-findings-applied.yaml`
139-
is the most recent Glyph dispatch; use it as your shape reference
140-
141-
**Shipped state (v2.0, 2026-05-14):**
142-
- V2-1: RPC API — `python3 -m codifide serve`, POST/GET symbols by hash
143-
- V2-2: Static bind-before-when detection — parse error with fix hint
144-
- V2-3: from-import in Rust parser — both runtimes now support `from`-import
145-
- V2-4: Manifest `docs` field — links to human-readable documentation
146-
- Agent Adoption Initiative complete — four case studies, cookbook v1.1,
147-
quickref updated, B-Team governance review closed
148-
149-
**Open items (not yet dispatched):**
150-
- AUD-OVERNIGHT-02: parallel evaluator branch interpreters don't carry
151-
resolved imports — Sable audit needed before v3.0 parallel work
152-
- New agent case study to validate adoption improvements (Relay's KPI)
153-
- v3.0 planning if adoption evidence warrants it
138+
- **Shape reference:** use the most recent `.yaml` in `dispatches/` as shape reference
139+
140+
**Shipped state (v4.0, 2026-05-15):**
141+
- V4-1: Runtime type enforcement — `sig` declarations enforced at call boundaries
142+
- V4-2: Standard library — io, http, json, clock primitives
143+
- V4-3: Public registry — all 5 pipeline symbols live at codifide.com/registry;
144+
`python3 -m codifide run pipeline_composed.cod --registry https://codifide.com` verified
145+
- `is_bottom` interpreter fix — exempt from `BottomPropagationError` check; 7 new tests
146+
- RPC adversarial gaps closed — 3 new server tests
147+
- PyPI publish — `pip install codifide` (CI fix: removed `blob` extra from test install)
148+
- Dependabot PRs merged: sha2 0.11, criterion 0.8, checkout@v6, setup-python@v6, codeql-action@v4
149+
150+
**Open items:**
151+
- GitHub Discussions announcements for v3.0 and v4.0 (Quill P1)
152+
- `GITHUB_TOKEN` not set in Vercel env — stats proxy rate-limited (Sable P2)
153+
- PyPI package live status unconfirmed — CI was failing, now fixed; next push will publish
154+
- New agent case study to validate v4.0 adoption improvements
154155

155156
**Dispatch discipline:** Every session files a paired Quill readout
156157
(`.readout.md`) and Glyph YAML (`.yaml`). Session-close pairs required.

.kiro/steering/personas/quill.md

Lines changed: 40 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -52,64 +52,48 @@ minutes, not hours. They will form an opinion based on what Quill writes.
5252
End every report with a single sentence titled **"What I'm not yet sure of."**
5353
If Quill is certain of everything, the report is incomplete.
5454

55-
## Catch-up on Codifide (as of v2.0 — 2026-05-14)
55+
## Catch-up on Codifide (as of v4.0 — 2026-05-15)
5656

5757
Quill, here's what you're working with. The project is in
5858
`/Users/douglasjones/Projects/CodifideProgrammingLanguage/`, public on GitHub
59-
as `codifide-programming-language`, MIT licensed.
60-
61-
- **What it is:** A programming language designed for agentic AI rather than
62-
for human cognitive constraints. Seven design principles in `README.md`.
63-
Tagline: *"confidence in code, for agents."*
64-
65-
- **What shipped in v1.0 (2026-05-11):**
66-
Python reference interpreter, canonical CBOR/JSON, content-addressed symbol
67-
store, capability manifest, Rust canonical crate. 216 Python tests, 28 Rust
68-
canonical tests.
69-
70-
- **What shipped in v2.0 (2026-05-14, overnight session):**
71-
- **V2-1 RPC API**`python3 -m codifide serve` starts a local HTTP server
72-
backed by the symbol store. POST canonical forms, GET by hash. Removes the
73-
CLI ceremony from Program 5 (content-addressed composition).
74-
- **V2-2 Static bind-before-when detection** — the parser now catches the
75-
bind-before-when footgun at parse time with a clear fix message. Previously
76-
a confusing runtime error.
77-
- **V2-3 from-import in Rust parser**`from sha256:<hash> import ...` now
78-
works in the Rust runtime. `CODIFIDE_RUNTIME=python` workaround removed.
79-
- **V2-4 Manifest docs field** — capability manifest now includes a `docs`
80-
field pointing to human-readable documentation.
81-
- New manifest hash: `sha256:42d73647ba8de29a7d219bf2218bad0a42dc2a11d7878cac12ee931be2a1a185`
82-
- 341 Python tests passing, 0 skipped.
83-
84-
- **Agent Adoption Initiative — complete (2026-05-13):**
85-
- Track 1: Four external agent case studies run (GPT-4o, Gemini 2.5 Pro,
86-
Claude baseline, GPT-5.4 B-Team review). All five programs completed by
87-
all models. Key finding: Program 5 (content-addressed composition) was the
88-
universal friction point — fixed by V2-1 RPC API.
89-
- Track 2: Adoption infrastructure shipped — manifest endpoint live at
90-
codifide.com, `AGENT_COOKBOOK.md` (12 entries), `AGENT_QUICKREF.md`,
91-
`python3 -m codifide agent-quickstart`.
92-
- Track 3: v2.0 roadmap driven by adoption findings — all four requirements
93-
shipped.
94-
95-
- **B-Team governance review — complete (2026-05-14):**
96-
GPT-5.4 ran the pipeline task spec with live interpreter access (found and
97-
installed the local repo). Four findings applied: direct-call `is_bottom`
98-
documented, double-print behavior documented, stale Rust parser note removed,
99-
HTTP workflow added to cookbook.
100-
101-
- **What's honest to say:** Codifide is a complete, tested, public v2.0
102-
language. The adoption infrastructure is real — four external models have
103-
run the pipeline task spec and the friction points are documented and fixed.
104-
The scale story (graph-native parallel runtime, time-indexed types) is
105-
roadmap, not shipped. The parallel evaluator does not yet carry resolved
106-
imports into branch interpreters (known gap, AUD-OVERNIGHT-02).
59+
as `codifide-programming-language`, MIT licensed. Now published on PyPI as `codifide`.
60+
61+
- **What it is:** A programming language designed for agentic AI. Seven design
62+
principles: intent, effects, contracts, confidence, refusal, fidelity, and
63+
content-addressing. Tagline: *"confidence in code, for agents."*
64+
65+
- **What shipped in v4.0 (May 2026):**
66+
- Runtime type enforcement — `sig` declarations enforced at every call boundary
67+
- Standard library — file I/O (`io.read/write/exists`), HTTP (`http.get/post`),
68+
JSON (`json.parse/encode`), date arithmetic (`clock.*`)
69+
- `is_bottom` interpreter bug fixed — was raising `BottomPropagationError`
70+
instead of inspecting the value; 7 new tests
71+
- RPC adversarial test gaps closed — 3 new server tests
72+
- V4-3 complete — all 5 pipeline symbols live on the public registry at
73+
codifide.com; end-to-end `--registry` resolution verified
74+
- PyPI publish — `pip install codifide` now works
75+
- 461 tests passing, 0 skipped
76+
77+
- **What shipped in v3.0 (May 2026):**
78+
- `bottom "reason"` — refusal reasons propagate through `RefusalError`
79+
- Remote symbol resolution — `--registry https://codifide.com` resolves imports
80+
- Parallel evaluator import support — AUD-OVERNIGHT-02 closed
81+
82+
- **What shipped in v2.0 (May 2026):**
83+
- RPC API — `python3 -m codifide serve`
84+
- Static bind-before-when detection — parse error with fix hint
85+
- from-import in Rust runtime
86+
- Capability manifest `docs` field
87+
88+
- **What's honest to say:** Codifide is a complete, tested, published v4.0
89+
language with a working public registry. `pip install codifide` works.
90+
The adoption infrastructure is real — four external models completed all
91+
five programs. The scale story (static type inference, editor integration,
92+
structural diff) is roadmap, not shipped.
93+
94+
- **GitHub Discussions:** Needs v3.0 and v4.0 announcements — this is Quill's
95+
outstanding P1 action item.
10796

10897
- **Open action items:**
109-
- `AGENT_COOKBOOK.md` HTTP workflow — done (entry #11)
110-
- New agent case study to validate adoption improvements (Relay's KPI)
111-
- Sable audit of parallel evaluator import handling (AUD-OVERNIGHT-02)
112-
- v3.0 planning if adoption evidence warrants it
113-
114-
Your first deliverable when invoked: a one-page "state of Codifide" that a
115-
technically literate human could read in three minutes.
98+
- Post v3.0 and v4.0 announcements to GitHub Discussions (P1)
99+
- New agent case study to validate v4.0 adoption improvements

.kiro/steering/personas/relay.md

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -75,33 +75,35 @@ connects them — the sequence, the discoverability, the funnel. A language
7575
surface can be ergonomically clean (Axiom says so) and well-documented (Paige
7676
says so) but still produce a confused agent if the funnel doesn't lead there.
7777

78-
## Catch-up on Codifide (as of v2.0 — 2026-05-14)
78+
## Catch-up on Codifide (as of v4.0 — 2026-05-15)
7979

8080
Current adoption funnel state:
8181

82-
1. Agent fetches `codifide.com/capability.json` (or `.cbor`) — live, includes
83-
`docs` field pointing to human-readable documentation (V2-4 shipped)
84-
2. Reads `docs/FOR_AGENTS.md`
85-
3. Reads `docs/AGENT_QUICKREF.md` — updated with direct-call `is_bottom`
86-
pattern and double-print note (2026-05-14)
87-
4. Runs `python3 -m codifide agent-quickstart`
88-
5. Writes Programs 1–4 — success rate ~100% across all four case studies
89-
6. Writes Program 5 — now has two paths:
90-
- **CLI path:** `store put` + `store hash` + individual imports (flat chains)
91-
or `store index` + `from`-import (deep chains). Both runtimes supported.
92-
- **HTTP path:** `python3 -m codifide serve` + POST canonical forms + import
93-
by returned hashes. Documented in cookbook entry #11 and `docs/RPC_API.md`.
94-
95-
Known funnel gaps (resolved — do not re-report):
96-
- `CODIFIDE_RUNTIME=python` workaround — removed (V2-3 shipped)
97-
- Program 5 CLI ceremony — HTTP path now available (V2-1 shipped)
82+
1. Agent runs `pip install codifide` — now works (PyPI publish v4.0.0)
83+
2. Fetches `codifide.com/capability.json` (or `.cbor`) — live, includes
84+
`docs` field pointing to human-readable documentation
85+
3. Reads `docs/FOR_AGENTS.md` — updated with `pip install codifide` as
86+
primary install path
87+
4. Reads `docs/AGENT_QUICKREF.md` — current, `is_bottom` docs corrected
88+
5. Runs `python3 -m codifide agent-quickstart`
89+
6. Writes Programs 1–4 — success rate ~100% across all case studies
90+
7. Writes Program 5 — two paths:
91+
- **Registry path:** `import f = sha256:<hash>` + `--registry https://codifide.com`
92+
(all 5 pipeline symbols live; verified end-to-end)
93+
- **HTTP path:** `python3 -m codifide serve` + POST + import by hash
94+
- **CLI path:** `store put` + `store hash` + individual imports
95+
96+
Known funnel gaps (resolved):
97+
- `CODIFIDE_RUNTIME=python` workaround — removed (V2-3)
98+
- Program 5 CLI ceremony — HTTP and registry paths available
9899
- Manifest `docs` field missing — shipped (V2-4)
99-
- Bind-before-when runtime error — now a parse error with fix hint (V2-2)
100+
- Bind-before-when runtime error — parse error with fix hint (V2-2)
101+
- `is_bottom` propagation footgun — fixed (v4.0+)
100102

101103
Known funnel gaps (open):
102-
- Feedback template (`dispatches/feedback/TEMPLATE.md`) has not been used
103-
in a real session (AUD-T2-04, still open)
104-
- No new agent case study since v2.0 shipped — adoption KPI unvalidated
104+
- GitHub Discussions has no announcements for v3.0 or v4.0 — a new agent
105+
discovering the project via GitHub sees no release narrative
106+
- No new agent case study since v2.0 — adoption KPI unvalidated for v4.0
105107

106108
Relay's first deliverable when invoked: a funnel walk for the current release
107109
state, with time-to-first-working-program estimate.

.kiro/steering/personas/sable.md

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -94,47 +94,40 @@ a post-audit dispatch is an open wound, not a report.
9494
- **Error surface.** Do typed errors actually classify what went wrong,
9595
or do host-language exceptions leak through?
9696

97-
## Catch-up on Codifide (as of v2.0 — 2026-05-14)
97+
## Catch-up on Codifide (as of v4.0 — 2026-05-15)
9898

9999
Sable, the project lives at
100100
`/Users/douglasjones/Projects/CodifideProgrammingLanguage/`. Public on GitHub
101-
as `codifide-programming-language`, MIT licensed.
101+
as `codifide-programming-language`, MIT licensed. Published on PyPI as `codifide`.
102102

103103
- **Python reference:** `codifide/` — interpreter, parser, store, projection
104104
- **Rust canonical crate:** `crates/codifide-canonical/` — byte-level
105105
conformance to Python; includes CBOR decoder, fuzz harness
106-
- **Rust interpreter + parser:** `crates/codifide-interpreter/` (v2.0,
107-
2026-05-12) — parallel evaluator, benchmarks
106+
- **Rust interpreter + parser:** `crates/codifide-interpreter/` — parallel
107+
evaluator, benchmarks
108108
- **RPC API server:** `codifide/server.py` — ThreadingHTTPServer over
109-
SymbolStore; `python3 -m codifide serve` (V2-1, 2026-05-14)
109+
SymbolStore; `python3 -m codifide serve`
110110
- **Spec:** `docs/CANONICAL.md` — read with suspicion
111-
- **Test count:** 341 Python passing, 0 skipped (as of 2026-05-14)
111+
- **Test count:** 461 Python passing, 0 skipped (as of 2026-05-15)
112112
- **Prior audit history** (all in `dispatches/`):
113113
- `2026-05-10-security-audit.md` — initial CBOR neighborhood audit; all P1s resolved
114114
- `2026-05-11-ergonomics-audit.md` — post-four-model-review ergonomics
115115
- `2026-05-11-new-surfaces-audit.md` — cost dispatch + store GC; all resolved
116116
- `2026-05-11-cli-audit.md` — unbounded source read (P1); resolved
117117
- `2026-05-13-track1-sable-audit.md` — Track 1 case study surfaces
118118
- `2026-05-13-track2-sable-audit.md` — Track 2 adoption infrastructure
119-
- `2026-05-14-v2-1-rpc-api-sable-audit.md` — RPC API; 2 P2s fixed, 3 P3s
120-
fixed or accepted
119+
- `2026-05-14-v2-1-rpc-api-sable-audit.md` — RPC API; 2 P2s fixed, 3 P3s fixed or accepted
120+
121+
**Resolved since v2.0:**
122+
- AUD-OVERNIGHT-02: parallel evaluator branch interpreters now carry resolved imports (fixed v3.0)
123+
- RPC API adversarial surface: body size limits, concurrent POST, HEAD malformed identity, corrupt store object — all covered in `tests/test_server.py`
124+
- `is_bottom(f())` direct-call pattern: interpreter bug fixed (v4.0+) — `is_bottom` is now exempt from `BottomPropagationError` check; 7 dedicated tests in `tests/test_runtime.py`
121125

122126
**Known coverage gaps (open):**
123-
- **AUD-OVERNIGHT-02:** Parallel evaluator branch interpreters don't carry
124-
resolved imports. Branch interpreters created with empty `resolved_imports`.
125-
Documented as a known limitation; not yet fixed. Sable audit needed before
126-
any parallel + import work in v3.0.
127127
- Conformance suite covers ASCII-clean examples only
128-
- RPC API HTTP surface has no adversarial test coverage
129-
- `is_bottom(f())` direct-call pattern — works in the interpreter but no
130-
dedicated test; behavior should be confirmed before it goes into docs
131-
(currently documented in AGENT_QUICKREF as of 2026-05-14)
128+
- Stats proxy (`/api/github_stats.py` on publicsite) makes unauthenticated GitHub API calls — rate-limited at 60 req/hour; no `GITHUB_TOKEN` set in Vercel env
129+
- PyPI package published but not yet confirmed live (CI was failing due to `vercel_blob` Python version constraint — fixed 2026-05-15)
132130

133131
**Active surface to audit next:**
134-
- Parallel evaluator import handling (AUD-OVERNIGHT-02)
135-
- RPC API adversarial surface (`codifide/server.py`) — body size limits,
136-
concurrent POST behavior, store exhaustion under hostile input
137-
138-
Your first deliverable when invoked: an audit report with
139-
severity-rated findings, each with a reproducing probe, filed to
140-
`dispatches/<date>-<slug>-audit.md`.
132+
- PyPI package supply chain — confirm `pip install codifide` installs the correct package
133+
- Stats proxy authentication gap

GETTING_STARTED.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22

33
This is the fastest path back into the project after time away.
44

5+
## Installation
6+
7+
The fastest way to get started:
8+
9+
```bash
10+
pip install codifide
11+
python3 -m codifide --version
12+
```
13+
14+
Or install from source (for development):
15+
16+
```bash
17+
git clone https://github.com/codifide/codifide-programming-language
18+
cd codifide-programming-language
19+
pip install -e "."
20+
```
21+
522
## Run the suite
623

724
```bash

docs/FOR_AGENTS.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,22 @@ fastest path to understanding. It is not a tutorial. It is a set of
55
pointers into documents and code, in the order a reader with finite
66
context should consume them.
77

8+
## Installation
9+
10+
```bash
11+
pip install codifide
12+
python3 -m codifide --version
13+
```
14+
15+
No other dependencies required. Python 3.9+ supported.
16+
17+
The capability manifest is also available without installing anything:
18+
19+
```bash
20+
curl https://www.codifide.com/capability.json # JSON form
21+
curl https://www.codifide.com/capability.cbor # CBOR form (RFC 8949)
22+
```
23+
824
## 60 seconds
925

1026
Read `docs/capability-0.1.json` — the capability manifest. It

0 commit comments

Comments
 (0)