Repository navigation
docs: clear website-build cruft - #432
Merged
Merged
Conversation
- Delete WEBSITE.md (planning doc; the plan is executed and it now misdescribes the stack — said Zola/nightly-Action, actual is Astro + the tend-website Worker) - Delete WEBSITE-live-data.md (design research; the architecture and a condensed version of the rate-limit rationale now live in docs/website-data.md) - Delete site/NOTES.md (one-off prototype assessment) - Finish the tend-currently → tend-website rename: worker package name, lockfile, and the stale migration note in site/src/lib/api.ts - Refresh site/README.md (no longer a "prototype"; document the new Stats/Activity components and the PUBLIC_WORKER_URL override) Co-Authored-By: Claude <[email protected]>
tend-agent
approved these changes
May 12, 2026
max-sixty
pushed a commit
that referenced
this pull request
May 15, 2026
…rule (#495) ## Summary Extend the existing `<<'EOF' ... EOF` backtick-escape rule to cover nested fenced code blocks. The current rule warns about escaping *inline code spans* (`` \`foo\` ``); the same single-quoted-heredoc mechanic also corrupts *nested fences* when the model defensively escapes the inner three-backtick fence (`` \`\`\`bash ``) to keep it from closing the outer fence. The fix is the standard markdown idiom: use a longer outer fence (four or five backticks) so the inner three-backtick fence renders intact without escaping. ## Evidence [PRQL/prql#5900](PRQL/prql#5900) (`tend ci-fix: transient classifier ignores repeat occurrences`, opened by prql-bot 2026-05-15T08:56:34Z). The body wraps a proposed skill addition in a `` ```markdown `` outer fence and contains an inner `` ```bash `` fence plus several inline code spans. The model escaped the inner fence and all inline backticks inside the inner section, producing visibly corrupted markdown — the rendered body shows `` \`\`\`bash ``, `` \`rustup-init\` ``, `` \`composer connect timeout\` ``, `` \`docker pull rate limit\` ``, `` \`gh issue search\` ``, and trailing `` \`\`\` `` (six distinct corrupted spans). Direct API spot-check: ```` $ gh api repos/PRQL/prql/issues/5900 --jq '.body' | grep -c '\\`' 6 ```` This is the first such occurrence in the PRQL evidence gist's tracked corruption-scan history (prior ticks all reported `backslash-backtick: clean`); the [evidence log](https://gist.github.com/tend-agent/5686b1fca82c08d385d9031a79be4a3e) for May 2026 records the scans. ## Classification - **Failure class**: structural. The trigger is deterministic — a body composed in a single-quoted heredoc that contains a nested fenced block + the model's defensive instinct to escape the inner fence. Replayed, this produces the same corruption every time. The existing rule already classifies the inline-code-span variant as authored (not preprocessor-injected); the nested-fence variant is the same shape with a different originating model habit. - **Evidence level**: structural / 1 occurrence — sufficient under [`review-gates.md`](https://github.com/max-sixty/tend/blob/main/plugins/tend-ci-runner/skills/review-reviewers/review-gates.md): *"Structural: no decision point — the same conditions produce the same failure every time... One clear occurrence is sufficient evidence for a targeted fix."* - **Change magnitude**: targeted fix — one sentence appended to an existing paragraph. Within the Gate-2 magnitude budget for structural-fix scope. ## Change `plugins/tend-ci-runner/skills/running-in-ci/SKILL.md`: extend the existing backtick-escape paragraph (already covering inline spans like `` \`foo\` ``) with a second sentence covering nested fenced blocks. Recommend a longer outer fence (four or five backticks outside, three inside) as the standard remedy. Adds a parenthetical noting that `--body-file` via the Write tool helps with delivery but not authoring — the model still has to author with bare backticks, since Write preserves data verbatim. ## Notes - #5900 itself is left as-is for now; its body is readable and stands as the in-evidence example for this fix. A clean re-author can follow once this skill update lands. - This change does not touch the inline-code-span rule (#423) or the bang-escape rules (#404, #427, #381, #432) — same paragraph, different shape, same delivery channel. Co-authored-by: tend-agent <[email protected]>
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.
Now that the site is live and the data layer is on the Worker, three planning/research docs have outlived their use:
WEBSITE.md— the build plan. Executed, and now actively misleading (says Zola + nightly-Action data; reality is Astro + thetend-websiteWorker). The one open item it tracked — the "currently tending" dot component — is the only thing not yet built; that's better as an issue than a 200-line stale plan.WEBSITE-live-data.md— the live-data architecture research. The design is built;docs/website-data.mdis the living doc. Salvaged a condensed version of the rate-limit rationale intodocs/website-data.mdso the "why a Worker, not browser-direct" reasoning isn't lost.site/NOTES.md— a one-off "Astro vs Zola, honest assessment" written during the scaffold session.Also folds in residual rename cleanup the earlier PRs missed:
worker/package.jsonname →tend-website-worker(+ lockfile), the stale "during the tend-currently → tend-website migration" note insite/src/lib/api.ts, and dangling links to the deleted docs inworker/README.md/worker/src/index.ts.site/README.mdrefreshed — no longer a "prototype", documents the new Stats/Activity components and thePUBLIC_WORKER_URLoverride.Net: −500 lines, no behavior change.
Co-Authored-By: Claude [email protected]