Skip to content

docs: clear website-build cruft - #432

Merged
max-sixty merged 1 commit into
mainfrom
tend-activity
May 12, 2026
Merged

max-sixty merged 1 commit into
mainfrom
tend-activity

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

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 + the tend-website Worker). 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.md is the living doc. Salvaged a condensed version of the rate-limit rationale into docs/website-data.md so 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.json name → tend-website-worker (+ lockfile), the stale "during the tend-currently → tend-website migration" note in site/src/lib/api.ts, and dangling links to the deleted docs in worker/README.md / worker/src/index.ts. site/README.md refreshed — no longer a "prototype", documents the new Stats/Activity components and the PUBLIC_WORKER_URL override.

Net: −500 lines, no behavior change.

Co-Authored-By: Claude [email protected]

- 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]>
@max-sixty
max-sixty merged commit 7250ce0 into main May 12, 2026
6 checks passed
@max-sixty
max-sixty deleted the tend-activity branch May 12, 2026 02:26
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]>
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.

2 participants