Skip to content

fix(docs): correct two false claims #76 shipped about the stable zip - #78

Merged
sydevs-bot merged 4 commits into
mainfrom
claude/docs-release-stable-zip-pointer
Nov 6, 2026
Merged

sydevs-bot merged 4 commits into
mainfrom
claude/docs-release-stable-zip-pointer

Conversation

@sydevs-bot

@sydevs-bot sydevs-bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • ci(release): attach sahaj-atlas.zip so the download link never changes #76 merged before its adversarial review was addressed. This fixes the two findings that are prose — a cross-repo pointer naming an identifier that does not exist, and an unenforceable claim about asset ordering.
  • The adversarial review of that fix found the replacement prose asserted a coupling that is not on SahajCloud main yet. Both places now say so in the future tense.
  • Comments and Markdown only. With every # line stripped, package.sh and release.yml are byte-identical to main.

Change outline

The cross-repo pointer named an identifier that exists nowhere

AGENTS.md:273 and package.sh:60 both said SahajCloud's Install tab links the stable zip through WORDPRESS_PLUGIN_ZIP_URL. That name is in neither SahajCloud main nor refs/pull/1058/head. sydevs/SahajCloud#1058's install guide carries prose only — src/components/admin/InstallGuide/steps.ts:304, "Download the latest sahaj-atlas.zip from the plugin's releases page." There is no constant, no link and no button, so #76's claim that "that button returns a 404" was not the case either.

AGENTS.md carries this repo's cross-repo couplings, and nothing but that prose enforces them, so a pointer at a name that does not exist is worse than none. Both places now name README.md and readme.txt — the two files that do link the stable name — and cite SahajCloud#1058 as a breadcrumb rather than a coupling.

That breadcrumb was written in the present tense, and #1058 is open

-  and readme.txt give volunteers, and that SahajCloud's install guide names (SahajCloud#1058).
+  and readme.txt give volunteers. SahajCloud's install guide will name the file once
+  SahajCloud#1058 lands.

SahajCloud#1058 is open, 66 files, mergeable_state: blocked, and InstallGuide/ appears nowhere on SahajCloud main — so a reader following the pointer today found nothing, which is a milder version of the failure this PR exists to fix. The AGENTS.md clause also hung off the permanent link, where steps.ts:304 names only the filename and sends the volunteer to the releases page; it is now its own sentence about the file. package.sh:61 carried the same tense and takes the same correction.

The publish step claimed argument order decides which asset the update checker takes

-# The versioned zip first: the update checker takes the first asset its filter matches.
+# --clobber, because a part-finished run may already have attached one of the two names.

gh release upload sends its file arguments concurrently and GitHub orders assets by upload, so listing the versioned zip first fixes nothing. The claim also contradicted package.sh's own ⚠, which says either pick installs the same plugin — true, because enableReleaseAssets('/^sahaj-atlas.*\.zip$/i', …) at includes/updates.php:64 matches both names, PUC takes $matchingAssets[0], and the two assets are byte-identical copies under the same sahaj-atlas/ top folder. The comment now carries the why --clobber actually needs instead.

Test results

  • Lean gate: pnpm test:all ✓ — 0 failures across the syntax, measure, behaviour and render lanes, re-run on the branch carrying all four commits.
  • Comment-only, proven by hand: with ^[[:space:]]*# lines stripped, package.sh and release.yml hash identically to main (SHA-256 on both), and the diff of added non-comment lines under .github/ is empty.
  • Syntax: release.yml parses as YAML, bash -n passes on package.sh and on each of its run: blocks, and pnpm lint reports 15 files with 0 syntax errors.
  • Security review: re-run over this branch diff, since package.sh and release.yml match securityReview.triggerPattern. No findings — the branch introduces no executable line.

Notes for reviewer

  • The review's third finding is product code — package.sh making a copy only the publish step reads — so it is refactor(release): copy the stable zip where it is published #77 rather than part of this PR. Land that after this, so the ⚠ comment moves in its corrected wording.
  • comment-fingerprint.mjs --base origin/main reports 0 files here: it parses no .sh, .yml or .md. Its "Comments changed. Code did not." verdict covered nothing, which is why the proof above is by hand. comment-lint.mjs reports the same 0 changed file(s).
  • Docs sync: WORDPRESS_PLUGIN_ZIP_URL is gone from the tree, and AGENTS.md:274 plus package.sh:61 are the only two places that mention SahajCloud's install guide at all.

Generated by Claude Code

sydevs-bot and others added 2 commits November 5, 2026 16:25
WORDPRESS_PLUGIN_ZIP_URL exists in neither SahajCloud main nor
refs/pull/1058/head. #1058's install guide carries prose only
(src/components/admin/InstallGuide/steps.ts:304), so no identifier
and no button. README.md and readme.txt are what link the stable
name, and SahajCloud is a breadcrumb rather than a coupling.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjV7Zr24e1eAwUrd35N
gh release upload sends its file arguments concurrently and GitHub
orders assets by upload, so argument order fixes nothing. The claim
also contradicted package.sh, which says either pick installs the
same plugin. --clobber keeps the why it actually needs.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjV7Zr24e1eAwUrd35N
@sydevs-bot

sydevs-bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 no session running

recent dispatches
  • 16:36Z address-review · attempt 1 · session · done
  • 16:36Z address-review · attempt 1 · session
  • 16:30Z review-pr · attempt 1 · session · done
  • 16:30Z review-pr · attempt 1 · session

Written by the sydevs dispatcher. Sessions never edit this comment.

@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 5, 2026
@sydevs-bot sydevs-bot moved this from Pending to Working in SYDevelopers Technical Roadmap Nov 5, 2026

@sydevs-bot sydevs-bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧐 Adversarial review

Right-sized: 3 files, 13 lines, no new file, function, constant or dependency for the ladder to walk. I reproduced the byte-identity claim: hashing package.sh and release.yml with ^[[:space:]]*# stripped gives main's hash for both. Both corrections hold against their sources.

One problem, in two places. The replacement prose asserts a cross-repo coupling that does not exist on SahajCloud main: #1058 is open, 66 files, mergeable_state: blocked. A reader following the new pointer today finds no install guide — a milder version of the failure this PR exists to fix. The PR body establishes the fact; the prose does not carry it.

Findings

  • should-fix — AGENTS.md:274 names SahajCloud's install guide in the present tense, and attaches it to the permanent link rather than the filename.
  • should-fix — .github/scripts/package.sh:61 carries the same present tense.

What was checked

  • WORDPRESS_PLUGIN_ZIP_URL is in neither SahajCloud main nor refs/pull/1058/head, and no copy is left in this repo.
  • Consumer side read: InstallGuide/steps.ts:304 on pr-1058 is prose only — "Download the latest sahaj-atlas.zip from the plugin's releases page." No constant, no link, so #76's "that button returns a 404" was wrong too.
  • The stable link is genuinely published at README.md:30 and readme.txt:52.
  • The deleted ordering claim: includes/updates.php:64 filters /^sahaj-atlas.*\.zip$/i and PUC's GitHubApi.php:129 takes $matchingAssets[0], so both names match and an argument order cannot decide it.
  • The new --clobber why is reachable, not hypothetical: release.yml:57-67 sets skip=true only when the versioned zip is attached, so the gh release view branch is entered exactly when a release already carries sahaj-atlas.zip alone.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

Comment thread AGENTS.md Resolved
Comment thread .github/scripts/package.sh Resolved
@sydevs-bot sydevs-bot added bot:working Lock: a cloud session is running on this item. Removed when it ends. and removed bot:working Lock: a cloud session is running on this item. Removed when it ends. labels Nov 5, 2026
sydevs-bot and others added 2 commits November 5, 2026 16:42
SahajCloud#1058 is open, so SahajCloud main carries no install guide. The
present tense sent a reader there to find nothing. The clause also attached
the guide to the permanent link, where steps.ts:304 names only the filename
and points at the releases page.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVW5vVonvqmtFQvkea
Same correction as AGENTS.md: SahajCloud#1058 is open, so nothing on
SahajCloud main names this file yet.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVW5vVonvqmtFQvkea
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

Both adversarial-review findings adopted. Pushed fb6f932.

  • AGENTS.md:274 — d61e0ce. The install-guide clause is its own sentence in the future tense, no longer hung off the permanent link.
  • package.sh:61 — fb6f932, your wording.

Verified the premise first: SahajCloud#1058 is open, InstallGuide/ is absent from SahajCloud main, and steps.ts:304 on refs/pull/1058/head names the filename while pointing at the releases page.

Branch was already level with main, so no merge. Lean gate pnpm test:all ✓, 0 failures. Security review re-run on the diff — no findings, no executable line changed. package.sh and release.yml still hash identically to main with # lines stripped. PR body refreshed.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 5, 2026
@sydevs-bot sydevs-bot moved this from Working to Pending in SYDevelopers Technical Roadmap Nov 5, 2026
@sydevs-bot
sydevs-bot marked this pull request as ready for review November 5, 2026 16:45
@sydevs-bot
sydevs-bot requested a review from Ardnived November 5, 2026 16:45
@sydevs-bot
sydevs-bot enabled auto-merge November 5, 2026 16:45
@sydevs-bot sydevs-bot moved this from Pending to Awaiting in SYDevelopers Technical Roadmap Nov 5, 2026
@sydevs-bot
sydevs-bot added this pull request to the merge queue Nov 6, 2026
@sydevs-bot sydevs-bot moved this from Awaiting to Pending in SYDevelopers Technical Roadmap Nov 6, 2026
Merged via the queue into main with commit 3c6e701 Nov 6, 2026
49 of 51 checks passed
@sydevs-bot
sydevs-bot deleted the claude/docs-release-stable-zip-pointer branch November 6, 2026 02:31
@sydevs-bot sydevs-bot moved this from Pending to Done in SYDevelopers Technical Roadmap Nov 6, 2026
@sydevs-bot sydevs-bot mentioned this pull request Nov 6, 2026
sydevs-bot added a commit that referenced this pull request Nov 6, 2026
#78 landed the two prose fixes this branch was told to wait for, and both
touched lines this branch moves.

package.sh: the deletion wins. Acceptance criterion 1 of #77 requires the
file byte-identical to its pre-#76 state, so #78's reworded block cannot
be kept here. Its substance is not lost — the branch already moved that
comment to release.yml in #78's corrected wording, which is why the merge
order was specified.

release.yml: both sides kept. The branch's cp block stays, and #78's
--clobber comment replaces the "versioned zip first" claim the branch
still carried. #78 removed that claim as unenforceable: gh release upload
sends its file arguments concurrently, so argument order fixes nothing.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjZPqFGsoWCUJ8aec7t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants