Commit fe4395f
docs(skills): source-pack lessons from the Feishu live pass and the Notion loader review (#190)
* docs(skills): source-pack lessons from the Feishu live pass and the Notion loader review
Three families of hard-won guidance folded back into the skill:
- live-verification.md gains an OAuth-provider section (the credential
is a flow: app + redirect URI + config PUT + browser authorization)
and its four live-verified traps — provider scope unions the app
cannot enable (Feishu 20027 → oomol-lab/open-connector#267),
gateway-declared scopes the API does not honor (99991679 named
im:message:readonly against declared get_as_user scopes → #268),
capability/admin gates beyond scopes entirely (bot ability 232025,
sensitive-permission approval), and grant-time token snapshots
(re-authorize after every scope change).
- Probing now covers declared INPUT BOUNDS (Feishu's declared
page_size max 100 vs the wire's 50, 99992402 → #269/#271) and the
termination signal ON THE REAL FINAL PAGE (Feishu wiki's non-empty
token beside has_more:false → has_more_path, #270).
- review-checklist.md hardens two items from the Notion approval
review: the failure arm of every gate must be reachable through the
PUBLIC entry point (serde's untagged buffering destroyed the
evidence first_non_finite was checking for — dead code by
construction), and every wire e2e asserts the EXACT input key set
per request, absence included.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* docs(skills): source-pack redaction and doc-sync lessons from the Feishu round-2 review
The round-2 pass on the Feishu pack (PR #186) found a P1 the skill's
existing rules were one level too shallow to prevent, plus four process
gaps. Folded back:
- Redaction must DECODE nested JSON-encoded strings and audit their
leaves with the same allowlist (real member names survived inside
body.content while the outer-tree audit passed), and the audit ships
as an in-repo tripwire test so CI enforces the guarantee.
- Person-linked capture timestamps are coarsened; redacted
cross-references must stay self-consistent (a row's url embedding
its own guid); PII that ever reached a commit means branch-history
rewrite, not a tip edit.
- Wire pins assert declared constants by VALUE (every table's
page_size number), not key presence — pageSize is where a live
contract defect actually surfaced.
- Zero-fixture-evidence columns are annotated doc-derived at the
declaration.
- The pack doc's pushdown matrix is re-derived from the FINAL yaml
after the live pass (a dropped pushdown must read `—`), and upstream
gateway defects get filed as issues and linked from the pack doc.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent 2291b19 commit fe4395f
3 files changed
Lines changed: 131 additions & 6 deletions
File tree
- docs/superpowers/skills/source-pack
- references
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
133 | | - | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
134 | 140 | | |
135 | 141 | | |
136 | 142 | | |
| |||
Lines changed: 79 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
58 | 93 | | |
59 | 94 | | |
60 | 95 | | |
| |||
70 | 105 | | |
71 | 106 | | |
72 | 107 | | |
73 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
74 | 122 | | |
75 | 123 | | |
76 | 124 | | |
| |||
140 | 188 | | |
141 | 189 | | |
142 | 190 | | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
143 | 213 | | |
144 | 214 | | |
145 | 215 | | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
146 | 221 | | |
147 | 222 | | |
148 | 223 | | |
| |||
152 | 227 | | |
153 | 228 | | |
154 | 229 | | |
155 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
156 | 233 | | |
157 | 234 | | |
158 | 235 | | |
Lines changed: 43 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
28 | 35 | | |
29 | 36 | | |
30 | 37 | | |
| |||
77 | 84 | | |
78 | 85 | | |
79 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
80 | 96 | | |
81 | 97 | | |
82 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
83 | 107 | | |
84 | 108 | | |
85 | 109 | | |
| |||
101 | 125 | | |
102 | 126 | | |
103 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
104 | 140 | | |
105 | 141 | | |
106 | 142 | | |
| |||
112 | 148 | | |
113 | 149 | | |
114 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
115 | 157 | | |
116 | 158 | | |
117 | 159 | | |
| |||
0 commit comments