Skip to content
Open
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
12 changes: 5 additions & 7 deletions README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,17 @@ If Windows has no `py` launcher, use `python --version` and `python start.py`, p

### 2. Download and launch

The initial implementation is on `feat/agent-connect` in [PR #1](https://github.com/IteraCompute/agent-connect/pull/1).
Before that PR reaches `main`, use these complete commands:
The initial implementation was merged into the default `main` branch in [PR #1](https://github.com/IteraCompute/agent-connect/pull/1). Download and launch it:

```bash
git clone --branch feat/agent-connect https://github.com/IteraCompute/agent-connect.git
git clone https://github.com/IteraCompute/agent-connect.git
cd agent-connect
python3 start.py
```

On Windows, replace the last line with `py -3 start.py`. Without Git, download the
[branch ZIP](https://github.com/IteraCompute/agent-connect/archive/refs/heads/feat/agent-connect.zip),
extract it, and open the directory containing `start.py`. After the initial merge, you can also
clone the default `main` branch directly.
[`main` branch ZIP](https://github.com/IteraCompute/agent-connect/archive/refs/heads/main.zip),
extract it, and open the directory containing `start.py`.

| Platform | Recommended launch | Alternative |
| --- | --- | --- |
Expand Down Expand Up @@ -379,7 +377,7 @@ app's TOML and advanced CLI's JSON are independent configurations. To update a c
| Symptom | Check / action |
| --- | --- |
| Missing `python3` / `py`, or unsupported version | Install Python 3.11+ and reopen the terminal; on Windows check `python --version` |
| Missing `start.py` | Use the complete feature branch and enter the extracted/cloned directory; before release, `main` may contain bootstrap files only |
| Missing `start.py` | Download the default `main` branch and enter the extracted/cloned directory containing the file |
| Page unavailable / port occupied | Stop the old instance or change both ports; use the full terminal URL if the browser did not open |
| Management page is unauthorized | Use the URL from this launch; the management token changes after restarting the service |
| API 401 / 403 | Check key, account and model access; reload after editing the private file |
Expand Down
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,15 @@ Windows 没有 `py` 启动器时,可使用 `python --version` 和 `python star

### 2. 下载并启动

首次发布的代码位于 [PR #1](https://github.com/IteraCompute/agent-connect/pull/1) 的 `feat/agent-connect` 分支。
在它合并到 `main` 前,使用下面的完整命令:
首次发布的代码已通过 [PR #1](https://github.com/IteraCompute/agent-connect/pull/1) 合并到默认的 `main` 分支。下载并启动:

```bash
git clone --branch feat/agent-connect https://github.com/IteraCompute/agent-connect.git
git clone https://github.com/IteraCompute/agent-connect.git
cd agent-connect
python3 start.py
```

Windows 将最后一行换成 `py -3 start.py`。不使用 Git 时,可下载[该分支的 ZIP](https://github.com/IteraCompute/agent-connect/archive/refs/heads/feat/agent-connect.zip),解压后进入包含 `start.py` 的目录。
首次发布合并后,也可直接克隆默认的 `main` 分支。
Windows 将最后一行换成 `py -3 start.py`。不使用 Git 时,可下载 [`main` 分支 ZIP](https://github.com/IteraCompute/agent-connect/archive/refs/heads/main.zip),解压后进入包含 `start.py` 的目录。

| 系统 | 推荐启动方式 | 可选启动方式 |
| --- | --- | --- |
Expand Down Expand Up @@ -307,7 +305,7 @@ itera-connect app --settings /absolute/path/to/private.toml
| 现象 | 检查与处理 |
| --- | --- |
| `python3` / `py` 不存在,或提示版本过低 | 安装 Python 3.11+,重新打开终端;Windows 可检查 `python --version` |
| 找不到 `start.py` | 确认解压/克隆的是完整功能分支,并进入文件所在目录;发布前 `main` 可能只有初始化文件 |
| 找不到 `start.py` | 确认从默认的 `main` 分支下载,并进入解压或克隆后包含该文件的目录 |
| 页面打不开、地址占用 | 停止旧实例,或使用上面的两个端口参数;浏览器未打开时复制终端完整地址 |
| 本地页面提示未授权 | 使用本次启动打印的完整地址;重启服务后管理令牌会变化 |
| API 返回 401 / 403 | 核对 key、账号和模型权限;修改文件后点“重新读取” |
Expand Down
13 changes: 7 additions & 6 deletions docs/acceptance.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,12 @@ from this simulated backend; the real-provider evidence above remains dated 2026

Public repository, Issues and Discussions enabled. Protected `main` requires administrator
CODEOWNER review, passing checks, stale-approval dismissal, latest-push approval and resolved
conversations; administrators are subject to the rules. The implementation PR is ready for independent review.
conversations; administrators are subject to the rules.

On 2026-11-17, the organization Owner enabled Actions for this repository only; default workflow
permissions remain read-only and workflow PR approval is disabled. GitHub CI results are recorded
on the PR separately from the local evidence above. Initial base CODEOWNERS names only the PR
author, so its first-merge bootstrap needs an independently eligible reviewer or an explicitly
authorized one-time Owner exception. The proposed CODEOWNERS lists both existing administrators.
See [governance.md](governance.md) and the PR for the current state.
permissions remain read-only and workflow PR approval is disabled. [PR #1](https://github.com/IteraCompute/agent-connect/pull/1)
merged on 2026-11-17 after its required CI passed. Its initial base CODEOWNERS named only the PR
author, so the Owner approved a one-time bootstrap review exception for that merge. The exception
was removed afterward; `main` now lists both existing administrators in CODEOWNERS and still
requires independent review. See [governance.md](governance.md) for the first-merge record and
current review rules. CI remains separate from the real-provider and native-client evidence above.
44 changes: 20 additions & 24 deletions docs/governance.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Repository governance and first-merge setup
# Repository governance and first-merge record

[中文说明](#中文说明) · [English](#english)

Expand All @@ -20,7 +20,7 @@
页面:[组织 Actions 设置](https://github.com/organizations/IteraCompute/settings/actions)。
权限范围说明见 [GitHub Actions permissions API](https://docs.github.com/en/rest/actions/permissions#get-github-actions-permissions-for-an-organization)。

### 为什么管理员也会被阻止合并
### 首次合并与当前审核规则

`main` 的保护规则明确包含 `enforce_admins=true`,所以管理员也要满足:

Expand All @@ -30,12 +30,10 @@
4. 禁止 force push、删除主分支,自动合并关闭。

首次初始化的 `main` 仅将 `K-3-LT` 列为 CODEOWNER,而 PR #1 的作者和推送者也是该账号。
GitHub 按 **base 分支**识别 CODEOWNERS,并禁止作者自审;PR 中增加 `aikevan` 在进入 `main` 前不会解除这个初始死锁。
当前实现已将两名既有管理员 `K-3-LT`、`aikevan` 都列入 CODEOWNERS,以支持后续独立管理员审核;没有授予其他人管理员权限。

正常初始化方式是由另一管理员作为作者和最近推送者发起初始化 PR,经当前 CODEOWNER 独立审核,并通过 CI。
如果 Owner 选择对当前 PR 做一次初始化例外,必须先明确批准该例外;它应只针对命名管理员和这一次合并,保留必需 CI,并在合并后立即恢复审核限制。
这不是允许社区贡献绕过审核的长期策略。
GitHub 按 **base 分支**识别 CODEOWNERS,并禁止作者自审;PR 中增加 `aikevan` 在合并前无法解除这个初始依赖。
Owner 对 PR #1 的指定提交批准了一次性审核例外;必需 CI 仍通过,合并后立即移除例外并恢复原保护设置。
`main` 现已将两名既有管理员 `K-3-LT`、`aikevan` 列入 CODEOWNERS,后续 PR 继续要求独立管理员审核。
这次例外没有变成社区贡献可绕过审核的长期规则,也没有授予其他人管理员权限。

### 审核与审计

Expand All @@ -47,8 +45,8 @@ python scripts/check_governance.py
```

审计检查仓库公开性、管理员角色、主分支保护、base CODEOWNERS 与 Actions 状态。
首次 CODEOWNERS 尚未进入 `main` 时,该项会报告未完成;这与组织 Actions 已修复是不同的状态。
合并后的当前状态和实际检查结果以 [PR #1](https://github.com/IteraCompute/agent-connect/pull/1) 与 GitHub 设置为准。
PR #1 合并前,base CODEOWNERS 项会报告未完成;合并后的治理检查已通过。
当前状态以 [PR #1](https://github.com/IteraCompute/agent-connect/pull/1)、`main` 及 GitHub 设置为准。

## English

Expand All @@ -72,21 +70,19 @@ stale-review dismissal, approval of the latest reviewable push by someone else,
status against the current base, and resolved conversations. Force pushes and main deletion are
disabled, and automatic merge is off.

Initial base `main` names only `K-3-LT` as CODEOWNER; that account also authored and pushed PR #1.
Initial base `main` named only `K-3-LT` as CODEOWNER; that account also authored and pushed PR #1.
GitHub uses the base branch's CODEOWNERS and does not permit author self-approval. Adding `aikevan`
inside the PR alone cannot resolve that bootstrap dependency. The proposed CODEOWNERS lists both
existing administrators so future changes have an independently eligible administrator. No new
administrator has been granted access.

A normal bootstrap can be authored and last pushed by another administrator, then independently
reviewed by the existing CODEOWNER with CI passing. An Owner-authorized initial-merge exception,
if explicitly approved, must be limited to a named administrator and that one merge, retain the
required CI, and restore review restrictions immediately afterward. It is not a permanent bypass
for community contributions.

Run `python scripts/check_governance.py` after setup. Before the initial ownership change reaches
main, its base-ownership audit remains pending even though Actions has been repaired. The current
PR and repository settings are the authoritative live state.
inside the PR alone could not resolve that bootstrap dependency. The Owner approved a one-time
review exception for the specified PR #1 head. Required CI passed; the exception was removed and
the original protection settings restored immediately after the merge.
Current `main` lists both existing administrators in CODEOWNERS, so future PRs still require
independent administrator review. No new administrator was granted access, and the first-merge
exception is not a permanent bypass for community contributions.

Run `python scripts/check_governance.py` to check the current repository settings. Before PR #1
merged, its base-ownership audit was pending even after Actions was repaired; the post-merge
governance audit passed. The merged [PR #1](https://github.com/IteraCompute/agent-connect/pull/1),
current `main` and repository settings are the authoritative live state.

References:

Expand Down
Loading