Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Bug
description: Something Baley does wrong, or a doc that says something false
type: Bug
labels: [needs-triage]
labels: [bug, needs-triage]
body:
- type: textarea
id: what
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Report a security problem
url: https://github.com/jcrenshaw-dev/baley/security/advisories/new
url: https://github.com/crenshawdev/baley/security/advisories/new
about: Report it privately. Never in a public issue.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ Baley collects nothing about you, sends no telemetry, and sends data only to ser

## Current state

- Installs use unsigned development artifacts. `install.sh` and `baley update` check SHA-256 against an unsigned manifest, and signature verification comes before any release ([#14](https://github.com/jcrenshaw-dev/baley/issues/14)). The design signs each release's manifests with an OpenSSH Ed25519 key that stays on the maintainer's machine, and both will verify that signature against the public key they carry.
- The parked review engine is still compiled in. No command or tool reaches it, but it reads environment keys and `providers.env` and can call providers. Build 9 ([#30](https://github.com/jcrenshaw-dev/baley/issues/30)) deletes it.
- `baley models update` prints a fetch only for an acknowledged provider. The same check before a review, including for hand-edited settings, comes with Build 4 ([#25](https://github.com/jcrenshaw-dev/baley/issues/25)).
- Outside reviews of plans and diffs are not built yet. Build 4 ([#25](https://github.com/jcrenshaw-dev/baley/issues/25)) adds them, along with phase planning and plan approval.
- A plan's file lease is not yet enforced when a task closes. Build 5 ([#26](https://github.com/jcrenshaw-dev/baley/issues/26)) enforces it.
- Anchors are pushed only when you run `baley anchor`. Build 6 ([#27](https://github.com/jcrenshaw-dev/baley/issues/27)) anchors automatically.
- macOS support is written but has not been run or qualified, and CI runs on Linux only ([#24](https://github.com/jcrenshaw-dev/baley/issues/24)).
- Installs use unsigned development artifacts. `install.sh` and `baley update` check SHA-256 against an unsigned manifest, and signature verification comes before any release ([#14](https://github.com/crenshawdev/baley/issues/14)). The design signs each release's manifests with an OpenSSH Ed25519 key that stays on the maintainer's machine, and both will verify that signature against the public key they carry.
- The parked review engine is still compiled in. No command or tool reaches it, but it reads environment keys and `providers.env` and can call providers. Build 9 ([#30](https://github.com/crenshawdev/baley/issues/30)) deletes it.
- `baley models update` prints a fetch only for an acknowledged provider. The same check before a review, including for hand-edited settings, comes with Build 4 ([#25](https://github.com/crenshawdev/baley/issues/25)).
- Outside reviews of plans and diffs are not built yet. Build 4 ([#25](https://github.com/crenshawdev/baley/issues/25)) adds them, along with phase planning and plan approval.
- A plan's file lease is not yet enforced when a task closes. Build 5 ([#26](https://github.com/crenshawdev/baley/issues/26)) enforces it.
- Anchors are pushed only when you run `baley anchor`. Build 6 ([#27](https://github.com/crenshawdev/baley/issues/27)) anchors automatically.
- macOS support is written but has not been run or qualified, and CI runs on Linux only ([#24](https://github.com/crenshawdev/baley/issues/24)).

The [roadmap](docs/roadmap.md) carries everything else, build by build.

Expand Down Expand Up @@ -61,11 +61,11 @@ The details, including what install writes and when it refuses, are in [docs/ins

Keys live in your environment, where every program Claude Code starts can see them, agents and subagents included. Nothing scrubs a key a command prints. Your code goes to the chosen provider under its terms.

A fresh install enables no outside provider. `baley config interview` adds one only after you accept that warning, and Build 4 ([#25](https://github.com/jcrenshaw-dev/baley/issues/25)) adds the same check before every review, including for hand-edited settings. The details are in [docs/outside-reviews.md](docs/outside-reviews.md).
A fresh install enables no outside provider. `baley config interview` adds one only after you accept that warning, and Build 4 ([#25](https://github.com/crenshawdev/baley/issues/25)) adds the same check before every review, including for hand-edited settings. The details are in [docs/outside-reviews.md](docs/outside-reviews.md).

## How it is designed and built

- **What is being built:** the [milestones](https://github.com/jcrenshaw-dev/baley/milestones), each a theme of the design, and the build issues under them.
- **What is being built:** the [milestones](https://github.com/crenshawdev/baley/milestones), each a theme of the design, and the build issues under them.
- **In what order:** the [roadmap](docs/roadmap.md), from the build under way to the first release, updated by each build pull request.
- **How it is designed:** every significant change starts as a design document with requirements and diagrams, and each architectural decision is kept as a decision record. See [Baley: product requirements](docs/design/prd/baley.md), [0002: System design](docs/design/0002-system-design.md), [the design process](docs/design/README.md), [design documents](docs/design/), [decision records](docs/adr/) and [the glossary](CONTEXT.md), which gives one term for each concept.
- **How it is built:** every change reaches `main` through a pull request with passing required checks (`cargo-test`, `clippy`, `cargo-deny`, `fmt`).
Expand Down
2 changes: 1 addition & 1 deletion crates/baley-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2024"
license = "MIT"
description = "Baley's domain: views, projectors and the rules that decide what may be recorded, behind the storage port."
repository = "https://github.com/jcrenshaw-dev/baley"
repository = "https://github.com/crenshawdev/baley"
rust-version = "1.98"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion crates/baley-store-sqlite/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2024"
license = "MIT"
description = "The SQLite adapter of the Baley storage port."
repository = "https://github.com/jcrenshaw-dev/baley"
repository = "https://github.com/crenshawdev/baley"
rust-version = "1.98"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion crates/baley-store/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2024"
license = "MIT"
description = "The storage port of the Baley evidence ledger: the event and its hash chain, the traits an engine adapter implements, and the conformance suite every adapter passes."
repository = "https://github.com/jcrenshaw-dev/baley"
repository = "https://github.com/crenshawdev/baley"
rust-version = "1.98"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion crates/baley/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2024"
license = "MIT"
description = "Baley, the owner's control plane for AI-assisted engineering: the binary that serves MCP, guards tool calls and keeps the evidence ledger."
repository = "https://github.com/jcrenshaw-dev/baley"
repository = "https://github.com/crenshawdev/baley"
rust-version = "1.98"
publish = false

Expand Down
4 changes: 2 additions & 2 deletions docs/adr/0027-vendor-folders-and-plain-keys.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ Chosen options: **2, 6 and 9**, and the libraries below.

### Follow-up

- Build 2 ([#23](https://github.com/jcrenshaw-dev/baley/issues/23)) builds the folders, the `keys.env` reader with its ownership, mode and duplicate-name checks, `baley exec --key`, detection with `reqwest`, and the open checks of EVD-R22.
- Build 3 ([#24](https://github.com/jcrenshaw-dev/baley/issues/24)) extends the host sandbox and the guard to the whole config folder: writes denied on both hosts, reads denied on Claude Code.
- Build 2 ([#23](https://github.com/crenshawdev/baley/issues/23)) builds the folders, the `keys.env` reader with its ownership, mode and duplicate-name checks, `baley exec --key`, detection with `reqwest`, and the open checks of EVD-R22.
- Build 3 ([#24](https://github.com/crenshawdev/baley/issues/24)) extends the host sandbox and the guard to the whole config folder: writes denied on both hosts, reads denied on Claude Code.

## Options in detail

Expand Down
2 changes: 1 addition & 1 deletion docs/adr/0028-one-http-stack.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

## Context and problem

Baley speaks HTTP in two directions. It calls each provider's model-list endpoint for detection (design 0003, CFG-R20), and the shared server accepts MCP over HTTP when it runs as a background service (ADR 0011, SYS-R2, HST-R1). Build 2 ([#23](https://github.com/jcrenshaw-dev/baley/issues/23)) makes the calls; Build 3 ([#24](https://github.com/jcrenshaw-dev/baley/issues/24)) builds the server.
Baley speaks HTTP in two directions. It calls each provider's model-list endpoint for detection (design 0003, CFG-R20), and the shared server accepts MCP over HTTP when it runs as a background service (ADR 0011, SYS-R2, HST-R1). Build 2 ([#23](https://github.com/crenshawdev/baley/issues/23)) makes the calls; Build 3 ([#24](https://github.com/crenshawdev/baley/issues/24)) builds the server.

`reqwest` 0.12 is already a direct dependency, built on hyper 1 and tokio, with rustls and the ring provider. tokio already runs the server. The MCP server is built with `rmcp` 3.2.0, whose streamable HTTP server transport serves MCP over HTTP and needs an HTTP server to host it. `rmcp` tests that transport on axum 0.8: axum 0.8 is a dev-dependency in rmcp 3.2.0's `Cargo.toml`. New MCP protocol revisions reach Baley through `rmcp`, so on the host `rmcp` tests they arrive already exercised.

Expand Down
2 changes: 1 addition & 1 deletion docs/adr/0029-a-host-may-offer-more.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Chosen option: **2**. The host that offers less still sets the floor, and the wh

### Follow-up

- Build 3 ([#24](https://github.com/jcrenshaw-dev/baley/issues/24)), which builds the host adapters, adds the declared additions to each adapter beside the mechanisms it already chooses (design 0012, HST-R4), with `baley doctor` reporting them. The seam is the host adapter.
- Build 3 ([#24](https://github.com/crenshawdev/baley/issues/24)), which builds the host adapters, adds the declared additions to each adapter beside the mechanisms it already chooses (design 0012, HST-R4), with `baley doctor` reporting them. The seam is the host adapter.
- Routing a stage to another family's model, program or API is designed in designs 0003, 0008 and 0012 in its own change.

## Options in detail
Expand Down
4 changes: 2 additions & 2 deletions docs/adr/0030-question-rounds.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ Baley works out each round from the dependencies: the open questions whose depen

### Follow-up

- Build 4 ([#25](https://github.com/jcrenshaw-dev/baley/issues/25)) builds question sets, rounds, answers and deferrals, the `questions` view, the refusals, the analyzer's two work orders and the plan's `questions` field, as PLN-R6, PLN-R11 and PLN-R23 to PLN-R27 of design 0005. The seams are the refinement and plan submit operations of 0005; the inherited `assumptions` field (`crates/baley/src/context/model.rs:44`) and the prose ambiguity rule in the compiled derivation text (`crates/baley/src/plan/instructions.rs:124`) are removed there.
- Build 7 ([#28](https://github.com/jcrenshaw-dev/baley/issues/28)) adds the next-action and progress rules that name the current round and the waiting questions (design 0013, NXT-R3, NXT-R6).
- Build 4 ([#25](https://github.com/crenshawdev/baley/issues/25)) builds question sets, rounds, answers and deferrals, the `questions` view, the refusals, the analyzer's two work orders and the plan's `questions` field, as PLN-R6, PLN-R11 and PLN-R23 to PLN-R27 of design 0005. The seams are the refinement and plan submit operations of 0005; the inherited `assumptions` field (`crates/baley/src/context/model.rs:44`) and the prose ambiguity rule in the compiled derivation text (`crates/baley/src/plan/instructions.rs:124`) are removed there.
- Build 7 ([#28](https://github.com/crenshawdev/baley/issues/28)) adds the next-action and progress rules that name the current round and the waiting questions (design 0013, NXT-R3, NXT-R6).
- How each host puts a round's questions to the owner and returns the answers is decided in [design 0012](../design/0012-host-interface.md), an open question of 0005.

## Options in detail
Expand Down
10 changes: 5 additions & 5 deletions docs/adr/0031-one-term-per-concept.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ Story replaces requirement for what the owner declares on the roadmap: the five

### Follow-up

- Build 4 ([#25](https://github.com/jcrenshaw-dev/baley/issues/25)) builds the story events, commands, codes and fields of design 0004, the capacity setting, the planning codes and the `phase_plan` view of design 0005, under the new names.
- Build 5 ([#26](https://github.com/jcrenshaw-dev/baley/issues/26)) builds `phase close` and `phase.retrospective` with phase completion (designs 0005 and 0007).
- Build 6 ([#27](https://github.com/jcrenshaw-dev/baley/issues/27)) builds the integration branch `baley/phase-<n>-<slug>` (design 0011, LND-R1).
- Build 7 ([#28](https://github.com/jcrenshaw-dev/baley/issues/28)) builds next action and progress over `phase_plan`, with `--phase <n>` (design 0013).
- Build 8 ([#29](https://github.com/jcrenshaw-dev/baley/issues/29)) builds capture promotion through `story declare`, recording the `story` field of `capture.promoted` (design 0014, SUP-R2).
- Build 4 ([#25](https://github.com/crenshawdev/baley/issues/25)) builds the story events, commands, codes and fields of design 0004, the capacity setting, the planning codes and the `phase_plan` view of design 0005, under the new names.
- Build 5 ([#26](https://github.com/crenshawdev/baley/issues/26)) builds `phase close` and `phase.retrospective` with phase completion (designs 0005 and 0007).
- Build 6 ([#27](https://github.com/crenshawdev/baley/issues/27)) builds the integration branch `baley/phase-<n>-<slug>` (design 0011, LND-R1).
- Build 7 ([#28](https://github.com/crenshawdev/baley/issues/28)) builds next action and progress over `phase_plan`, with `--phase <n>` (design 0013).
- Build 8 ([#29](https://github.com/crenshawdev/baley/issues/29)) builds capture promotion through `story declare`, recording the `story` field of `capture.promoted` (design 0014, SUP-R2).

## Options in detail

Expand Down
2 changes: 1 addition & 1 deletion docs/adr/0033-host-security-bar.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Adding a host takes a new ADR that cites the matrix run, and an adapter for that

### Follow-up

- The Build 3 ([#24](https://github.com/jcrenshaw-dev/baley/issues/24)) task that lands this decision removes the `codex` value of `Host`, its catalog row and the help text naming it, and rewrites designs 0001, 0002, 0003, 0006, 0010 and 0012, the PRD, the roadmap, the C4 model, the glossary, the README and the bug report template to match. The inherited engine's Codex transcript reader goes in the same change; Build 9 removes the rest of that engine.
- The Build 3 ([#24](https://github.com/crenshawdev/baley/issues/24)) task that lands this decision removes the `codex` value of `Host`, its catalog row and the help text naming it, and rewrites designs 0001, 0002, 0003, 0006, 0010 and 0012, the PRD, the roadmap, the C4 model, the glossary, the README and the bug report template to match. The inherited engine's Codex transcript reader goes in the same change; Build 9 removes the rest of that engine.
- Build 3 refuses an unknown host (HST-R4), configures Claude Code's sandbox and its `Read` and `Edit` deny rules to deny agents reads and writes of the home and the config folder, has the guard hook cover every tool that runs a shell command and the built-in tools that read files, and extends the Claude Code probe to the config folder and to the built-in file tools.

## Options in detail
Expand Down
2 changes: 1 addition & 1 deletion docs/adr/0034-one-server-per-session.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Baley speaks MCP over stdio only in this release, so axum is not added. Outgoing

### Follow-up

- Build 3 ([#24](https://github.com/jcrenshaw-dev/baley/issues/24)) rewrites SYS-R1, SYS-R2, SYS-R5 and SYS-R6 in design 0002, and HST-R1 and the install record in design 0012, and withdraws SYS-R3, SYS-R4, HST-R2 and HST-R3. The Processes and concurrency section of design 0001 is rewritten to match, in the change that builds the server.
- Build 3 ([#24](https://github.com/crenshawdev/baley/issues/24)) rewrites SYS-R1, SYS-R2, SYS-R5 and SYS-R6 in design 0002, and HST-R1 and the install record in design 0012, and withdraws SYS-R3, SYS-R4, HST-R2 and HST-R3. The Processes and concurrency section of design 0001 is rewritten to match, in the change that builds the server.
- Build 3's acceptance includes two live Claude Code sessions writing one project at once, with the record checked afterwards.
- A shared server, or HTTP, comes back only with a new ADR, if a worker outside the session or a host that cannot start a stdio server needs one.

Expand Down
2 changes: 1 addition & 1 deletion docs/adr/0037-plan-recheck-scope.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

## Context and problem

[PLN-R16](../design/0005-context-plans-and-acceptance.md#3-requirements) allows one re-check after a planner revision. Its earlier definition did not specify the material that re-check reads. Checking only prior blockers leaves changes outside those blockers without another check. [Issue #134](https://github.com/jcrenshaw-dev/baley/issues/134) proposes full and diff scopes.
[PLN-R16](../design/0005-context-plans-and-acceptance.md#3-requirements) allows one re-check after a planner revision. Its earlier definition did not specify the material that re-check reads. Checking only prior blockers leaves changes outside those blockers without another check. [Issue #134](https://github.com/crenshawdev/baley/issues/134) proposes full and diff scopes.

[REV-R10](../design/0008-review.md#3-requirements) grants one further round after a fix to a triggered review. This decision supplies the reading scope left unspecified by [ADR 0019](0019-reviews-adjudicated-and-ruled.md), while preserving its authorization and two-round limit.

Expand Down
Loading
Loading