Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .claude/skills/agent-team-readiness/references/publishing.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ if [ "$VISIBILITY" != "PUBLIC" ]; then
exit 1
fi

KEY="$(node scripts/render-report.mjs "$OUT/atr-1.json" --out-dir "$OUT")"
KEY="$(node scripts/render-report.mjs "$OUT/atr-1.json" --out-dir "$OUT" --hosted)"
test -n "$KEY"
test -f "$OUT/$KEY.html"
```
Expand All @@ -78,6 +78,12 @@ The HTML is self-contained, has no script or external asset dependency, uses a
restrictive Content Security Policy, escapes every report string, and links
only to the matching machine-readable JSON object.

`--hosted` is allowed only after the visibility gate above. It makes the HTML
link to `./<report_key>.json`, the object name used by the JSON-first upload.
Without `--hosted`, a same-directory local render links to the actual input
JSON filename; a render into another directory omits the machine link rather
than inventing a path that does not exist.

## JSON-first gated upload

Credentials come from the hosted runtime. Do not hardcode a key, secret,
Expand Down
Loading
Loading