Skip to content

chore(release): 0.3.4 - #81

Merged
sydevs-bot merged 3 commits into
mainfrom
claude/release-0.3.4
Nov 8, 2026
Merged

sydevs-bot merged 3 commits into
mainfrom
claude/release-0.3.4

Conversation

@sydevs-bot

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

Copy link
Copy Markdown
Contributor

Held: do not merge until #80 lands. Merging it then releases v0.3.4 to every site.

Summary

Change outline

Four declarations, each read by a different consumer, plus the entry Plugin Update Checker shows in the site's update modal.

 sahaj-atlas.php
-  * Version:           0.3.3          # package.sh:18 reads this as the source of truth,
+  * Version:           0.3.4          # and release.yml's pickaxe finds the commit that changed it
-  SAHAJ_ATLAS_VERSION '0.3.3'         # the cache-buster on every enqueued asset
+  SAHAJ_ATLAS_VERSION '0.3.4'
 blocks/embed/block.json
-  "version": "0.3.3"                  # the block's own registered version
+  "version": "0.3.4"
 readme.txt
-  Stable tag: 0.3.3
+  Stable tag: 0.3.4
+  = 0.3.4 =                           # PUC shows this entry in the update modal

What the entry claims, against what shipped:

 includes/seo.php        a refused regional locale retries as its bare language
+  → "a site whose language is Dutch, German, Italian or the like …", plus the caveat on the
+    languages still unfixed
 includes/routing.php    the widget's view state is cut off the route
 includes/embed.php      the route is encoded on its way to the script URL and the endpoint
+  → "a link copied from the map … now carries the atlas title and description"
 includes/updates.php    only a release carrying the built zip offers an update
+  → "an update … now always installs the plugin's own zip"

Test results

  • Lean gate: ✓ pnpm test:all — php syntax lint, the measure lane, the WordPress 6.7 / PHP 7.4 behaviour suite, and the render lane. 0 failures, re-run after each changelog correction.
  • Targeted: ✓ package.sh's version checks pass — all four declarations read 0.3.4, = 0.3.4 = is present, and 0.3.4 sorts above v0.3.3. It then stops at rsync, absent from the routine container, so CI builds the zip.
  • Build: N/A

Manual verification

  1. After merge, confirm the Release run published sahaj-atlas-0.3.4.zip and refreshed sahaj-atlas.zip, and that releases/latest/download/sahaj-atlas.zip serves 0.3.4.
  2. On a site running 0.3.3, confirm WordPress offers the update and installs it into the existing sahaj-atlas folder rather than a second one.
  3. On a non-English site, confirm the Atlas page's <title> and description arrive in that language.

Notes for reviewer

  • Held for fix(seo): a variant site locale still gets English metadata #80, by your answer B on the caveat thread. Before this merges: fix(seo): a variant site locale still gets English metadata #80 lands, main merges in here, the = 0.3.4 = entry gains fix(seo): a variant site locale still gets English metadata #80's fix and drops its third sentence (A few languages still get English, including any WordPress lists as a variant …), and pnpm test:all runs again.
  • refactor(release): copy the stable zip where it is published #79 has merged, and shares no file with this. It touches only .github/, which never reaches the zip, so it forced no follow-up release.
  • The changelog names a limitation rather than promising a fix. sahaj_atlas_seo_locale() matches xx or xx-YY only, so de_DE_formal, and a three-letter code such as ckb, still send no locale and still get English. Filed as fix(seo): a variant site locale still gets English metadata #80, which this release now waits for.
  • Two findings from /code-review high were valid and are fixed in b1c337f: the update line claimed GitHub's source copy is missing files the plugin needs to run — vendor/ is committed, so it runs, and the harm includes/updates.php:9 names is the second install; and the locale line promised every non-English site its own language.
  • The adversarial review's one finding is fixed in 7b89e98: the caveat said only a variant locale still gets English, which told a ckb site its case was fixed.
  • /security-review ran, triggered on path by securityReview.triggerPattern matching sahaj-atlas.php and blocks/. No finding: the diff is three version literals and changelog prose.
  • /simplify was not run. The diff contains no code for its four lenses to read.
  • comment-lint.mjs matched no files — its extension filter is JS/TS only, and this diff adds no code comment.
Detail

Why now. v0.3.3 published on 2026-10-20. Seven commits have landed since; five touch tests, docs, the dev dependency and the release workflow, none of which reaches the zip. The one that ships is #73, whose three fixes no site can receive without a release: most national sites were being handed the English title and description, a shared map link lost its metadata entirely, and an update could install GitHub's source archive. 13 volunteer-run sites see only GitHub Releases.

The last bump published. v0.3.3 carries both sahaj-atlas-0.3.3.zip (2026-10-20) and sahaj-atlas.zip (backfilled 2026-11-05 by #76), so no failed publish is being stacked over. CI and Release are both green on 3c6e701.

Patch, not minor. Every shipped change since the tag is a fix:. Pre-1.0 a breaking change would still be a minor, and there is none.

#73's fourth fix is not in the changelog. Reading Plugin Update Checker's release constants off the API instance prevents a Class not found fatal at the next vendor/ bump. Nothing a volunteer can observe today, and the changelog is written for one non-technical volunteer per site.

The 0.3.3 entry is untouched, and readme.txt's install step keeps #76's permanent download link.

No fifth declaration. grep -rn "0\.3\.3" . --exclude-dir={.git,vendor,node_modules} after the bump leaves exactly one hit: the = 0.3.3 = changelog heading.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Mg9rjVJhKyzjC7u27iMWxU

sydevs-bot and others added 2 commits November 6, 2026 08:09
#73 merged three weeks ago and shipped fixes no site can get without a
release: national sites were handed the English title and description,
a shared map link lost its metadata entirely, and an update could
install GitHub's source archive instead of the built zip. The thirteen
volunteer-run sites only ever see a GitHub Release.

Patch, not minor: every shipped change since v0.3.3 is a fix. The other
commits on main since the tag touch tests, docs and the release
workflow, none of which reaches the zip.

The readme.txt entry is written for the one volunteer per site who
reads it, so it names what they would notice rather than the code that
changed. The 0.3.3 entry above it is untouched.

Merging this publishes v0.3.4: release.yml tags the version, builds
`sahaj-atlas-0.3.4.zip`, and attaches it beside the permanent
`sahaj-atlas.zip` name.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVJhKyzjC7u27iMWxU
The update line said GitHub's source copy is "missing files the plugin
needs to run". `vendor/` is committed, 114 files, so it runs. The harm
`includes/updates.php:9-15` names is the `SahajAtlasWordpress-<tag>/`
top folder: WordPress installs it as a second plugin, and the two then
refuse each other's element.

The locale line promised every non-English site its own language.
`sahaj_atlas_seo_locale()` matches `xx` or `xx-YY` only, so WordPress's
variant locales — `de_DE_formal`, `nl_NL_formal`, `pt_PT_ao90` — still
return no locale and still get English. The line now says so rather
than promising a fix the code does not make.

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

sydevs-bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 no session running

recent dispatches
  • 21:44Z address-review · attempt 1 · session · done
  • 21:44Z address-review · attempt 1 · session
  • 08:29Z address-review · attempt 1 · session · done
  • 08:29Z address-review · attempt 1 · session
  • 08:22Z review-pr · attempt 1 · session · done

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

@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.

1 question for the reviewer, one per thread.

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


Generated by Claude Code

Comment thread readme.txt Resolved
@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 6, 2026
@sydevs-bot sydevs-bot moved this from Pending to Working in SYDevelopers Technical Roadmap Nov 6, 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

A release PR at the right size. Three files, four version declarations, one changelog entry, and the ladder finds nothing new to justify — no file, function, constant or dependency is added.

The release mechanics hold end to end. package.sh gates all four declarations and the = 0.3.4 = heading, and .distignore excludes .github, so the body's claim that #79's order does not matter survives release.yml's workflow-tree fallback. The sahaj-atlas.zip name AGENTS.md and SahajCloud#1058 depend on is preserved.

The changelog is this PR's real deliverable. All three bullets match the shipped code. One caveat is narrower than the limitation it names.

Findings

  • consider — readme.txt:149. The variant caveat misses a three-letter locale, which also gets English.

What was checked

  • The diff whole, all three files. Nothing beyond the version bump and the entry.
  • Each bullet against git diff v0.3.3..origin/main. Bullet 1 is the nl-NL → nl retry at seo.php:533. Bullet 2 is the ?/# strip at routing.php:201. Bullet 3 is REQUIRE_RELEASE_ASSETS and the strategy filter at updates.php:63.
  • Nine commits since v0.3.3. Everything absent from the changelog is distignored: .github/, AGENTS.md, docs/, tests/, package.json, pnpm-lock.yaml.
  • git grep 0\.3\.3 leaves one hit, the = 0.3.3 = heading. No fifth declaration — package.json carries no version field.
  • package.sh and release.yml read whole, including the zip and stable_zip outputs Tag and publish consumes.
  • sahaj_atlas_route_from_input() drops a copied link's query string, so rawurlencode_deep at embed.php:393 changes nothing a volunteer sees. Leaving it out is right, as is #73's fourth fix.
  • Not checked: release.yml's publish path has not run since #76 and #78 changed it. Manual step 1 covers it.

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


Generated by Claude Code

Comment thread readme.txt 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 6, 2026
`sahaj_atlas_seo_locale()` refuses any language subtag that is not
exactly two letters, so a three-letter locale such as `ckb` returns
nothing and gets English just as `de_DE_formal` does. #80's table lists
both.

"Variant" was the one word a volunteer read about this gap, and it told
a `ckb` site its case was fixed. The line now names the gap by its size
and keeps "German (Formal)" as the example.

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

Copy link
Copy Markdown
Contributor Author

One finding from the adversarial review, adopted.

Adopted — the variant caveat misses a three-letter locale. includes/seo.php:624 refuses ckb exactly as it refuses de-DE-formal, so the changelog now says "a few languages" and keeps "German (Formal)" as the example. 7b89e98.

Still open — release 0.3.4 now, or hold it for #80? waits on you. Option A is built. Nothing else holds the merge.

The branch was already level with main, so no merge commit. Lean gate pnpm test:all: 0 failures. Security review skipped — this push touches readme.txt only, which is off securityReview.triggerPattern. Docs checked, nothing stale.

🤖 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 6, 2026
@sydevs-bot
sydevs-bot marked this pull request as ready for review November 6, 2026 08:37
@sydevs-bot
sydevs-bot requested a review from Ardnived November 6, 2026 08:37
@sydevs-bot
sydevs-bot enabled auto-merge November 6, 2026 08:37
@sydevs-bot sydevs-bot moved this from Working to Awaiting in SYDevelopers Technical Roadmap Nov 6, 2026
@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 7, 2026
@sydevs-bot sydevs-bot moved this from Awaiting to Working in SYDevelopers Technical Roadmap Nov 7, 2026
@sydevs-bot

Copy link
Copy Markdown
Contributor Author

You answered B, so 0.3.4 is held for #80 and the caveat is never published.

Answered — release now, or hold for #80? Thread resolved. The hold is now the first line of the body, with what has to happen before this merges: #80 lands, main merges in here, the = 0.3.4 = entry gains #80's fix and drops the caveat sentence, pnpm test:all again.

Nothing pushed. B is a decision, not a diff. The version bump stands as it is, so the entry can be updated in place when #80 lands. origin/main merged into the branch clean — #79's .github/ changes only — and stays local, since a push alone would re-run CI and ask nobody anything.

I left a note on #80: its criterion 5 said the 0.3.4 entry ships as it is and the fix takes the next version's entry. Under B there is no next version, so it opens no new heading and #81 keeps the entry.

🤖 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 7, 2026
@sydevs-bot sydevs-bot moved this from Working to Awaiting in SYDevelopers Technical Roadmap Nov 7, 2026
@sydevs-bot sydevs-bot moved this from Awaiting to Pending in SYDevelopers Technical Roadmap Nov 8, 2026
@sydevs-bot
sydevs-bot added this pull request to the merge queue Nov 8, 2026
Merged via the queue into main with commit 066be05 Nov 8, 2026
68 of 69 checks passed
@sydevs-bot
sydevs-bot deleted the claude/release-0.3.4 branch November 8, 2026 21:54
@sydevs-bot sydevs-bot moved this from Pending to Done in SYDevelopers Technical Roadmap Nov 8, 2026
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.

3 participants