Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
9ba295a
fix(session): 融合输入、上下文与恢复缺陷修复
xiaoland Oct 11, 2026
f42a226
feat(collaboration): 增加自有本地协作空间
xiaoland Oct 11, 2026
4895ec4
feat(console): 反哺可观测性与本地 Web 控制台
xiaoland Oct 11, 2026
1fdef82
ref(collaboration): 将内建平台与 GitHub 作为同层上游
xiaoland Oct 11, 2026
3fab0d0
fix(runtime): 修复双上游真实验收中的运行与控制缺陷
xiaoland Oct 11, 2026
2808c89
docs(acceptance): 记录 MiniMax 双上游真实验收与失败边界
xiaoland Oct 11, 2026
12c328c
fix(pi): 反哺原生插件生命周期与执行归属
xiaoland Oct 11, 2026
1394319
chore(pi): 保留统一补丁输入的上游格式
xiaoland Oct 11, 2026
89505d9
fix(pi): 交付独立 Node 原生运行时
xiaoland Oct 11, 2026
d9f52d9
fix(pi): 避免空闲 readiness 反复扫描原生材料
xiaoland Oct 11, 2026
a419b74
docs(acceptance): 记录 GitHub 与 Pi 本轮验收及降载收尾
xiaoland Oct 11, 2026
b99df0c
docs(readme): 融合远端介绍改版与反哺入口
xiaoland Oct 12, 2026
e7615e9
feat(run): 加入 root 驱动的自主运行模式
xiaoland Oct 12, 2026
861a15d
fix(run): 保留指派输入并先处理启动上下文替换
xiaoland Oct 12, 2026
9e62be1
fix(pi): 使用显式环境启动受控 Bash
xiaoland Oct 12, 2026
3d7e712
fix(store): 提前取得内建协作写入事务的准入
xiaoland Oct 12, 2026
4d459e6
docs(acceptance): 记录 MiniMax ARC lite 整轮失败与收尾
xiaoland Oct 12, 2026
f82ee88
feat(profile): 反哺独立协作技能与 Pi 材料能力
xiaoland Oct 12, 2026
c2dafbc
docs(profile): 记录反哺候选发布与资格边界
xiaoland Oct 12, 2026
50f25c8
fix(ci): 修复 Rust 严格 Clippy 检查失败
xiaoland Oct 12, 2026
ea92d2c
ref(pi): 收敛公开 SDK 与插件发行边界
xiaoland Oct 12, 2026
e80e2d9
feat(brand): 整合新版 Braid Logo 素材与界面入口
xiaoland Oct 19, 2026
fdb2bb6
fix(config)!: 仅通过 secret 文件配置 Provider 凭据
xiaoland Nov 3, 2026
95727f4
fix(config)!: 解耦 runtime adapter 与 LLM provider
xiaoland Nov 3, 2026
d19f012
fix(config)!: 清除 provider 伪默认与假元数据
xiaoland Nov 3, 2026
7aadd34
feat(github): 支持多仓库实例与 headless setup
xiaoland Nov 3, 2026
d19773e
fix(setup): 在外部副作用前校验必需工具
xiaoland Nov 3, 2026
b972f0c
docs(github): 明确多仓库 adapter 限制
xiaoland Nov 3, 2026
0560492
fix(runtime): 按实际 Agent Group 数汇总健康状态
xiaoland Nov 3, 2026
9b09304
fix(config): 强制同仓库 Profile 共享 source checkout
xiaoland Nov 3, 2026
0cb9082
docs(github): 澄清跨仓库关联不共享调度
xiaoland Nov 3, 2026
d2e82a5
fix(pi): 不冒称 keyless OAuth 可运行
xiaoland Nov 4, 2026
a704626
feat(config)!: 建立 Braid 凭据模型与 Pi OAuth 渲染
xiaoland Nov 5, 2026
caed5c3
feat(config)!: models.json 由 adapter 从 provider 声明派生
xiaoland Nov 5, 2026
f9309f5
fix(reconcile): 修复 dogfood 发现的网络与新仓库缺陷
xiaoland Nov 6, 2026
5b0c9b2
fix(native): 对齐上游会话路径判定,修复 fresh subagent 必失败
xiaoland Nov 6, 2026
60179b6
fix(github): 限制历史巡检并共享 installation 配额退避
xiaoland Nov 11, 2026
2884cf7
fix(writer): persist publication requests for runtime-owned convergence
xiaoland Nov 12, 2026
58b1a64
fix(writer): bind publications to observed current turns across surfaces
xiaoland Nov 12, 2026
3f172fe
fix(telemetry): isolate full evidence from ordinary diagnostics
xiaoland Nov 12, 2026
719371a
fix(telemetry): isolate raw SDK and exporter diagnostics
xiaoland Nov 12, 2026
3165e67
fix(publication): bind source identity and maintain canonical bodies …
xiaoland Nov 12, 2026
920bb4e
fix(writer): fail closed on body relationship changes
xiaoland Nov 12, 2026
b7e530a
fix(writer): allow native closing text in authorized body maintenance
xiaoland Nov 12, 2026
373c6d7
feat(handoff): deliver explicit Issue design wakes to existing PR gen…
xiaoland Nov 12, 2026
75c9a92
fix(handoff): retire invalid delivered wakes without blocking other i…
xiaoland Nov 12, 2026
5c76ab1
feat(reading): measure GraphQL reads and combine stateless first pages
xiaoland Nov 12, 2026
ffe6e12
fix(github): require resource for comparable rate-limit usage
xiaoland Nov 12, 2026
3cd97fb
test(dogfood): verify integrated publication and canonical reads in CI
xiaoland Nov 12, 2026
43cb261
fix(cli): run gh read on the existing tokio runtime
xiaoland Nov 12, 2026
6ec0d33
ops: add retained authenticated single-host dogfood backend
xiaoland Nov 12, 2026
325f01d
ops: expand file secret for LGTM direct Grafana startup
xiaoland Nov 12, 2026
92e8a87
docs(ops): allow non-root Collector to read managed config
xiaoland Nov 12, 2026
c5bccb0
fix: 以持久输入和持续责任收敛协作修订
xiaoland Nov 18, 2026
d95e633
ci: 持续验证原生工具配置继承
xiaoland Nov 18, 2026
2d61b30
修复观察恢复与已发布实现请求的持久交付
xiaoland Nov 18, 2026
6559108
收敛恢复后的公开 Operational Status
xiaoland Nov 25, 2026
2f709a7
fix(audit): 修复多仓库恢复、安装交付与 Console 缺陷
xiaoland Nov 25, 2026
9cb7fc3
阻止状态评论身份不明时再次创建
xiaoland Nov 27, 2026
fac1dc5
让控制台优先展示选中对象与观测内容
xiaoland Nov 27, 2026
9d838b9
chore(integration): 将 PR #150 合入 PR #149
xiaoland Nov 27, 2026
56cbfce
fix(tests): 以真实契约重整回归并修复凭据与上下文边界
xiaoland Nov 27, 2026
d2eb3e7
fix(platform): 将最终对象状态与命令回执原子提交
xiaoland Nov 27, 2026
7705a04
chore(audit): 临时运行保留性破坏控制与平台基线对照
xiaoland Nov 27, 2026
1c4ef61
fix(audit): 修正测试提取方式并明确平台恢复边界
xiaoland Nov 27, 2026
d8f7d9f
fix(tests): 修正配置夹具并补齐 schema 与调度门槛证明
xiaoland Nov 27, 2026
f5d315c
fix(tests): 对正确的拒绝结果传入借用
xiaoland Nov 27, 2026
204e6de
chore(audit): 完成破坏控制并移除临时验证入口
xiaoland Nov 27, 2026
f9cf8a5
fix(tests): 用真实未回收进程组验证 Tunnel 关闭边界
xiaoland Nov 28, 2026
d06d6d2
fix(tunnel): 等待退出中的进程组完成回收
xiaoland Nov 28, 2026
6edced2
ref(harness): 分离协作接纳、执行停止与运维边界
xiaoland Nov 28, 2026
52342ea
ref(harness): 将普通轮次执行与写入授权分离
xiaoland Nov 28, 2026
1797ed7
ref(architecture): 解耦协作输入、执行与交付权威
xiaoland Nov 28, 2026
5455350
Merge commit '2921fb9b6fabe0cce27f665dd668ac57ece26380' into HEAD
xiaoland Nov 28, 2026
eb1d54a
chore(integration): 同步 PR 149 最新调度与平台契约
xiaoland Nov 28, 2026
e029438
feat(acceptance): 在真实浏览器、原生安装和发行归档上验证交付
xiaoland Nov 28, 2026
bbc82f6
fix(github): 仅从本次可比的限额响应计算用量变化
xiaoland Nov 28, 2026
7f2e7da
fix(platform): 传播终态回执持久化错误
xiaoland Nov 28, 2026
50d1832
ref(operations): 从真实 CLI、注册表与 Git 工作树验证操作契约
xiaoland Nov 28, 2026
613037b
fix(group): 撤销活动职责时等待原代原生执行与写入资格收口
xiaoland Nov 28, 2026
16d383e
ref(publication): 通过真实分页、发布意图及观察读取验证恢复
xiaoland Nov 28, 2026
acf71e7
chore(ci): 在打包变更的 PR 验证双平台归档并核对旧配置状态
xiaoland Nov 28, 2026
51e9376
fix(platform): 绑定合并回执的原请求并兼容已导入的 Local 命令
xiaoland Nov 28, 2026
fe82de3
ref(provider): 通过原生协议帧、进程和 OTLP 分信号证明终态
xiaoland Nov 28, 2026
84ac362
fix(pi): 关闭构造失败的执行并保留后台清理未确认状态
xiaoland Nov 28, 2026
0e6aec9
chore(audit): 临时验证独立复审恢复的契约会因目标缺陷失败
xiaoland Nov 28, 2026
9d9f0c2
fix(group): 退休前保存停机期间观察到的原生终态
xiaoland Nov 28, 2026
d8e0d90
ref(pi): 保留统一启动清理路径的原生状态采样
xiaoland Nov 28, 2026
8b48ac3
chore(audit): 对运行中撤销的旧实现和终态丢失做定点对照
xiaoland Nov 28, 2026
d827c81
ref(acceptance): 拒绝夹带现成库的归档并核对清理未确认的构造错误
xiaoland Nov 28, 2026
ee6e3a3
fix(lifecycle): 保留撤销证据并停止调度退休代的历史重置
xiaoland Nov 28, 2026
73a9d3f
chore(audit): 复验退休代隔离与未知终态的破坏控制
xiaoland Nov 28, 2026
91b4c05
ref(tests): 用持久游标继续读取事件并核对显式恢复资格
xiaoland Nov 28, 2026
0927d88
chore(ci): 收回本次审计的临时破坏验证入口
xiaoland Nov 28, 2026
05fb1e5
fix(lifecycle): 重启时先结算已有停机证明的撤销
xiaoland Nov 28, 2026
1111857
chore(audit): 在真实重启断点复验撤销与终态证据
xiaoland Nov 28, 2026
605aa1d
chore(ci): 完成恢复对照后保留常规验收路由
xiaoland Nov 28, 2026
29bf1d4
chore(tests): 让未知终态回归指明持久状态差异
xiaoland Nov 28, 2026
d64644f
chore(audit): 单独验证撤销的状态与冷启动断点
xiaoland Nov 28, 2026
5e28b42
chore(audit): 校准三项独立运维回归与还原检查
xiaoland Nov 28, 2026
2de3f3b
chore(ci): 将临时变异对照留在审计记录
xiaoland Nov 28, 2026
352c90b
ref(tests): 复用两种撤销场景的事件夹具
xiaoland Nov 28, 2026
27c31ac
fix(github): 识别注释闭合后同一行的可见提及
xiaoland Nov 28, 2026
38ff5f4
ref(tests): 删除重复验证和测试专用生产分支
xiaoland Nov 28, 2026
dcd2269
ref(tests): 用一个状态表达远端 PR 是否存在
xiaoland Nov 28, 2026
5d38483
fix(tests): 接受终态前已落盘的输入诊断
xiaoland Nov 28, 2026
5ebea82
fix(tests): 按追加语义核对原生终态原因
xiaoland Nov 28, 2026
b463cfc
ref(tests): 复核各层证明并收敛重复验收
xiaoland Nov 28, 2026
7fba3bd
fix(tests): 读取后核对首个客户端的写权限
xiaoland Nov 28, 2026
26e9fcb
合并 PR #151:测试审计、恢复路径与执行边界
xiaoland Nov 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Unified patches retain upstream context markers and indentation.
native/pi/patches/*.patch -whitespace
53 changes: 47 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,54 @@ permissions:

jobs:
rust:
runs-on: macos-15
name: ${{ matrix.name }}
strategy:
fail-fast: false
matrix:
include:
- name: rust
os: macos-15
target: aarch64-apple-darwin
- name: linux
os: ubuntu-latest
target: x86_64-unknown-linux-gnu
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install 1.93.0 --profile minimal --component clippy,rustfmt --target aarch64-apple-darwin
with:
fetch-depth: 2
- run: rustup toolchain install 1.93.0 --profile minimal --component clippy,rustfmt --target ${{ matrix.target }}
- uses: actions/setup-node@v4
with:
node-version: 24.15.0
- run: node --test native/pi/tests/*.test.mjs
- run: cargo fmt --check
- run: cargo check --locked --all-targets
- run: cargo clippy --locked --all-targets -- -D warnings
- run: |
archive=$(scripts/package.sh)
scripts/tests/00_clean_install.sh "$archive"
- run: cargo test --locked --all-targets
- name: Verify the installed Pi runtime and factory cleanup
if: matrix.name == 'linux'
env:
BASE_SHA: ${{ github.event.pull_request.base.sha || github.event.before }}
BRAID_TEST_PI_INSTALL: ${{ runner.temp }}/pi-background
PI_OFFLINE: '1'
run: |
if git cat-file -e "$BASE_SHA^{commit}" 2>/dev/null &&
git diff --quiet "$BASE_SHA" HEAD -- native/pi src/config.rs src/provider src/profile_materials.rs src/profile_materials src/agent_session.rs Cargo.toml Cargo.lock .github/workflows/ci.yml; then
echo 'Installed Pi inputs unchanged'
exit 0
fi
node native/pi/install.mjs "$BRAID_TEST_PI_INSTALL" --plugins background
"$BRAID_TEST_PI_INSTALL/bin/node" --test native/pi/acceptance/installed-runtime.test.mjs
cargo test --locked --bin braid profile_materials::tests::failed_home_binding_stops_the_installed_execution_before_returning -- --ignored --exact
- name: Verify conflicting Console edits in two browser pages
if: matrix.name == 'linux'
env:
CHROME_BIN: /usr/bin/google-chrome
run: |
npm ci --prefix tests/browser --ignore-scripts
node --test tests/browser/draft.test.mjs
- name: Verify OTLP internal diagnostics stay out of ordinary logs
if: matrix.name == 'linux'
run: >-
cargo test --locked --bin braid --features opentelemetry-otlp/internal-logs
telemetry::tests::telemetry_isolates_collector_rejection_bodies_from_ordinary_diagnostics -- --exact
97 changes: 97 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
name: release

on:
pull_request:
paths:
- '.github/workflows/release.yml'
- 'scripts/package.sh'
- 'scripts/verify-package.sh'
- 'Cargo.toml'
- 'Cargo.lock'
- 'rust-toolchain.toml'
- 'config.example.toml'
- 'deploy/otel-collector.example.yaml'
- 'LICENSE'
- 'README.md'
- 'CHANGELOG.md'
push:
tags:
- "v*"
workflow_dispatch:
inputs:
version:
description: "Release tag (for example v0.3.3)"
required: true

permissions:
contents: read

jobs:
build:
strategy:
matrix:
include:
- os: macos-15
target: aarch64-apple-darwin
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.version || github.ref }}
- run: rustup toolchain install 1.93.0 --profile minimal --target ${{ matrix.target }}
- name: Package release artifact
shell: bash
env:
BRAID_BUILD_TARGET: ${{ matrix.target }}
BRAID_RELEASE_TAG: ${{ github.event.inputs.version || (github.event_name == 'push' && github.ref_name) || '' }}
run: |
if [[ -z "$BRAID_RELEASE_TAG" ]]; then
BRAID_RELEASE_TAG=$(python3 -c 'import tomllib; print("v" + tomllib.load(open("Cargo.toml", "rb"))["package"]["version"])')
fi
scripts/package.sh
scripts/verify-package.sh dist "$BRAID_RELEASE_TAG" "$BRAID_BUILD_TARGET"
- uses: actions/upload-artifact@v4
if: github.event_name != 'pull_request'
with:
name: release-${{ matrix.target }}
path: |
dist/braid-*.tar.gz
dist/braid-*.tar.gz.sha256
if-no-files-found: error

release:
if: github.event_name != 'pull_request'
permissions:
contents: write
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.version || github.ref }}
- uses: actions/download-artifact@v4
with:
path: dist
- name: Create GitHub Release
shell: bash
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_TAG: ${{ github.event.inputs.version || github.ref_name }}
run: |
set -euo pipefail
tag="$RELEASE_TAG"
version="${tag#v}"
awk -v section="[${version}]" '
$1 == "##" && $2 == section { include = 1; next }
include && /^## \[/ { exit }
include { print }
' CHANGELOG.md > release-notes.md
test -s release-notes.md
assets=(dist/release-*/*.tar.gz dist/release-*/*.tar.gz.sha256)
if gh release view "$tag" >/dev/null 2>&1; then
gh release upload "$tag" "${assets[@]}" --clobber
else
gh release create "$tag" "${assets[@]}" --title "$tag" --notes-file release-notes.md
fi
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@
svc.local.json
AGENTS.local.md
# svc:end local-config

/tests/browser/node_modules/
15 changes: 13 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Braid Project Instructions

This repository implements Braid: GitHub Issue and pull-request state become the
durable working memory of local Coding Agents. Apply these instructions only in
This repository implements Braid: collaboration Issue and pull-request state become
the durable working memory of Coding Agents. GitHub and the built-in platform are
peer upstreams; the Web Console belongs to Braid as a whole. Apply these instructions only in
this repository; do not modify user-scope Agent instructions.

## Knowledge Owners
Expand All @@ -20,6 +21,9 @@ this repository; do not modify user-scope Agent instructions.
- Project vocabulary: `docs/10-prd/glossary.md`
- Volatile task control: `tasks/`; retain at most one active packet and delete
it when the task closes after promoting binding truth.
- Optional collaboration method: `skills/README.md` lists independent skills
with name, description and file path. Discover and read them on demand; do not
inline skill bodies into prompts or make them a runtime prerequisite.

## GitHub Working Memory Protocol

Expand Down Expand Up @@ -64,6 +68,13 @@ this repository; do not modify user-scope Agent instructions.
- Product acceptance is real black-box GitHub-to-Agent behavior. Compile,
formatting, lint, protocol probes, and diagnostic scripts support delivery
but do not substitute for `docs/10-prd/acceptance.md`.
- Route regressions through the owner of the decision. Use the built binary for
CLI, process and browser contracts, and the existing binary unit target for
private Rust modules. Importing source files into integration tests registers
their unit tests again under a different executable.
- A restart claim needs a durable write and a fresh reader. Assert the reason for
rejection with otherwise valid prerequisites. When retiring a fixture, check
its callers outside tests and remove any accessors needed solely by that fixture.
- The Agent may make coherent verified commits in this repository without
per-commit approval. Pushes, releases, external GitHub mutations, and changes
outside this repository retain their own authority gates.
Expand Down
Loading
Loading