Repository navigation
Commit d0eac35
docs(skills): the automation skill's inbound-hook table names config.secretRef (#25708)
Refs #25675
Clause-②: no
Metadata-protocol: none
Ruling-ref: 6386630545
The governed half of #25675, split out of #25703 so that PR's diff stays
ungoverned. **Merge this after #25703.** This row documents
`config.secretRef`, which #25703 adds to the protocol. Landed alone, the
skill would teach a key the runtime does not have yet.
## What changes
`skills/objectstack-automation/SKILL.md`, in the inbound webhook (`api`)
start-node table:
- The `secret` row said a non-blank literal is required or the flow is
refused. Once #25703 lands that is false. The row is now `secretRef` /
`secret`: one of the two is required, a package ships `secretRef:
'NAME'` (an env var the deployment fills, not `OS_*`; unfilled means
`503`), and never a literal.
- The `x-objectstack-signature` header name moved from the row into the
signature line, so it is not lost.
`skills/objectstack-automation/references/_index.md` stays in #25703. It
is `gen:skill-refs` output that `check:skill-refs` requires to ride the
spec change, and `check-governed-merges` lifts it there as a pure
regeneration (measured: #25703's file list reads NOT governed with it).
Changeset: `.changeset/25675-skills-secret-ref-row.md`,
`@objectstack/skills` patch.
## Skill readings (`skills/**`)
- `skills/objectstack-automation/SKILL.md`: 438 → 438 lines; 5755 → 5771
tokens (ceiling 5780, `check-skills-token-ratchet` exit 0).
- Whole pack (all `SKILL.md`): 4389 → 4389 lines; ratcheted authored
tokens +16.
## Verification
All at head `44ca1a08` (on `origin/main` `b77bb37e`). `dispatch-gates
--commands` derived 46 families: 44 exit 0, and 2 exit 3, a refused
prerequisite, so NOT MEASURED (`check:dual-build-cjs-loads`,
`check:lean-entry-closure`: the full workspace build). `--ran`
reconciliation: 46 accounted, 44 run, 2 NOT-MEASURED, 0 UNRUN.
`check-governed-merges --test` on this file list reads governed: 1 of 2
paths hits the register (`skills/**`, Tier H), as intended.
## 维护者速读(草稿)
- **改了什么**:自动化技能文档里 `api` 流程起始节点那一行,从「必须写非空字面 `secret`」改为「`secretRef` 或
`secret` 二选一;包里写 `secretRef: '名字'`,由部署方用同名环境变量填值(不得用 `OS_` 开头),没填值时每次请求回
503;不要提交字面密钥」。
- **为什么改**:#25703 新增了 `config.secretRef`(裁决 A),原句随之变假。这份技能文档会发给客户的 AI
读,不改的话 AI 会继续照抄字面密钥进公开仓库。
- **风险与代价(含回滚)**:只改文档一行,token 增加 16(在上限内),行数不变。必须在 #25703
之后合并,否则文档先于运行时。回滚即还原本 PR。
- **席位意见**:
- **你要做的**:在 #25703 合并后批准并合并本 PR(Tier H,需你的批准)。
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01NZJKktPWaz2EZJ95a9XZa8
---
_Generated by [Claude
Code](https://claude.ai/code/session_01NZJKktPWaz2EZJ95a9XZa8)_
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 3c30afd commit d0eac35
2 files changed
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
| 338 | + | |
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
| 343 | + | |
344 | 344 | | |
345 | | - | |
| 345 | + | |
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
| |||
0 commit comments