Skip to content

Refresh Terminus commands and releases reference data - #1

Draft
EdwardAngert wants to merge 2 commits into
feature/terminus-data-update-automationfrom
chore/refresh-terminus-data
Draft

Refresh Terminus commands and releases reference data#1
EdwardAngert wants to merge 2 commits into
feature/terminus-data-update-automationfrom
chore/refresh-terminus-data

Conversation

@EdwardAngert

Copy link
Copy Markdown
Owner

Summary

Stacked on pantheon-systems#10177 (the automation mechanism). Applies it once to fix the current staleness in src/source/data/commands.json and terminusReleases.json, generated by scripts/update-terminus-data.ts against the live Terminus repo.

Two commits, split so the diff is reviewable:

  1. Reformat onlyterminusReleases.json goes from 4-space/escaped-slash (an old PHP json_encode convention) to 2-space/unescaped, matching the script's output style. Verified byte-for-byte JSON-equal before/after; zero data change.
  2. Actual content refresh:
    • commands.json: 4.2.04.3.2, 157 → 161 commands. Adds four commands missing from the reference entirely: site:build-path, site:build-path:set, vcs:github-host:add, and _complete (a hidden Symfony Console shell-completion command).
    • terminusReleases.json: 28 → 150 releases. Previously stopped at 4.1.1 (Nov 2025); now current through 4.3.2 (Jun 2026), so the <Releases /> changelog page's one-year window actually has 2026 releases in it to show.

This PR targets the fork (not pantheon-systems/documentation directly) because it's stacked on a branch that only exists here; it should be re-targeted or reopened against upstream once PR #1 merges there.

Test plan

  • Verified reformat commit is byte-for-byte JSON-equal to the pre-reformat data (no accidental content change)
  • Diffed command names between old/new commands.json to confirm exactly which commands were added (none removed)
  • Cross-checked new command names (site:build-path, vcs:github-host:add, etc.) against @command annotations in a clone of pantheon-systems/terminus
  • Confirmed terminusReleases.json's newest entry matches gh api repos/pantheon-systems/terminus/releases/latest

Built with docs-agent-plugin

🤖 Generated with Claude Code

EdwardAngert and others added 2 commits July 23, 2026 13:14
Pure formatting change, no data change (verified byte-for-byte JSON
equality before/after): 4-space indent with escaped slashes (an old
PHP json_encode convention) to 2-space with unescaped slashes, matching
what scripts/update-terminus-data.ts now writes. Isolated from the
actual data refresh in the next commit so that diff reads as content
only.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Generated by scripts/update-terminus-data.ts against the live Terminus
repo. Fixes the drift found in review:

- commands.json: 4.2.0 -> 4.3.2, 157 -> 161 commands. Adds four commands
  that were missing from the reference entirely: site:build-path,
  site:build-path:set, vcs:github-host:add, and _complete (a hidden
  Symfony Console shell-completion command).
- terminusReleases.json: 28 -> 150 releases. Previously stopped at
  4.1.1 (Nov 2025); now current through 4.3.2 (Jun 2026), so the
  <Releases /> changelog page's one-year window actually has 2026
  releases in it to show.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant