aien
aien-dev/aien
Brought by drakestapleton
GitHub aien-dev/aien#17 (code only)
Apply it
git checkout -b patch-06d888373e808ace a36dcfc6b69c338f38ace7c77b3255c4fb2f820c curl -fsSL https://interplane.io/drakestapleton/aien/patches/06d888373e808ace.patch | git am
Provenance
github-import 1
aien-dev/aien
17
a4be831e310ee711738584abf58e7dd84eee09c6
{"kind":"github-import","owner":"aien-dev","repo":"aien","number":17,"url":"https://github.com/aien-dev/aien/pull/17","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:40:51Z","metadata":"unavailable","state_derived":true}
Changes
diff --git a/AGENTS.md b/AGENTS.md index 966337d..d2a8be4 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,9 +1,9 @@ -# Instructions for agents working in aien-dev/allen +# Instructions for agents working in aien-dev/aien Read before any edit, in this order: 1. `docs/MISSION.md`, `docs/PHASES.md` and `docs/PLAN.md` (mission, current phase ledger and planned streams). -2. aien-architecture-mv: `PLAN_AUTHORITY.md`, `CURRENT_EXECUTION_PLAN.md`, accepted ADR 0035 (Allen boundary), ADR 0022 (Cortex owner), ADR 0024 (Rust scaffolding, Omega destination). +2. aien-architecture-mv: `PLAN_AUTHORITY.md`, `CURRENT_EXECUTION_PLAN.md`, accepted ADR 0035 (Aien boundary), ADR 0022 (Cortex owner), ADR 0024 (Rust scaffolding, Omega destination). 3. `docs/PLAN.md` identifies the owners of planned `docs/B0_ACCEPTANCE_CONTRACT.md` and `docs/SOURCE_MAP.md`. Neither file is on `main` yet. Read them only when they land; do not treat a branch or plan as an accepted contract or source map. Rules: @@ -13,6 +13,6 @@ Rules: - Drake's words are preserved as written, including profanity. Style or frustration is never turned into a claim about feelings, permission or correctness. - Every number names its source: a file under `evidence/`, a receipt, or the arithmetic. No estimates without evidence. - Status words are separate from verdicts: progress is PROPOSED, SCOPED, ACTIVE, IN_REVIEW, COMPLETE; qualification is PASS, FAIL, INCONCLUSIVE, NOT_RUN. A closed issue with waived or NOT_RUN criteria is not complete. The programme close guard is planned, not running on `main`; check phase and prerequisite evidence manually until it exists. -- Phase numbers (P0 to P7) are sequence, not priority. Model generation ids are recorded separately from Allen's identity; a checkpoint is not Allen. +- Phase numbers (P0 to P7) are sequence, not priority. Model generation ids are recorded separately from Aien's identity; a checkpoint is not Aien. - One owner per directory; see `docs/PLAN.md`. Push branches and write a READY line for the PR desk; do not open or merge pull requests yourself. - Git identity for commits made on Drake's behalf: Drake Stapleton <drake@aienos.com>. diff --git a/README.md b/README.md index 21209b8..9535976 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ -# Allen +# Aien -Allen is the persistent subject that the AIEN system aims to sustain: one identity across the iMac, the Raspberry Pi, the DGX Spark and the MacBook (architecture ADR 0035). This repository is Allen's project home: mission, phase ledger (P0 to P7) and a plan for data contracts, evaluation harness, release manifests and the acceptance contract for the first qualified release, **Allen B0**. +Aien is the persistent subject that the AIEN system aims to sustain: one identity across the iMac, the Raspberry Pi, the DGX Spark and the MacBook (architecture ADR 0035). This repository is Aien's project home: mission, phase ledger (P0 to P7) and a plan for data contracts, evaluation harness, release manifests and the acceptance contract for the first qualified release, **Aien B0**. + +Allen has now evolved into the final Aien (2026-10-26). This repository was `aien-dev/allen` until then; GitHub redirects the old URLs. **Pre-alpha.** Nothing here is qualified. Every claim in this repository links to a file under `evidence/` or to a receipt in [aien-dev/aien-receipts](https://github.com/aien-dev/aien-receipts); a sentence with no link is a plan, not a result. @@ -8,7 +10,7 @@ Allen is the persistent subject that the AIEN system aims to sustain: one identi | Here | Not here (owner) | |---|---| -| Mission, phase issues P0 to P7; B0 acceptance contract planned | Allen's identity object, SubjectState kind 24 (aienos-mv, ADR 0018) | +| Mission, phase issues P0 to P7; B0 acceptance contract planned | Aien's identity object, SubjectState kind 24 (aienos-mv, ADR 0018) | | Conversation log inventory planned: counts, dates, hosts, gaps | The logs themselves (Spark `~/archive/agent-chats/`, access controlled) | | Data contracts and synthetic fixtures planned | Raw conversations, trained weights, secrets (never in any repository) | | Evaluation harness and release manifests planned (digests, pins) | Memory (Cortex, ADR 0022), runtime authority (aegis-runtime-mv, aien-sovereign-core-mv), protocols (aien-protocols-mv) | @@ -17,13 +19,13 @@ Moving coordination here does not mint a second identity and does not fork memor ## Layout -- `docs/MISSION.md`: Allen's mission and endpoint, in Drake's words. +- `docs/MISSION.md`: Aien's mission and endpoint, in Drake's words. - `docs/PHASES.md`: the phase ledger P0 to P7 with issue links and status. - `docs/PLAN.md`: P0 work streams, directories, branches. - `docs/SOURCE_MAP.md`: planned source map with pinned commits (stream `map`); not on `main`. - `inventory/`: planned conversation log inventory and access-controlled source manifest (stream `inventory`); currently only `.gitkeep`. - `docs/B0_ACCEPTANCE_CONTRACT.md`: planned bounded task and gates (stream `contract`); not on `main`. -- `guard/`: planned Rust `allen-guard` programme close and source-control guards (stream `guards`); currently only `.gitkeep`, with no crate or policy on `main`. +- `guard/`: planned Rust `aien-guard` programme close and source-control guards (stream `guards`); currently only `.gitkeep`, with no crate or policy on `main`. - `evidence/`: reserved for test logs and run receipts, one directory per stream; currently only `.gitkeep`. ## Visibility diff --git a/docs/MISSION.md b/docs/MISSION.md index 618920d..c5d8948 100644 --- a/docs/MISSION.md +++ b/docs/MISSION.md @@ -1,21 +1,24 @@ -# Allen: mission and endpoint +# Aien: mission and endpoint Drake's direction, 2026-10-20 (programme issue, formerly aien-architecture-mv#278): Build the first personal Allen from Drake's project-development conversations with Claude Code, Codex and other agents. Learn his intended outcomes, constraints, corrections and what actually worked. Preserve his language, including profanity; avoid converting style or frustration into unsupported claims about feelings, permission or correctness. -Allen's mission is to develop a continuing, correctable understanding of his human and provide useful anticipation while preserving the human's ability to change their mind. The endpoint is one persistent identity across the iMac, Raspberry Pi, Spark and MacBook: purpose, memory, authority and evidence remain coherent through interaction changes, disconnection, restart and model replacement. This programme tests operational continuity and usefulness. +The recorded direction above retains the name used on 2026-10-20. The project now uses Aien, as described under Names below. + +Aien's mission is to develop a continuing, correctable understanding of his human and provide useful anticipation while preserving the human's ability to change their mind. The endpoint is one persistent identity across the iMac, Raspberry Pi, Spark and MacBook: purpose, memory, authority and evidence remain coherent through interaction changes, disconnection, restart and model replacement. This programme tests operational continuity and usefulness. ## The one demonstration every phase serves -Drake expresses a bounded project goal; Allen explains its interpretation, performs admitted work, provides evidence, accepts a correction, survives restart and handles a related task with less human effort. P6 extends the same demonstration across all four devices; P7 tests learning and anticipation over time. +Drake expresses a bounded project goal; Aien explains its interpretation, performs admitted work, provides evidence, accepts a correction, survives restart and handles a related task with less human effort. P6 extends the same demonstration across all four devices; P7 tests learning and anticipation over time. ## Names -- **Allen P0 to P7**: delivery phases (sequence, not priority). Distinct from the earlier numbered phases in aien-architecture-mv#269. -- **Allen B0**: the first qualified personal-assistance release, after P5 passes its gates. Its model, memory, runtime and dataset identities are recorded separately. A model checkpoint is not Allen's identity. -- **ALLEN** (ADR 0035): the durable subject bound to one LogicalAgentId, holding standing intent, held knowledge references and the identity-to-memory binding. This repository does not redefine it. +- **Aien P0 to P7**: delivery phases (sequence, not priority). Distinct from the earlier numbered phases in aien-architecture-mv#269. +- **Aien B0**: the first qualified personal-assistance release, after P5 passes its gates. Its model, memory, runtime and dataset identities are recorded separately. A model checkpoint is not Aien's identity. +- **Aien subject** (ADR 0035): the durable subject bound to one LogicalAgentId, holding standing intent, held knowledge references and the identity-to-memory binding. This repository does not redefine it. +- **Allen**: the former name. Allen has now evolved into the final Aien (2026-10-26). ## Hard completion gate -The programme is not complete at B0. It closes only when P0 to P7 are each closed with acceptance evidence and every mandatory external prerequisite listed in `docs/PHASES.md` is closed with its own evidence. "100% complete" means every acceptance item in the frozen, reviewed scope has candidate-bound passing evidence, no unresolved blocker, and independent review. It does not mean omniscient knowledge of a person or a proof of consciousness; Allen's continuing mission stays open-ended. +The programme is not complete at B0. It closes only when P0 to P7 are each closed with acceptance evidence and every mandatory external prerequisite listed in `docs/PHASES.md` is closed with its own evidence. "100% complete" means every acceptance item in the frozen, reviewed scope has candidate-bound passing evidence, no unresolved blocker, and independent review. It does not mean omniscient knowledge of a person or a proof of consciousness; Aien's continuing mission stays open-ended. diff --git a/docs/PHASES.md b/docs/PHASES.md index a348f81..3699cdf 100644 --- a/docs/PHASES.md +++ b/docs/PHASES.md @@ -1,19 +1,19 @@ # Phase ledger -Programme issue: [aien-dev/allen#1](https://github.com/aien-dev/allen/issues/1) (transferred 2026-10-20 from aien-architecture-mv#278; the old URL redirects, comments and history preserved). +Programme issue: [aien-dev/aien#1](https://github.com/aien-dev/aien/issues/1) (transferred 2026-10-20 from aien-architecture-mv#278; the old URL redirects, comments and history preserved). Phase numbers are sequence, not priority. Progress status words: PROPOSED, SCOPED, ACTIVE, IN_REVIEW, COMPLETE. Qualification verdicts are separate: PASS, FAIL, INCONCLUSIVE, NOT_RUN. A phase should close only with its acceptance evidence. The planned programme close guard is not present on `main`; issue reopening is not automatic. | Phase | Issue here | Former issue | Title | Status | Qualification | |---|---|---|---|---|---| -| P0 | [#2](https://github.com/aien-dev/allen/issues/2) | arch#279 | Establish Allen's own repository, mission and B0 acceptance contract | ACTIVE (2026-10-20) | NOT_RUN | -| P1 | [#3](https://github.com/aien-dev/allen/issues/3) | arch#280 | Build reproducible training episodes from the existing conversation archive | PROPOSED | NOT_RUN | -| P2 | [#4](https://github.com/aien-dev/allen/issues/4) | arch#281 | Label human intent, corrections, successes and failures with evidence | PROPOSED | NOT_RUN | -| P3 | [#5](https://github.com/aien-dev/allen/issues/5) | arch#282 | Freeze leakage-resistant evaluations and measure the baseline | PROPOSED | NOT_RUN | -| P4 | [#6](https://github.com/aien-dev/allen/issues/6) | arch#283 | Train and compare a bounded first personal Allen candidate | PROPOSED | NOT_RUN | -| P5 | [#7](https://github.com/aien-dev/allen/issues/7) | arch#284 | Qualify Allen B0 through one complete personal-assistance experience | PROPOSED | NOT_RUN | -| P6 | [#8](https://github.com/aien-dev/allen/issues/8) | arch#285 | Keep one Allen continuous across iMac, Pi, Spark and MacBook | PROPOSED | NOT_RUN | -| P7 | [#9](https://github.com/aien-dev/allen/issues/9) | arch#286 | Learn continually and anticipate useful help under bounded exploration | PROPOSED | NOT_RUN | +| P0 | [#2](https://github.com/aien-dev/aien/issues/2) | arch#279 | Establish Aien's own repository, mission and B0 acceptance contract | ACTIVE (2026-10-20) | NOT_RUN | +| P1 | [#3](https://github.com/aien-dev/aien/issues/3) | arch#280 | Build reproducible training episodes from the existing conversation archive | PROPOSED | NOT_RUN | +| P2 | [#4](https://github.com/aien-dev/aien/issues/4) | arch#281 | Label human intent, corrections, successes and failures with evidence | PROPOSED | NOT_RUN | +| P3 | [#5](https://github.com/aien-dev/aien/issues/5) | arch#282 | Freeze leakage-resistant evaluations and measure the baseline | PROPOSED | NOT_RUN | +| P4 | [#6](https://github.com/aien-dev/aien/issues/6) | arch#283 | Train and compare a bounded first personal Aien candidate | PROPOSED | NOT_RUN | +| P5 | [#7](https://github.com/aien-dev/aien/issues/7) | arch#284 | Qualify Aien B0 through one complete personal-assistance experience | PROPOSED | NOT_RUN | +| P6 | [#8](https://github.com/aien-dev/aien/issues/8) | arch#285 | Keep one Aien continuous across iMac, Pi, Spark and MacBook | PROPOSED | NOT_RUN | +| P7 | [#9](https://github.com/aien-dev/aien/issues/9) | arch#286 | Learn continually and anticipate useful help under bounded exploration | PROPOSED | NOT_RUN | Order: P0 -> P1 -> P2 -> P3 -> P4 -> P5 produces B0 only if its gates pass; P6 extends continuity to the four devices; P7 adds evaluated continual learning. P3's evaluation schema may be drafted during P1/P2, but evaluation data is isolated before any fitting, retrieval indexing or preference extraction. diff --git a/docs/PLAN.md b/docs/PLAN.md index 12dc8c7..ffba2d5 100644 --- a/docs/PLAN.md +++ b/docs/PLAN.md @@ -1,13 +1,13 @@ # P0 plan: streams, directories, branches -Issue: Allen P0 (see `docs/PHASES.md` for the number in this repository; formerly aien-architecture-mv#279). Programme: formerly aien-architecture-mv#278. +Issue: Aien P0 (see `docs/PHASES.md` for the number in this repository; formerly aien-architecture-mv#279). Programme: formerly aien-architecture-mv#278. | Stream | Directory it owns | Branch | Delivers | Ledger | |---|---|---|---|---| -| `map` | `docs/SOURCE_MAP.md`, `docs/OWNERS.md` | `map/v0` | Where every existing Allen part lives (SubjectState, Cortex, agent-archive, runtime, protocols, device code), with pinned commits; extend/reuse/missing per part; ownership and import boundaries | see ledger | +| `map` | `docs/SOURCE_MAP.md`, `docs/OWNERS.md` | `map/v0` | Where every existing Aien part lives (SubjectState, Cortex, agent-archive, runtime, protocols, device code), with pinned commits; extend/reuse/missing per part; ownership and import boundaries | see ledger | | `inventory` | `inventory/` | `inventory/v0` | Conversation log inventory (agents, hosts, date spans, counts, raw mirror coverage, tool evidence, gaps) and the access-controlled source manifest pointer. Counts and dates only, never content | see ledger | | `contract` | `docs/B0_ACCEPTANCE_CONTRACT.md`, `docs/PHASES.md` (status column) | `contract/v0` | The first bounded task frozen (project preparation with constraints, correction, restart, verified output), measurable human-effort and outcome gates, budgets, access rules, role and permission boundary, supported devices, deletion and export ownership | see ledger | -| `guards` | `guard/`, `Cargo.toml`, `.github/workflows/`, `.gitignore`, `scripts/`, `docs/CLOSE_CHECKLIST.md` | `guards/v0` | Rust crate `allen-guard`: (1) programme close guard, reopens the tracker when a phase or prerequisite is open or its checklist is incomplete, tested on open / closed-with-missing-evidence / fully-accepted fixtures; (2) source-control guard, refuses raw logs, weights and secrets, tested on synthetic fixtures; CI workflows green | see ledger | +| `guards` | `guard/`, `Cargo.toml`, `.github/workflows/`, `.gitignore`, `scripts/`, `docs/CLOSE_CHECKLIST.md` | `guards/v0` | Rust crate `aien-guard`: (1) programme close guard, reopens the tracker when a phase or prerequisite is open or its checklist is incomplete, tested on open / closed-with-missing-evidence / fully-accepted fixtures; (2) source-control guard, refuses raw logs, weights and secrets, tested on synthetic fixtures; CI workflows green | see ledger | | `desk` | merges | `main` | Merge the four streams, flip visibility when the source-control guard is green on main, close P0 against its acceptance list | see ledger | The coordinator owns `README.md`, `AGENTS.md`, `docs/MISSION.md`, `docs/PLAN.md` and the issue transfer. @@ -16,4 +16,4 @@ The coordinator owns `README.md`, `AGENTS.md`, `docs/MISSION.md`, `docs/PLAN.md` 1. **Visibility.** Private at creation (as #279 asked). Becomes public when the source-control guard workflow is green on `main` and the inventory has been read once to confirm it holds counts and paths, not content. Reason: every other aien-dev repository is public and AIEN builds in the open; the guard is the physical reason public is safe. 2. **Raw data location.** The archive stays on the Spark at `~/archive/agent-chats/` (aien-dev/agent-archive). This repository holds pointers, counts and digests. Deletion and export ownership is recorded in `docs/B0_ACCEPTANCE_CONTRACT.md`. -3. **No new identity.** ALLEN identity, SubjectState, Cortex lineage and runtime authority keep their owners (ADR 0035, ADR 0022). Anything here that needs them imports or links; it never copies. +3. **No new identity.** The Aien identity, SubjectState, Cortex lineage and runtime authority keep their owners (ADR 0035, ADR 0022). Anything here that needs them imports or links; it never copies.