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
5 changes: 2 additions & 3 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ MIT License
Copyright (c) 2026 SheathedSharp
Copyright (c) 2026 option-berth contributors

Third-party components keep their own copyright and license; the full texts,
including the Sonar notice for the engine's upstream-derived code, are in
THIRD_PARTY_NOTICES.md and ship with every release archive.
Third-party components keep their own copyright and license; their full texts
are in THIRD_PARTY_NOTICES.md and ship with every release archive.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
35 changes: 0 additions & 35 deletions THIRD_PARTY_NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,41 +3,6 @@
option-berth 的自研代码由 SheathedSharp 及项目贡献者维护,适用根目录 [MIT](LICENSE)。第三方材料保留各自许可,不因本项目采用
MIT 而重新许可。源码与发布包均保留适用声明;发布包还附带目标实际运行依赖的许可原文与构建清单。

## 历史代码来源:Sonar

引擎包含来自 `github.com/raskrebs/sonar` 的代码(参考提交
`be48afbee89fd2381d0e2c8b0aa9ec1d81194546`),该部分适用下面的 MIT 许可:

```text
MIT License

Copyright (c) 2026 RasKrebs

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```

根 [LICENSE](LICENSE) 与 [engine/LICENSE](engine/LICENSE) 只列本项目自己的版权;上游部分的
声明按第三方组件记录在这里,并随发布产物分发(归档与 MSI 的 `licenses/third-party-notices.md`,
Linux 包的 `/usr/share/doc/option-berth/licenses/`)。哪些文件仍来自上游、审计方法与移除这份
声明的前提见 [engine/UPSTREAM.md](engine/UPSTREAM.md)。
保留来源不表示后续架构基于该项目,也不将其已有作品宣称为本项目原创。

## 站点资产:GSAP

`site/assets/gsap.min.js` 是 GSAP 3.15.1(GreenSock Animation Platform)的原样副本,由
Expand Down
4 changes: 2 additions & 2 deletions docs/agent/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ as running, never affects group status, and disappears when the daemon restarts.
sidecar serves diagnostic reads only and never decides whether anything runs or is skipped.

The core is driven by this project's own requirements; databases, syscalls and platform adapters may
keep mature implementations, and nothing is rewritten for the sake of a "self-authored ratio". Origins
and copyright stay separate in [engine/UPSTREAM.md](../../engine/UPSTREAM.md) and the licenses.
keep mature implementations, and nothing is rewritten for the sake of a "self-authored ratio". The
licenses and third-party notices carry the origins and copyright that apply.

The closing end of a worktree also rides this chain: `${worktree}` derives from the checkout root path,
and the daemon records `identity → root path → most recent group name / claim key` in
Expand Down
5 changes: 2 additions & 3 deletions docs/product.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,14 @@ is no separate integration protocol.
## Design principles

The product is designed from its own requirements; the core algorithms and low-level implementation
follow this document's object model, write boundaries and CLI contract. Reference projects such as Sonar
follow this document's object model, write boundaries and CLI contract. Reference projects and prior art
offer ideas and engineering experience; they do not decide this project's architecture and are not the
skeleton for later work. No object or capability unrelated to this product is kept merely to stay
faithful to a reference design.

Self-authored replacements advance behind verifiable module boundaries, keep the existing external
contract, and are proven by behavior, isolation and performance — not by a rename or a new wrapper
layer. Origins are recorded honestly in [`engine/UPSTREAM.md`](../engine/UPSTREAM.md); migration status
is tracked only in [`backlog.md`](backlog.md).
layer. Migration status is tracked only in [`backlog.md`](backlog.md).

## Object model

Expand Down
5 changes: 2 additions & 3 deletions docs/product.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,11 @@ option-berth 是 **worktree 的运行事实层**。
## 实现原则

产品按自身需求自主设计,核心算法与底层实现以本文件的对象模型、写边界和 CLI 契约为准。
Sonar 等参考项目提供思路和工程经验,不决定本项目的架构,也不作为后续开发的骨架;
参考项目与既有实践提供思路和工程经验,不决定本项目的架构,也不作为后续开发的骨架;
不为延续参考项目的设计而保留与本产品无关的对象或能力。

自研替换按可验证的模块边界推进,保持现有对外契约,通过行为、隔离性和性能验证,
而不是改名或增加包装层。历史来源如实保留在 [`engine/UPSTREAM.md`](../engine/UPSTREAM.md),
迁移状态只在 [`backlog.md`](backlog.zh.md) 跟踪。
而不是改名或增加包装层。迁移状态只在 [`backlog.md`](backlog.zh.md) 跟踪。

## 对象模型

Expand Down
5 changes: 2 additions & 3 deletions engine/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ MIT License
Copyright (c) 2026 SheathedSharp
Copyright (c) 2026 option-berth contributors

Third-party components keep their own copyright and license; the full texts,
including the Sonar notice for the engine's upstream-derived code, are in
../THIRD_PARTY_NOTICES.md and ship with every release archive.
Third-party components keep their own copyright and license; their full texts
are in ../THIRD_PARTY_NOTICES.md and ship with every release archive.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
100 changes: 0 additions & 100 deletions engine/UPSTREAM.md

This file was deleted.

4 changes: 2 additions & 2 deletions engine/internal/buildinfo/buildinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
//
// It is deliberately separate from the update check. `oberth version --check`
// only reads the latest published tag; nothing in this tree downloads a binary
// or replaces the running executable — see UPSTREAM.md for why the fork removed
// that machinery instead of repointing it.
// or replaces the running executable — the fork removed that machinery instead
// of repointing it.
package buildinfo

import (
Expand Down
4 changes: 2 additions & 2 deletions engine/internal/groups/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ const LegacyConfigName = ".oberth.yaml"
// Only the first one present is used; `oberth doctor` reports the rest.
//
// **Nothing else is read.** Earlier releases also read the spellings this
// project wore under its previous names, and the upstream project's (`sonar.*`);
// both were dropped on 2026-09-24 (decision 0022). A spelling nobody writes is a
// project wore under its previous names and one older config prefix; both were
// dropped on 2026-09-24 (decision 0022). A spelling nobody writes is a
// compatibility branch nobody exercises — and a broken one fails *silently*,
// which is the failure this product likes least.
//
Expand Down
112 changes: 0 additions & 112 deletions scripts/audit-upstream-origin.py

This file was deleted.

Loading
Loading