Skip to content

The portfolio code leaves the eyebrow and the footer - #20

Merged
P0w3r223 merged 1 commit into
mainfrom
s8a/the-code-leaves-the-public-surfaces
Sep 9, 2026
Merged

P0w3r223 merged 1 commit into
mainfrom
s8a/the-code-leaves-the-public-surfaces

Conversation

@P0w3r223

@P0w3r223 P0w3r223 commented Sep 9, 2026

Copy link
Copy Markdown
Owner

A recruiter cannot decode P2, and this page published it twice — once in the eyebrow, the first line a reader meets, and once in the footer.

site before after
docs/index.html:146 <p class="eyebrow">Portfolio P2 · applied statistics · no A/B library underneath</p> <p class="eyebrow">applied statistics · no A/B library underneath</p>
docs/index.html:439 <p>Portfolio project P2 · <a…>source on GitHub</a> <p>Portfolio project · <a…>source on GitHub</a>
sitegen/page.py:328, :292 the same two lines, in the generator moved identically

The two are treated differently on purpose. The eyebrow loses the whole label, because Portfolio without its code is not a phrase — it is half of one. The footer keeps Portfolio project, because that is a phrase and it tells a reader the page belongs to a set rather than standing alone.

Generator and page move in one commit: tests/test_site_committed.py byte-diffs them, so editing either alone reddens it.

The eyebrow keeps its element — the portfolio index checker's clause 4 gates the eyebrow's presence, and only its text is free. That checker reads clear, 1 undecided for this surface, unchanged.

Part of stage S8a, wave W1 — ADR-0007 in the portfolio index. Twelve sibling pull requests; the index re-points afterwards in one commit.

A recruiter cannot decode "P2", and this page published it twice --
once in the eyebrow, which is the first line a reader meets, and once
in the footer.

The eyebrow loses the whole label because "Portfolio" without its code
is not a phrase; the footer keeps "Portfolio project" because it is one
and because it tells a reader the page belongs to a set.

Generator and page move in the same commit. test_site_committed.py
byte-diffs them, so editing either alone reddens it.
@P0w3r223
P0w3r223 merged commit 0a670b1 into main Sep 9, 2026
2 checks passed
@P0w3r223
P0w3r223 deleted the s8a/the-code-leaves-the-public-surfaces branch September 9, 2026 08:40
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.

1 participant