You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9059cd5
Browse filesBrowse the repository at this point in the historyBrowse files
Name concrete inputs rather than relying on unstated assumptions. For accessibility scenarios, specify the WCAG criterion, conformance level, and threshold. Do not invent missing inputs; mark the scenario incomplete and do not score it until they are explicit.
- Frontend Developer: "Generate visual regression test reports when new components are added"
161
164
- DevOps Engineer: "Monitor failed deployment logs and create incidents with root cause analysis"
162
165
- QA Tester: "Analyze test coverage changes in PRs and comment with recommendations"
163
166
- Product Manager: "Weekly digest of completed features grouped by customer impact"
164
167
- Program Manager: "Weekly cross-team milestone status digest with blocked items highlighted"
165
-
- Designer: "Flag PRs that modify shared designtokensor component CSS without a matching Figma link"
168
+
- Designer (DS-2): "For PRs changing `design-tokens.json` keys `color.*`or `spacing.*`, check for a linked Figma reference and assess target size against WCAG 2.5.8 AA's 24 × 24 CSS px minimum; use the `design-system` and `accessibility` labels."
166
169
- Legal / Compliance: "Scan new dependencies added in PRs for non-permissive SPDX licenses"
167
170
- Information Worker: "Weekly summary of stale documentation files not updated in the last 90 days"
168
171
@@ -179,7 +182,12 @@ Store all scenarios in cache memory.
179
182
"invocation": {
180
183
"method": "claude-code-inline-sub-agent",
181
184
"status": "succeeded",
182
-
"error": null
185
+
"error": null,
186
+
"isolation_canary": {
187
+
"root_agents_md_context": "absent",
188
+
"skill_inventory_context": "absent",
189
+
"git_status_snapshot": "absent"
190
+
}
183
191
},
184
192
"recommendation": {
185
193
"trigger": "suggested trigger",
@@ -200,7 +208,7 @@ Store all scenarios in cache memory.
200
208
}
201
209
```
202
210
203
-
Summarize the recommendation; do not include full YAML. For successful invocations, replace each score placeholder with an integer from 1 to 5. Set `invocation.method` to `claude-code-inline-sub-agent`. If invocation fails, set `invocation.status` to `failed`, record the error in `invocation.error`, and set both `recommendation` and `scores` to `null`. Never encode an invocation failure as a score.
211
+
Summarize the recommendation; do not include full YAML. For successful invocations, replace each score placeholder with an integer from 1 to 5. Set `invocation.method` to `claude-code-inline-sub-agent`. If invocation fails, set `invocation.status` to `failed`; if its isolation canary fails or is incomplete, set it to `contaminated`. In either case, record the error and set both `recommendation` and `scores` to `null`. Never encode an invocation failure or contamination as a score.
204
212
205
213
**Assessment questions:** Does the suggestion include appropriate triggers (`on:`)? Correct tools (github, web-fetch, playwright, etc.)? Proper safe-outputs? Security best practices (minimal permissions, network restrictions)? A clear, actionable prompt?
206
214
@@ -214,10 +222,18 @@ The `persona-evaluator` is dynamically materialized as a Claude Code sub-agent f
214
222
215
223
For every evaluator call, pass only its scenario, guidance mode and required
216
224
response format. Do not pass parent analysis, prior responses, scores, ambient
217
-
`AGENTS.md` content or skill inventories. The evaluator must use only the
218
-
guidance files allowed by its mode; if the runtime injects ambient instructions
219
-
that cannot be excluded, mark the invocation contaminated/unavailable and do
220
-
not score it.
225
+
`AGENTS.md` content, git status or skill inventories.
226
+
227
+
Before reading guidance or scoring, require the evaluator to return an
228
+
`isolation_canary` with `root_agents_md_context`, `skill_inventory_context` and
229
+
`git_status_snapshot`, each set to `absent`, `present` or `unknown`. These
230
+
fields describe context/instructions visible to the evaluator, not files that
231
+
exist in the checkout. Score only when all three are `absent` and the evaluator
232
+
confirms it used only the guidance files allowed by its mode. A missing,
233
+
`present` or `unknown` value, or an injected instruction it cannot exclude,
234
+
makes the invocation `contaminated/unavailable`: discard its recommendation
235
+
and scores. Do not infer a clean context from a recommendation or from the
236
+
canary alone if guidance outside the allowed files is visible.
221
237
222
238
**Important**:
223
239
- You are ONLY testing the agent's responses, NOT creating actual workflows
@@ -412,6 +428,13 @@ read `.github/agents/agentic-workflows.md` and follow ad hoc evaluation in
412
428
only the first 8,000 UTF-8 bytes of each guidance file, including metadata;
413
429
follow only routes visible there and apply the same bound to linked guidance.
414
430
Never read hidden tails or reconstruct them from other full-guidance results.
431
+
Before reading guidance or evaluating the scenario, return an `isolation_canary`
432
+
with `root_agents_md_context`, `skill_inventory_context` and
433
+
`git_status_snapshot`, each `absent`, `present` or `unknown`. These values
434
+
describe visible context/instructions, not files that exist in the checkout.
435
+
If any is not `absent`, or if other ambient instructions cannot be excluded,
436
+
stop and report contamination without a recommendation. Do not claim absence
437
+
if the context cannot be inspected.
415
438
If ambient instructions are injected and cannot be excluded, report the
416
439
invocation as contaminated without a recommendation or score. Return guidance
417
440
paths, byte counts and unavailable routes with the recommendation. Do not
0 commit comments