From 135cd84e6931c1911e077a2cd61383761a9d11d9 Mon Sep 17 00:00:00 2001 From: yunyingk Date: Fri, 16 Oct 2026 13:22:23 +0800 Subject: [PATCH] Refine hose auth guidelines and remove hardcoded personnel names --- .../references/customer-feedback-rule-remediation.md | 6 +++--- skills/seal-use/references/hose-enterprise-auth.md | 11 ++++++----- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/skills/seal-use/references/customer-feedback-rule-remediation.md b/skills/seal-use/references/customer-feedback-rule-remediation.md index 4e75ce0..39e1aa0 100644 --- a/skills/seal-use/references/customer-feedback-rule-remediation.md +++ b/skills/seal-use/references/customer-feedback-rule-remediation.md @@ -211,8 +211,8 @@ Do not automatically rerun or resubmit the customer's production document. Run a - 优先输出自带内联样式的**自包含单文件 HTML**(以及原始 Markdown)。用户可以在任何 Chrome / Edge 浏览器中直接打开、查看,或使用浏览器的「打印 -> 另存为 PDF」无损导出,字体内嵌、格式绝对保真。 - 当本地宿主环境已具备极简无头工具(如系统级 `typst` 或系统自带无头 Chrome/Edge)时,可静默协同编译出 PDF 文件一同交付。 2. **操作身份声明原则(避免张冠李戴)**: - - 严禁将底层 API 绑定的系统凭证名称(如“周晚容”)直接写为“发布操作人”; - - 必须显式注明:**“发布操作身份:周晚容(系统调用凭证账号,由智能助手代执行)”**,明确告知这只是调用系统所使用的鉴权身份,不代表是该自然人亲自操作。 + - 严禁将底层 API 绑定的系统凭证名称直接写为“发布操作人”; + - 必须显式注明:**“发布操作身份:<系统凭证绑定账号/员工名>(系统调用凭证账号,由智能助手代执行)”**,明确告知这只是调用系统所使用的鉴权身份,不代表是该自然人亲自操作。 3. **免尾戳原则 (No Vendor Footers)**: - 报告文末与页脚**严禁携带工具自夸尾戳**(例如:❌ `生成工具:Seal Use Automated Engineering Suite`),保持纯粹中立、属于客户企业与业务事实本身的技术报告风格。 4. **双重呈现原则 (Diff + 完整前文/完整后文)**: @@ -261,6 +261,6 @@ Do not automatically rerun or resubmit the customer's production document. Run a - **线上版本序号**:发布的版本序号(如 `版本 34`) - **线上版本名称**:发布时录入的具体版本名称 - **正式生效时间**:精确到秒的北京时间 - - **系统调用凭证账号**:显式说明“周晚容(系统调用凭证账号,由智能助手代执行)” + - **系统调用凭证账号**:显式说明“<系统凭证绑定账号/员工名>(系统调用凭证账号,由智能助手代执行)” - **全量规则总数**:核对总数是否变化 - **规则一致性校验**:确认目标规则文本与确认内容 100% 逐字吻合 diff --git a/skills/seal-use/references/hose-enterprise-auth.md b/skills/seal-use/references/hose-enterprise-auth.md index e819938..5d35aa9 100644 --- a/skills/seal-use/references/hose-enterprise-auth.md +++ b/skills/seal-use/references/hose-enterprise-auth.md @@ -63,9 +63,10 @@ Important: - Do not return the Seal tenant URL such as `https://.sealai.cc`; that is not the Hose authorization link. - Do not manually assemble `thirdparty.html` with a global/OpenAPI token. - `seal-use auth check` proves this stage works but redacts the token, so it is not enough when the user needs the actual clickable Hose link. -- **Formatting Requirement**: When returning an authorization link (`auth link` or `auth hose-link`) to the user, ALWAYS provide: - 1. The operator identity used (e.g. `周晚容` / `staffId`), - 2. The exact expiration time in Beijing time (`expiresAt`, e.g. `2026-09-22T11:20:02+08:00`), +- **Dedicated CLI Command**: Use `seal-use auth hose-link --corp [--expire ] [--force]`. This command directly generates an independent provisional auth link without reading or mutating internal CLI session cache. It supports `--expire` (default `2h`, e.g. `7d` or `7200`). +- **Formatting Requirement**: When returning a Hose authorization link (`auth hose-link`) to the user, directly use the CLI JSON output: + 1. The operator identity: directly display the returned `staffId` (or `staffName` if present in output; do NOT make additional network calls or auth checks to search for personal names), + 2. The exact expiration time in Beijing time (`expiresAt`), 3. BOTH a code block (` ```text ... ``` `) for easy copying without accidental default browser redirection, AND a clickable hyperlink. -- **Dedicated CLI Command**: Use `seal-use auth hose-link --corp [--expire ] [--force]`. This command directly generates an independent provisional auth link without reading or mutating internal CLI session cache. It supports `--expire` (default 7200, e.g. 86400 for 1 day). -- **Seal AI Platform Direct Link**: Use `seal-use auth link --corp [--note ]`. This generates a 24-hour provisional delegation link for the Seal AI audit platform (`https://*.sealai.cc`). +- **Seal AI Platform Direct Link**: If the user needs a delegation link for the Seal AI audit platform (`https://*.sealai.cc`) instead of Hose/易快报, use `seal-use auth link --corp [--note ]`. +