Repository navigation
fix(pi): make notification PR links clickable - #6531
connectwithclayton wants to merge 5 commits into
Conversation
|
|
Speaking as Kun's firstmate: first look vs tip Contract-class: restore — concrete existing routine sailboat notification path already rendered PR URLs as plain text that could not be activated in fullscreen Pi chat; tip restores clickability for the exact canonical URL without adding a new captain surface/wake/digest. Not new-default (existing notification renderer only). VISION (per /workspace/VISION.md):
Attestation MATCH HEAD |
…g period. The period remains visible outside the click destination, while longer paths such as `kunchenguid/pull/148/files` remain entirely unlinked. Portable regression, real Pi 1.0.1 fullscreen regression, repository lint, and `git diff --check` all pass
e28a7bc to
0fdad86
Compare
Intent
can we try to fix that so it works within chat?
The automatically rendered sailboat notification for Toolroll's merged CI fix contained https://github.com/connectwithclayton/toolroll/pull/148, but the URL could not be clicked from the current Pi chat to open that PR.
What Changed
Risk Assessment
✅ Low: The change is narrowly scoped, preserves sentence punctuation outside exact canonical GitHub PR links, rejects longer paths without partial linkification, and includes behavior-level portable and real-Pi regression coverage.
Testing
Drove canonical, sentence-punctuated, and adversarial longer-path notification URLs through Pi 1.0.1's real fullscreen renderer and OSC 8 click resolver, then ran the focused portable branch-extension regression; both commands exited successfully and the worktree remained clean. No screenshot was captured because the tested contract is terminal hyperlink metadata, which is not visually distinguishable in a static image; the evidence log records the live fullscreen resolver result.
/pull/148/filesURL and no portion of it becomes a/pull/148click targetEvidence: Pi fullscreen PR-link live validation
Source: Pi fullscreen PR-link live validation
Real Pi SDK 1.0.1 gives only a canonical PR URL its exact fullscreen click target.Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
/pull/148/filesURL and no portion of it becomes a/pull/148click targetFM_PI_BRANCH_LIVE_E2E=1 bash tests/fm-pi-branch-live-e2e.test.shbash tests/fm-pi-branch-extension.test.sh✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.