feat(go): generate the control pages from data/agentic-controls.json - #68
Merged
Merged
Conversation
The 31 pages under /go/ came from a generator that never landed in any repo, so they drifted: the old governance tagline and alt text, the agentrust.io wordmark, a v=10 stylesheet on the redirects, and a limits bullet calling the Weight Custody Manifest private. tools/build-controls.py now renders go/index.html and the 30 redirects from data/agentic-controls.json, validates the data first, and refuses to run when a published permalink has no control. --check runs in the links job, so a hand edit fails CI. Before any content change it reproduced all 31 pages on main byte for byte. The fixes are then made in the generator: new tagline, AgenTrust wordmark, an eyebrow linking /#chain, stylesheet v=20, and an optional spec field per control. AT-30 links wcm.agentrust-io.com; AT-29 stays private, and the limits bullet is rendered from those markers. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013aK3gVWzNdcM3hZ2o2awK2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The 31 pages under /go/ were written by a generator that never landed in any repo (#39 called porting it the follow-up), so they drifted. They still carried the "Open standards for AI agent governance" tagline and alt text, the agentrust.io wordmark,
design-system.css?v=10on the redirect pages, and a limits bullet saying model weight custody comes from a specification in private pre-standardization. The Weight Custody Manifest repository is public and wcm.agentrust-io.com serves it.The generator
tools/build-controls.pyrendersgo/index.htmland the 30go/<slug>/index.htmlredirects fromdata/agentic-controls.json. Python stdlib only.--checkfails when any page differs from the data. Thelinksjob in reader-journey.yml runs it, so a hand edit to a page fails CI.Content fixes, made in the generator
specfield. AT-30 now names the Weight Custody Manifest and links wcm.agentrust-io.com, which the page promised once that specification was public. AT-29 stays marked private, since agentic-usage-control is still a private repository. The limits bullet is rendered from those markers and now names only continuous usage control.design-system.css?v=20, the version the homepage moved to in feat(home): lead with evidence a stranger can check #63.Changing a control from now on: edit
data/agentic-controls.json, runpython tools/build-controls.py, commit both.Checked
--checkpassed against the pages on main at e7d7a9f with only the two privatespecmarkers added to the data. The generator reproduced all 31 pages byte for byte.--checkexits 1 on a hand edit to one redirect page, on a malformed OpenCRE id in the data, and on a permalink directory with no control.Generated with Claude Code
https://claude.ai/code/session_013aK3gVWzNdcM3hZ2o2awK2