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
16 changes: 4 additions & 12 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,8 @@ git diff --check

Changes to FFI, shared runtime, TUN, socket creation, TLS, or packaging boundaries also require the affected target build and repository integration checks. External interop and physical-device results remain `NOT RUN` unless they were executed in the current validation run.

## Agent skills
## Repository workflow

### Issue tracker

Issues are tracked in `OneXray/VCore` GitHub Issues. See `docs/agents/issue-tracker.md`.

### Triage labels

Use the five canonical triage labels. See `docs/agents/triage-labels.md`.

### Domain docs

This is a single-context repository using root `CONTEXT.md` and `docs/adr/`. See `docs/agents/domain.md`.
- Make changes on a separate branch, never directly on `main`.
- Use `gh --repo OneVCore/VCore` explicitly; issues hold requests/specs and PRs hold implementation changes.
- Read [CONTEXT](CONTEXT.md) and relevant [ADRs](docs/adr/) for architecture decisions; surface conflicts before changing an accepted decision.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ windows-core = { version = "=0.62.2", optional = true }
tempfile = "3"

[patch.crates-io]
rustls = { git = "https://github.com/OneXray/rustls", branch = "vcore/reality-0.23" }
rustls = { git = "https://github.com/OneVCore/rustls", branch = "vcore/reality-0.23" }

[profile.release]
codegen-units = 1
Expand Down
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
- [验收矩阵](acceptance.md):自动化覆盖、实机覆盖和未完成的发布门禁。
- [架构决策](adr/):仍然有效的系统级决策。
- [开发上下文](../CONTEXT.md):领域词汇和模块边界。
- [构建与检查](../scripts/README.md):统一脚本、产物和环境变量。

## 文档规则

Expand Down
205 changes: 69 additions & 136 deletions docs/acceptance.md

Large diffs are not rendered by default.

10 changes: 0 additions & 10 deletions docs/agents/domain.md

This file was deleted.

28 changes: 0 additions & 28 deletions docs/agents/issue-tracker.md

This file was deleted.

11 changes: 0 additions & 11 deletions docs/agents/triage-labels.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/rustls-reality-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ fork 不创建线程、异步任务、连接池、全局映射或跨连接锁。

```toml
[patch.crates-io]
rustls = { git = "https://github.com/OneXray/rustls", branch = "vcore/reality-0.23" }
rustls = { git = "https://github.com/OneVCore/rustls", branch = "vcore/reality-0.23" }
```

要求:
Expand Down
2 changes: 1 addition & 1 deletion scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ uv run --project scripts --locked ruff check scripts
uv run --project scripts --locked ruff format --check scripts
```

`c-header` 在 macOS 使用 `xcrun clang/clang++`,其他平台使用 `PATH` 中的 `clang/clang++`。`tls-dependencies` 直接读取 `cargo metadata`,验证唯一的 OneXray rustls 0.23.43 来自 GitHub `vcore/reality-0.23` 分支、官方 tokio-rustls 0.26.4、registry ring,以及禁止的 Watfaq/AWS-LC 依赖。
`c-header` 在 macOS 使用 `xcrun clang/clang++`,其他平台使用 `PATH` 中的 `clang/clang++`。`tls-dependencies` 直接读取 `cargo metadata`,验证唯一的 OneVCore rustls 0.23.43 来自 GitHub `vcore/reality-0.23` 分支、官方 tokio-rustls 0.26.4、registry ring,以及禁止的 Watfaq/AWS-LC 依赖。

## Windows tun2socks demo

Expand Down
4 changes: 2 additions & 2 deletions scripts/src/vcore_scripts/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"registry+https://index.crates.io/",
}
RUSTLS_GIT_SOURCE_PREFIX = (
"git+https://github.com/OneXray/rustls?branch=vcore/reality-0.23#"
"git+https://github.com/OneVCore/rustls?branch=vcore/reality-0.23#"
)

_C_SOURCE = r"""#include "vcore.h"
Expand Down Expand Up @@ -213,7 +213,7 @@ def check_tls_dependencies() -> None:
)
revision = rustls["source"].rsplit("#", 1)[1]
print("TLS dependency check passed:")
print(f"- one OneXray rustls 0.23.43 vcore/reality-0.23 @ {revision[:12]}")
print(f"- one OneVCore rustls 0.23.43 vcore/reality-0.23 @ {revision[:12]}")
print("- one official tokio-rustls 0.26.4")
print(f"- one registry ring {ring['version']} provider")
print("- no Watfaq, AWS-LC, or second rustls version")
Loading