yunyingk
8ecadbb124
Merge pull request #281 from yunyingk/codex/release-v0.11.20
...
🧪 CI / 🧪 Test, Type-Check & Build Validation (push) Canceled after 0s
🚀 Release / 🚀 Build & Publish GitHub Release (push) Canceled after 0s
chore: 发布 v0.11.20 补丁版本
v0.11.20
2026-11-08 23:19:40 +08:00
gitea
dec52cf5fa
chore: 发布 v0.11.20 补丁版本
2026-11-08 23:18:00 +08:00
yunyingk
b49e3a6ea0
Merge pull request #280 from yunyingk/mac15/tenant-disable-active-gate
...
feat: 新增租户 active 状态与统一禁用闸门
2026-11-08 12:53:31 +08:00
gitea
0ff3d9a313
feat: 新增租户 active 状态与统一禁用闸门
2026-11-08 12:52:05 +08:00
yunyingk
634f0e2b78
Merge pull request #279 from yunyingk/codex/release-v0.11.19
...
🧪 CI / 🧪 Test, Type-Check & Build Validation (push) Canceled after 0s
🚀 Release / 🚀 Build & Publish GitHub Release (push) Canceled after 0s
Release v0.11.19: Automated release bump
v0.11.19
2026-11-06 15:03:31 +08:00
gitea
9ec46b244e
Release v0.11.19: Automated release bump
2026-11-06 15:02:15 +08:00
yunyingk
cb07fad536
Merge pull request #278 from yunyingk/mac15/official-rules-export
...
feat: 增加 SealAI 官方规则 CSV 导出
2026-11-06 15:01:42 +08:00
gitea
f454d62be1
feat: 增加 SealAI 官方规则 CSV 导出
2026-11-06 15:00:05 +08:00
yunyingk
382fc1a7ae
Merge pull request #277 from yunyingk/codex/release-v0.11.18
...
🧪 CI / 🧪 Test, Type-Check & Build Validation (push) Has been cancelled
🚀 Release / 🚀 Build & Publish GitHub Release (push) Has been cancelled
Release v0.11.18: Automated release bump
v0.11.18
2026-11-02 15:26:39 +08:00
gitea
a5b504d7a3
Release v0.11.18: Automated release bump
2026-11-02 15:25:42 +08:00
yunyingk
0a1eb015fb
Merge pull request #276 from yunyingk/mac15/sqlite-review-and-auth-session-pool
...
feat: 原生 Seal 授权续期自愈与本地 SQLite 分歧待办闭环
2026-11-02 15:24:20 +08:00
gitea
8c9f102931
feat: 原生 Seal 授权续期自愈与本地 SQLite 分歧待办闭环
...
- 授权自愈: 引入长效会话 Cookie 备份池,支持 Seal 原生协助授权到期与 401 报错时平滑自动换发与静默续期;
- 存储升级: 审核报告人工裁决底座迁移至 SQLite (~/.config/seal-use/state/reviews.sqlite),支持历史 JSONL 自动平滑导入与向后兼容双写;
- 分歧待办: 新增 report review unreviewed 与 dismiss 命令,收集人机不一致单据并在日常企业命令完成后于 stderr 注入 Agent 动作指引;
- 精密频控: 实现 30 天单据时效窗口过滤(陈年单据自动归档)、动态 5 小时滑动窗口频控与 24 小时人工拒审静音抑制协议;
- 透明认知: 全面补充 Skill 路由与帮助手册,消除黑盒,透传数据边界与安全红线。
2026-11-02 15:22:47 +08:00
yunyingk
5c46c9bcc4
Merge pull request #275 from yunyingk/mac15/fix-update-clean-test-isolation
...
test(update): 为 cleanStaleBinaries 增加临时目录沙箱隔离
2026-10-29 15:50:15 +08:00
gitea
a885d1478e
test(update): 为 cleanStaleBinaries 增加临时目录沙箱隔离
...
在 `src/cli/commands/update.ts` 中为 `cleanStaleBinaries` 增加可选的 `candidateOverrides` 参数,允许在单元测试中注入沙箱路径。
在 `src/cli/commands/update.test.ts` 中重构单测,使用 `mkdtempSync` 创建临时隔离文件测试活跃路径保留与废弃文件清理逻辑,杜绝在宿主机测试期间误伤或删除真实全局二进制。
2026-10-29 15:48:34 +08:00
yunyingk
e71a81402c
Merge pull request #274 from yunyingk/codex/release-v0.11.17
...
🧪 CI / 🧪 Test, Type-Check & Build Validation (push) Has been cancelled
🚀 Release / 🚀 Build & Publish GitHub Release (push) Has been cancelled
Release v0.11.17: Automated release bump
v0.11.17
2026-10-29 15:29:06 +08:00
gitea
fc137910b4
Release v0.11.17: Automated release bump
2026-10-29 15:27:52 +08:00
yunyingk
b8acfc7595
Merge pull request #273 from yunyingk/mac15/fix-skill-version-test-isolation
...
test: 为全局技能版本检查增加测试环境隔离与环境变量覆盖
2026-10-29 15:26:57 +08:00
gitea
3540c634a0
test: 为全局技能版本检查增加测试环境隔离与环境变量覆盖
...
在 `src/core/skill-version.ts` 中引入 `SEAL_USE_GLOBAL_SKILL_DIR` 环境变量,支持自定义覆盖全局 Skill 路径。
在 `src/cli/runner.test.ts` 中通过隔离的临时目录运行 CLI runner 测试,避免开发者本地环境或发版预检期间 `~/.agents/skills/seal-use` 版本漂移导致 `runner.test.ts` 误报。
同时增加专门的单测验证 Skill 新于 CLI 时 stderr 告警与引导输出。
2026-10-29 15:25:23 +08:00
yunyingk
a40bcd1967
Merge pull request #271 from yunyingk/mac15/improve-export-tasks
...
fix: 统一审核记录导出的后台等待与实时进度
2026-10-29 15:15:03 +08:00
yunyingk
375d20a8c1
Merge pull request #272 from yunyingk/mac15/install-migration-and-cleanup
...
feat(install): 支持 --system 与 --user 模式切换并自动清理残留二进制
2026-10-29 15:13:12 +08:00
gitea
0ab524a2aa
feat(dev): dev:override 增加系统目录权限预检与友好的 sudo/迁移引导
2026-10-29 15:12:01 +08:00
gitea
87bb10f527
feat(install): 支持 --system 与 --user 模式切换并自动清理残留二进制
...
- 在 scripts/install.sh 中默认安装至用户目录 ~/.local/bin,并自动清理历史遗留的 /opt/homebrew/bin/seal-use
- 在 scripts/dev-override.ts 中优先命中 ~/.local/bin/seal-use,忽略 Homebrew 路径并自动清理残留
- 在 seal-use update 中支持 --system(提权迁移至 /usr/local/bin)与 --user(降权回归至 ~/.local/bin)选项,添加 seal-use migrate 别名
- 迁移与更新时自动清理另一端的非活动实体二进制(恪守 Single Binary Invariant)
- 自更新权限预检:当目标位于系统目录且缺少写权限时,友好提示 sudo seal-use update 而非底层报错
- 在 seal-use doctor 中增加执行模式识别与多份二进制(PATH 阴影)检测告警
2026-10-29 15:10:40 +08:00
gitea
db5a3f7139
fix: 修复审核记录导出进度与后台等待机制
...
为审核记录导出增加可复用的本地后台任务及 status/wait/list,等待超时或观察进程退出后任务继续执行。
统一实时脱敏诊断输出,保留 stdout 单一 JSON;补齐高级参数、预览和筛选配置摘要。
默认保留合思未找到单据,分别统计单据与审核记录,并显式报告部分补取失败。
补充 CLI/Skill 版本诊断、技能路由及回归测试,修复企业列表加载开销和源码更新测试隔离。
2026-10-27 15:59:04 +08:00
yunyingk
477cc630b4
Merge pull request #270 from yunyingk/mac15/refine-github-templates
...
refactor(github): 为 seal-use 量身优化精简 GitHub PR 与 Issue 模板
2026-10-27 11:20:17 +08:00
gitea
3d942f6303
refactor(github): 为 seal-use 量身优化精简 GitHub PR 与 Issue 模板
...
- PR 模板:
- 移除冗余的形式主义目录勾选列表(直接看 Files Changed)
- 聚焦核心契约核验清单:stdout 纯 JSON、--dry-run 预览防线、代码/类型/单元测试全通、严禁提前发版红线
- Bug 反馈模板:
- 去除冗长且重复的系统/架构下拉框表单项,大幅精简反馈门槛
- 引导附带 `seal-use doctor` 自诊断输出与脱敏报错日志
- 需求建议模板:
- 强化业务痛点与期望 CLI/MCP 交互方案的收集
2026-10-27 11:17:16 +08:00
yunyingk
2b8b8c33f3
Merge pull request #269 from yunyingk/mac15/sync-github-templates
...
feat(infra): 统一 GitHub PR 与 Issue 模板为简体中文标准规范
2026-10-27 10:58:43 +08:00
gitea
793c4c56d8
feat(infra): 统一 GitHub PR 与 Issue 模板为简体中文标准规范
...
- 对齐来自 hose-sealai-bridge 的 GitHub 社区交互模板标准
- 重构 .github/pull_request_template.md:
- 增加统一简体中文语言规范提醒
- 规范变更分类、影响范围模块划分及质量验证清单
- 重构 .github/ISSUE_TEMPLATE/feature_request.yml:
- 规范化功能建议标题前缀 [需求建议]: 与简体中文提示
- 增加业务场景与期望实现方案的结构化收集
- 重构 .github/ISSUE_TEMPLATE/bug_report.yml:
- 规范化缺陷反馈标题前缀 [缺陷反馈]: 与简体中文提示
- 增加运行形态(CLI/MCP/Skill/脚本)及敏感信息脱敏指引
- 更新 .github/ISSUE_TEMPLATE/config.yml 官方指引说明
2026-10-27 10:56:56 +08:00
yunyingk
5608d5fe06
Merge pull request #268 from yunyingk/mac15/sync-dev-standards
...
feat(infra): 同步 Windows 跨平台规范与 Markdown-First 协作流
2026-10-27 10:48:52 +08:00
gitea
f906fa25c3
feat(infra): 同步 Windows 跨平台规范与 Markdown-First 协作流
...
- 吸收来自 hose-sealai-bridge 仓库的近期协作与开发规范演进
- 增强 Git Hooks 防护体系:
- .githooks/pre-commit:拦截主干分支 (main/master) 直接提交,校验分支全小写与设备前缀,拦截 >15MB 单文件与 Windows 非法字符/保留设备名
- .githooks/pre-push:拦截向远端推送含大写字母的分支名
- .githooks/branch-guard.sh:增加大写字符强校验
- .githooks/setup.sh & setup.ps1:跨平台一键配置 hooksPath、autocrlf 与 symlinks
- 跨平台与敏感文件防护:
- 新增 .gitattributes 固化 LF 换行符(防止 Windows 下 CRLF 篡改 Shell 脚本)
- 更新 .gitignore 增加 .env、*.pem、*.key 及 .drafts/* 忽略
- 确立 Markdown 实体先行标准 (Markdown-First):
- 设立 .drafts/ 目录作为草稿落盘规范
- 新增项目级 Skill .agents/skills/repo-gh/SKILL.md
- 新增 .agents/rules/windows-development.md
- 更新 .agents/rules/issue-pr-workflow.md、.agents/rules/branch-naming.md、.agents/README.md 与 AGENTS.md
2026-10-27 10:43:30 +08:00
yunyingk
6379702a42
Merge pull request #267 from yunyingk/mac15/agents-md-governance-gates
...
🧪 CI / 🧪 Test, Type-Check & Build Validation (push) Has been cancelled
Enforce documentation governance gates, terminal routing anchor, and scripts partitioning
2026-10-25 18:24:55 +08:00
gitea
a2483240aa
Partition scripts into governance and lock terminal skill routing
2026-10-25 18:21:02 +08:00
gitea
43fced7c72
Drop SKILL.md size budgets and document doc layering
2026-10-25 17:55:03 +08:00
gitea
f5b66be85f
Add AGENTS.md and SKILL.md governance check gates
2026-10-25 17:49:04 +08:00
yunyingk
219be61585
Merge pull request #266 from yunyingk/codex/release-v0.11.16
...
🧪 CI / 🧪 Test, Type-Check & Build Validation (push) Has been cancelled
🚀 Release / 🚀 Build & Publish GitHub Release (push) Has been cancelled
Release v0.11.16: Automated release bump
v0.11.16
2026-10-25 17:23:44 +08:00
gitea
deb6277eb6
Release v0.11.16: Automated release bump
2026-10-25 17:21:44 +08:00
gitea
3e460012a9
Add v0.11.16 changelog notes
2026-10-25 17:21:04 +08:00
yunyingk
fc38bdaaf9
Merge pull request #265 from yunyingk/mac15/users-activate-adopt
...
Adopt users activate: document, gate, and dry-run support
2026-10-25 00:58:27 +08:00
gitea
d5725e12d1
Adopt users activate with --yes gate and --dry-run preview
...
seal-use users activate <userId> shipped in v0.4.0 as scaffolding for
the automated delegation flow but never made it onto the documented
surface, while sealUserActivate stayed reachable through the MCP write
gateway — an undocumented, ungated mutation. Adopt it:
- Document in the help registry (users area).
- Require --yes like its siblings delete/reset-password (CLI layer
only; the MCP capability call path is unchanged).
- Wire the --dry-run preview already supported by the capability.
- Cover the gate and the preview in users.test.ts and
dry-run-gates.test.ts.
2026-10-25 00:56:23 +08:00
yunyingk
c05b0dc459
Merge pull request #264 from yunyingk/mac15/naming-consistency-charter
...
Enforce naming charter and complete --dry-run preview coverage
2026-10-24 22:10:30 +08:00
gitea
ffb9820822
Add --dry-run mutation previews across remaining mutating commands
...
Close the AGENTS.md "Safety Guardrail & Mutation Preview" coverage gap:
every remote-mutating command now supports --dry-run returning
structured JSON with preview: true, without executing the mutation.
- Domain capabilities gain an optional dryRun param and preview
handlers: sealUserCreate/ResetPassword/Delete/Activate/DelegationCreate,
sealDelegationRevoke, sealApprovalRuleCreate/Update/Delete/
VersionPublish, sealSimulationBatchClean, sealInsightRecordAnalyze.
Previews reuse the shared mutationPreview() diff shape; reads (GET)
are allowed to build the before/after, writes never fire.
- CLI wiring: users create/delegation/reset-password/delete, rules
create/update/delete/publish, simulation delete, analytics analyze,
auth link revoke pass dryRun; dry-run bypasses the --yes gate
(webhook delete pattern); corps mark previews the local config tag
change without writing it.
- Shared dryRunOption() helper in parser.ts; help registry documents
--dry-run on all covered commands; cli-protocol.md §3 example list
updated; cli.md and embedded skill regenerated.
- New src/cli/commands/dry-run-gates.test.ts pins the contract:
preview JSON on stdout, zero mutating requests (GET-only where reads
are needed), config untouched for local previews.
Local user-config writes (corps switch/rename, config mode/test-dir/
lint) stay outside this contract: they are reversible local edits with
no upstream effect.
2026-10-24 22:08:37 +08:00
gitea
245ec33d1a
Enforce cross-domain naming charter with silent legacy aliases
...
Unify the visible command surface on one canonical spelling per
semantic concept while keeping every legacy spelling working as a
silent parser/dispatcher alias (per .agents/rules/cli-protocol.md §6):
- Fix silent-ignore accept-set gaps: webhook resource-pack export now
reads --out/--output-file and --downloads/--download; approval-runs
and webhook read canonical --start-date/--end-date; webhook secret
reveal accepts --reveal/-r alongside legacy --show-secret.
- Add kebab-case parser registrations for camel-only flags (human-result,
manual-approval-status, include-bridge, rule-version, document-limit,
context-lines, source-document-sn/-id, simulation-batch-id) and read
them in rules/documents search, context, approval-runs list/summary/
bridge/export.
- Retire verbs on the visible surface only: webhook create (add),
simulation delete (clean), preference thinking-depth policies delete
(remove); dispatch keeps both. Runtime nextAction suggestions and
doctor knowledge switch to canonical spellings.
- Add src/cli/naming-charter.test.ts: help surface must be lowercase
kebab-case and free of retired tokens; canonical/legacy spellings
must both parse; P0 accept-sets pinned.
- Document the charter in .agents/rules/cli-protocol.md §7; sync
AGENTS.md, README, and skills/references docs; regenerate cli.md and
embedded skill artifacts.
2026-10-24 21:56:59 +08:00
yunyingk
5d703cec38
Merge pull request #263 from yunyingk/mac15/simulation-time-and-update-hints
...
Refine simulation batch timestamps and update source messaging
2026-10-23 17:05:02 +08:00
gitea
d77c0505d8
Refine simulation batch timestamps and update source messaging
2026-10-23 17:01:21 +08:00
yunyingk
d00fa1b960
Merge pull request #262 from yunyingk/codex/release-v0.11.15
...
🚀 Release / 🚀 Build & Publish GitHub Release (push) Has been cancelled
🧪 CI / 🧪 Test, Type-Check & Build Validation (push) Has been cancelled
Release v0.11.15: Automated release bump
v0.11.15
2026-10-23 16:46:13 +08:00
gitea
4541f9c4fb
Release v0.11.15: Automated release bump
2026-10-23 16:44:25 +08:00
yunyingk
fed0a8464c
Merge pull request #261 from yunyingk/mac15/simulation-local-search
...
Add local search for simulation batches
2026-10-23 16:43:50 +08:00
gitea
ed57c0cd42
Add local search for simulation batches
2026-10-23 16:42:20 +08:00
yunyingk
4c4a80b10c
Merge pull request #260 from yunyingk/mac15/approval-raw-json
...
Add native JSON fallback for approval record details
2026-10-22 16:26:11 +08:00
gitea
3ae39bcc08
Add native JSON fallback for approval record details
2026-10-22 16:19:52 +08:00
yunyingk
b49f25a2bc
Merge pull request #259 from yunyingk/codex/release-v0.11.14
...
🧪 CI / 🧪 Test, Type-Check & Build Validation (push) Has been cancelled
🚀 Release / 🚀 Build & Publish GitHub Release (push) Has been cancelled
Release v0.11.14: extra risk filters and link identities
v0.11.14
2026-10-22 12:41:32 +08:00