docs: document generator_command inputs and fix README newline rendering#4
docs: document generator_command inputs and fix README newline rendering#4
Conversation
Regression from 0ae02e8 (JSON Schema feature merge) — the committed README contained literal backslash-n escape sequences instead of real newlines, so the entire file rendered as one giant paragraph on GitHub and in the Marketplace listing. Decodes \n and \t back to real characters. No content changes. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adds rows to the Inputs table for generator_command, generator_artifact, fail_on_breaking, and webhook_url (all shipped in v1.9.0 but never documented in the README). Adds a new "Generator drift detection" section with a minimal YAML example and notes on supported generators (Zod/zodToJsonSchema, protobuf, TypeBox). Reported by @skokaina in agents-oss/agentspec#39. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The self-test jobs run delimit-action on fixtures and the action attempts to post a PR comment. Without an explicit permissions block, GITHUB_TOKEN defaults to read-only under the current org settings, so the comment POST 403s and the job fails with "Resource not accessible by integration". Adds the minimum scopes each job needs: contents:read + pull-requests:write. Root-cause fix, not a workaround. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
🛡️ Breaking API Changes Detected
Breaking Changes
|
| Gate | Status | Chain |
|---|---|---|
| API Lint | ❌ Fail | lint → semver → gov_evaluate |
| Policy Compliance | ❌ 3 violation(s) | policy → evidence_collect |
| Security Audit | ✅ Pass | security_audit → evidence_collect |
| Deploy Readiness | ⛔ Blocked | deploy_plan → security_audit |
🛡️ Enforcement chain: lint → semver → security_audit → gov_evaluate → evidence_collect → ledger
Deploy blocked until all gates pass. (advisory mode — CI will not fail)
Summary
Two related docs fixes, one commit each:
Restore README newline rendering — regression from
0ae02e8(the v1.9.0 JSON Schema merge). The committed README contained literal\nescape sequences instead of real newlines, so the entire file rendered as a single unreadable paragraph on github.com and in the Marketplace listing. Commit 1 just decodes\nand\tback to real characters — no content changes.Document
generator_commandandgenerator_artifact— both inputs shipped in v1.9.0 and are present inaction.yml, but were never added to the README Inputs table. While fixing the rendering I also added rows forfail_on_breakingandwebhook_url(same situation). Plus a new "Generator drift detection" section with a minimal YAML example and notes on supported generators (Zod → zodToJsonSchema, protobuf, TypeBox).Reported by @skokaina on agents-oss/agentspec#39 — they went looking for
generator_commandin the README and found nothing.Test plan
\nremaining)action.yml, no changes to code, no tests affected🤖 Generated with Claude Code