diff --git a/.crumb b/.crumb index 47e192d..e935d21 100644 --- a/.crumb +++ b/.crumb @@ -21,8 +21,8 @@ "generated": { "children": [ { - "digest": "fc0cfe39d8317e972f29a05e44d760afd70fcec5a103cbe0645becc500d5bca5", - "last_commit": "33069a0", + "digest": "7ffdf9c89eb400d8df8a4b17b24c29aaf7bf7c87b67e4bc9a9251726fd98fa33", + "last_commit": "6f69ba6", "name": "docs", "purpose": "Directory docs. Purpose not yet described by a human." }, @@ -45,15 +45,15 @@ "purpose": "Directory tools. Purpose not yet described by a human." } ], - "children_root": "sha256:3d6d1af5f8eedea726491126502f827da18b35d852adfa26978e3798fc594f0e", - "compiled_at": "2026-10-12T15:39:37Z", + "children_root": "sha256:8b17c01896a208e4f472f356584b615ac4eb940c4082b657cb88b2134e13e4f8", + "compiled_at": "2026-10-12T16:08:10Z", "compiler": "crumb-compile/1", - "digest": "sha256:323a8be381e1b4138a2f8af1c6b47cca98392c98a5c89fc36f60ae341b48d5dd", + "digest": "sha256:24fa48c8654d658242d3669760259f4e2a00d623c25b45b7f5a3e92d590cc1c1", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "files": 305, - "generated_at_commit": "3f475a782e28a90bc0e7ae3380d3ea2a1e8c691d", - "source_tree": "sha256:cdd1e575e9393838b0904ddc48e2f39eed0d7104cbf876b80fc89a949ecc3532" + "files": 307, + "generated_at_commit": "6f69ba6a382fa106ead9bdd50ebf328ee2743545", + "source_tree": "sha256:518ad92725e942629206052a6d62ad342b4035482fc0638ebcb5cf4ee32e21cd" }, "owner_lane": "", "provenance": { diff --git a/.github/ISSUE_TEMPLATE/implementation-initiative.md b/.github/ISSUE_TEMPLATE/implementation-initiative.md new file mode 100644 index 0000000..04903b2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/implementation-initiative.md @@ -0,0 +1,49 @@ +--- +name: "AIEN implementation initiative" +about: "Plan, coordinate and qualify new AIEN features, experiments and significant changes" +title: "[INIT] " +assignees: '' +--- + +## Executive summary +**Goal:** +**Current status:** PROPOSED / NOT_RUN +**Next decision:** + +## Current implementation evidence +Checked live repositories, code paths, tests, existing issues and PRs: +- + +## Scope and non-goals +**Owning repository(s):** +**Deliverables:** +**Out of scope:** +**Plan authority / roadmap reference (if relevant):** + +## Dependencies, risks and decisions +- + +## Agent workstreams and file ownership +| Workstream | Owner / agent | Files or paths | Depends on | Parallel-safe? | +| --- | --- | --- | --- | --- | +| 0 - Scope and interfaces | | | | | + +## Acceptance and qualification gates +- [ ] G0: Specification and owner/interface contract frozen +- [ ] G1: Implementation tests and observables verified +- [ ] G2: Negative controls / adversarial checks where relevant +- [ ] G3: Reproducible evidence and independent verification where required +- [ ] G4: Integration and merged-code verification + +Write PASS / FAIL / INCONCLUSIVE / NOT_RUN / BLOCKED, with source commit and evidence links, for **each** gate. + +## Implementation ledger +**Child issues:** +**Pull requests / branches:** +**Merged commits:** +**Test and receipt links:** +**Known failures / not run:** +**Final verdict:** NOT_RUN +**Follow-ups:** + +See the [issue-first delivery protocol](https://github.com/aien-dev/aien-architecture/blob/main/docs/process/ISSUE_FIRST_DELIVERY.md). An issue, green CI result or design document is not automatically proof of scientific or hardware qualification. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 86dc066..c51d981 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,3 +1,15 @@ +## Issue-first tracking + +**Tracking issue:** Refs owner/repo#NUMBER (use `Closes #NUMBER` only for final acceptance). +**Gates advanced and status:** PASS / FAIL / INCONCLUSIVE / NOT_RUN / BLOCKED +**Source, test and qualification evidence:** Link exact code/commits, commands and receipts. + +- [ ] Implementation issue exists and its scope/ownership is current. +- [ ] This PR documents remaining unrun/failed gates. +- [ ] Issue ledger will be reconciled when this PR merges. + +See [`docs/process/ISSUE_FIRST_DELIVERY.md`](docs/process/ISSUE_FIRST_DELIVERY.md). + ## Architecture change ### Responsibility changed diff --git a/AGENTS.md b/AGENTS.md index c71b1cd..536a0c6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -17,3 +17,7 @@ Rules: - Current subsystem name: FORGE. Historical `PHYSICS_*` milestone IDs/receipts remain unchanged. - Implementation/evidence truth beats planning claims. If code and plan differ, record the discrepancy; do not pretend the target is implemented. - A milestone status changes only in `doctrine/ROADMAP.md`. + +## Issue-first work tracking + +For new substantive work, follow [`docs/process/ISSUE_FIRST_DELIVERY.md`](docs/process/ISSUE_FIRST_DELIVERY.md). Open or reuse a tracking issue before implementation, freeze acceptance gates and non-overlapping workstream ownership, link reviewable PRs and evidence, and record qualified results before closure. This protocol organizes work; it does not override `PLAN_AUTHORITY.md`, the active execution plan or the roadmap. diff --git a/docs/.crumb b/docs/.crumb index bf78be8..bdfa27f 100644 --- a/docs/.crumb +++ b/docs/.crumb @@ -80,14 +80,14 @@ } ], "children_root": "sha256:ca7f28baffe004ea406f1f505489759f6557abfeaa8327aa4d170e18b2e8dbb8", - "compiled_at": "2026-10-12T04:06:35Z", + "compiled_at": "2026-10-12T16:08:10Z", "compiler": "crumb-compile/1", - "digest": "sha256:fc0cfe39d8317e972f29a05e44d760afd70fcec5a103cbe0645becc500d5bca5", + "digest": "sha256:7ffdf9c89eb400d8df8a4b17b24c29aaf7bf7c87b67e4bc9a9251726fd98fa33", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "files": 170, - "generated_at_commit": "3882369c434b84460a4da9b7fb52365c1d782e14", - "source_tree": "sha256:56aacc3a15a4b9e69150b40ee84297f8a7c5338a4513ee75857847d5f342a390" + "files": 171, + "generated_at_commit": "6f69ba6a382fa106ead9bdd50ebf328ee2743545", + "source_tree": "sha256:affa7e643d34f38b1bf568c5cf5894449a970d253621ac5190350c91014d7e3a" }, "owner_lane": "", "provenance": { diff --git a/docs/process/ISSUE_FIRST_DELIVERY.md b/docs/process/ISSUE_FIRST_DELIVERY.md new file mode 100644 index 0000000..198567e --- /dev/null +++ b/docs/process/ISSUE_FIRST_DELIVERY.md @@ -0,0 +1,58 @@ +# Issue-first delivery protocol + +**Status:** OPERATING PROCESS (effective on merge). **Scope:** substantive new AIEN capabilities, experiments, significant fixes, cross-repository changes and agent implementation work. **NOT A MASTER PLAN.** + +**Tracking issue:** [aien-architecture #175](https://github.com/aien-dev/aien-architecture/issues/175). **Reference implementation issue:** [omega #358 (AT-0)](https://github.com/aien-dev/omega/issues/358). + +## Authority and evidence + +This document governs **how work is recorded and qualified**, not what AIEN should build or the order in which it should build it. It does not supersede [PLAN_AUTHORITY.md](../../PLAN_AUTHORITY.md), [CURRENT_EXECUTION_PLAN.md](../../CURRENT_EXECUTION_PLAN.md), [doctrine/ARCHITECTURE.md](../../doctrine/ARCHITECTURE.md), accepted ADRs or [doctrine/ROADMAP.md](../../doctrine/ROADMAP.md). + +Before opening an issue, check the live owning repository's source, tests, build contracts and existing issues. Plans and issues establish intent, **not** current implementation. Never mark a roadmap milestone complete solely because an issue or PR closed. Only the canonical milestone registry owns that status. + +## Normal workflow + +1. **Discover and deduplicate.** Identify the owning repository and current executable behavior. Search existing open/closed issues and merged PRs. If a capability already exists, link the evidence instead of recreating it. +2. **Open one tracking issue before work.** Use the initiative issue template for new capabilities, research, major fixes or cross-repo work. Give an executive summary that a non-specialist can understand, precise observed code evidence, goal, excluded scope, owner, dependencies and risks. Set status `PROPOSED`. Smaller defects can use the repository's existing bug form. +3. **Define acceptance before coding.** Name measurable, falsifiable gates (tests, baseline/negative controls, security/performance checks when relevant), artifacts and independent verification needs. Distinguish `PASS`, `FAIL`, `INCONCLUSIVE`, `NOT_RUN` and applicable blocked statuses. Declare agent and path ownership. Freeze interfaces before parallel implementations. +4. **Plan bounded workstreams.** Small task: one owner, one branch and one PR. Medium task: one parent issue with a few independently reviewable PRs. Large cross-repo task: parent issue in `aien-architecture` plus child issues in owning repositories, linked in both directions. The parent coordinates, not replaces, the execution plan or owning-repo backlog. Spawn as many agents as useful, **not a fixed number**. Do not assign two concurrent agents the same paths. +5. **Implement via branches and PRs.** Work in isolated worktrees/branches; respect each repository's `AGENTS.md`, access, security and CI. Every implementation PR references a tracking issue and identifies the gate(s) it advances. Use `Refs owner/repo#N` on intermediate PRs; use `Closes #N` only when the PR really completes that issue. Keep one PR independently testable. +6. **Verify with primary evidence.** Show exact commands, outputs/results, negative tests, commit IDs, relevant machine profile and immutable receipts where required. An assertion in an issue, README, report or agent summary is not evidence of implementation. Independent qualification must be independent in fact; otherwise record `UNISOLATED` or `INCONCLUSIVE`. +7. **Reconcile and close.** The issue is the change ledger: maintain links to child issues, PRs, merged SHAs, evidence and known failures. Close only when the issue's acceptance contract is satisfied **or** close explicitly as cancelled/superseded with that reason. Link downstream defects/new work rather than burying partial results. Before changing a canonical roadmap status, follow `PLAN_AUTHORITY.md` and cite qualified evidence. + +## Minimal initiative issue contract + +Every substantive initiative must have: + +- **Executive summary:** objective, current status, next decision, plain English. +- **Current state:** checked source paths, tests and related existing issues/PRs; observed versus proposed. +- **Scope:** deliverables, non-goals, risks, affected repositories and authoritative plan/milestone reference (if any). +- **Ownership and order:** paths, agent/worktree boundaries, serial dependencies and parallel-safe work. +- **Acceptance gates:** observable results, expected evidence, failure and `NOT_RUN` handling. +- **Tracking ledger:** linked child issues, reviewable PRs, merge commits, receipts, qualification outcomes and follow-ups. + +For experimental research, append the hypothesis, alternative explanations, positive and negative controls, independence/blinding conditions, precommitted scoring and precisely bounded claims. For a routine bug, keep these sections proportionate. + +## Status is not a scientific verdict + +Progress states: `PROPOSED` -> `SCOPED` -> `ACTIVE` -> `IN_REVIEW` -> `COMPLETE`; `BLOCKED` or `CANCELLED` where appropriate. + +Qualification verdicts are **separate**: `PASS`, `FAIL`, `INCONCLUSIVE`, `NOT_RUN` or documented blocked status. A green CI check is not evidence of a scientific discovery, silicon qualification, security guarantee or benchmark superiority. An issue can be `COMPLETE` with a recorded `FAIL` when its objective was to run an experiment and report the outcome honestly. + +## Exceptions, older work and enforcement + +- Active existing work may keep its existing issues; attach initiative fields and evidence only when its scope expands substantially. Do not retroactively rewrite historical evidence. +- Incident response or urgent security containment may proceed immediately through an authorized process; create/link an issue with evidence as soon as safe, without exposing secrets or exploitation details publicly. +- Trivial documentation or typo-only changes may use a focused PR directly; **new capabilities and material implementation changes are always issue-first**. +- The organization `.github` repository supplies **fallback** issue/PR templates when a repository does not have local templates. Repositories with local templates must opt into the initiative format explicitly. Templates are defaults, not proof that every repository enforces a gate. +- Hard CI/branch-protection enforcement is a separate decision requiring compatible rollout and verified checks. Until enabled, reviewers enforce issue linking and evidence requirements. Never claim this protocol is technically enforced merely because the template exists. + +## Operator checklist + +- [ ] Current code/test state inspected and existing work deduplicated +- [ ] Tracking issue opened with scope, status, owner and acceptance gates +- [ ] Plan authority and cross-repo dependencies checked +- [ ] Agent worktrees and file ownership assigned without overlap +- [ ] PRs linked to issue and tests/evidence attached +- [ ] Qualification verdicts and negative/blocked outcomes recorded +- [ ] Merged PRs/commits reconciled; issue closed with an auditable summary