test(web): existence contracts so stack recovery cannot drop fork UI - #156
Merged
Conversation
Partial conflict resolutions can keep pure helpers and unit tests while deleting product chrome (#154 remote Open in VS Code). Export a pure remote-open gate, add behavior + source existence tests for high-risk fork surfaces (ChatHeader, list prefs, settled display, queued chips, short project labels), and document product-conflict rules in AGENTS and fork-stack docs.
3 tasks
patroza
added a commit
that referenced
this pull request
Jul 28, 2026
…cs (#161) Stack sync fails rebasing fork/integration onto fork/changes on AGENTS.md while replaying overlay #146. Neither pure ours nor pure theirs is safe: #146 has Discord co-author / always-open-draft rules; #156 has product- conflict and existence-test rules. Merge both into fork/changes AGENTS, record durable policies: - fork/changes AGENTS → theirs (fork layer rewrite) - fork/integration AGENTS + docs/fork-stack.md → ours (keep complete base) Local sync --dry-run succeeds with these resolutions. Co-authored-by: T3 Code PR Stack <41898282+github-actions[bot]@users.noreply.github.com>
patroza
added a commit
that referenced
this pull request
Jul 29, 2026
…156) Partial conflict resolutions can keep pure helpers and unit tests while deleting product chrome (#154 remote Open in VS Code). Export a pure remote-open gate, add behavior + source existence tests for high-risk fork surfaces (ChatHeader, list prefs, settled display, queued chips, short project labels), and document product-conflict rules in AGENTS and fork-stack docs. Co-authored-by: T3 Code PR Stack <41898282+github-actions[bot]@users.noreply.github.com>
patroza
added a commit
that referenced
this pull request
Jul 29, 2026
…cs (#161) Stack sync fails rebasing fork/integration onto fork/changes on AGENTS.md while replaying overlay #146. Neither pure ours nor pure theirs is safe: #146 has Discord co-author / always-open-draft rules; #156 has product- conflict and existence-test rules. Merge both into fork/changes AGENTS, record durable policies: - fork/changes AGENTS → theirs (fork layer rewrite) - fork/integration AGENTS + docs/fork-stack.md → ours (keep complete base) Local sync --dry-run succeeds with these resolutions. Co-authored-by: T3 Code PR Stack <41898282+github-actions[bot]@users.noreply.github.com>
patroza
added a commit
that referenced
this pull request
Jul 29, 2026
…156) Partial conflict resolutions can keep pure helpers and unit tests while deleting product chrome (#154 remote Open in VS Code). Export a pure remote-open gate, add behavior + source existence tests for high-risk fork surfaces (ChatHeader, list prefs, settled display, queued chips, short project labels), and document product-conflict rules in AGENTS and fork-stack docs. Co-authored-by: T3 Code PR Stack <41898282+github-actions[bot]@users.noreply.github.com>
patroza
added a commit
that referenced
this pull request
Jul 29, 2026
…cs (#161) Stack sync fails rebasing fork/integration onto fork/changes on AGENTS.md while replaying overlay #146. Neither pure ours nor pure theirs is safe: #146 has Discord co-author / always-open-draft rules; #156 has product- conflict and existence-test rules. Merge both into fork/changes AGENTS, record durable policies: - fork/changes AGENTS → theirs (fork layer rewrite) - fork/integration AGENTS + docs/fork-stack.md → ours (keep complete base) Local sync --dry-run succeeds with these resolutions. Co-authored-by: T3 Code PR Stack <41898282+github-actions[bot]@users.noreply.github.com>
patroza
added a commit
that referenced
this pull request
Jul 29, 2026
…156) Partial conflict resolutions can keep pure helpers and unit tests while deleting product chrome (#154 remote Open in VS Code). Export a pure remote-open gate, add behavior + source existence tests for high-risk fork surfaces (ChatHeader, list prefs, settled display, queued chips, short project labels), and document product-conflict rules in AGENTS and fork-stack docs. Co-authored-by: T3 Code PR Stack <41898282+github-actions[bot]@users.noreply.github.com>
patroza
added a commit
that referenced
this pull request
Jul 29, 2026
…cs (#161) Stack sync fails rebasing fork/integration onto fork/changes on AGENTS.md while replaying overlay #146. Neither pure ours nor pure theirs is safe: #146 has Discord co-author / always-open-draft rules; #156 has product- conflict and existence-test rules. Merge both into fork/changes AGENTS, record durable policies: - fork/changes AGENTS → theirs (fork layer rewrite) - fork/integration AGENTS + docs/fork-stack.md → ours (keep complete base) Local sync --dry-run succeeds with these resolutions. Co-authored-by: T3 Code PR Stack <41898282+github-actions[bot]@users.noreply.github.com>
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.
Summary
Stack conflict recovery can leave pure helpers + unit tests green while deleting product chrome (proved by #154: remote Open in VS Code header button). This PR hardens the highest-risk fork surfaces and documents the rule.
Tests
shouldOfferRemoteVscodeOpenpure gate; null URI cases; source existence markers for button wiring +openExternalresolveSettledTimestamp,isThreadSettledForDisplaycapability gateforkSurfaceExistence.test.ts: last-line source contracts for classic Settled shelf, Sidebar V2 chrome, ChatHeader, queued chipsDocs
Scope note
Full
fork/candidates..fork/changesis ~109 commits / hundreds of files. This lands the anti-#154 pattern and covers the top silent-drop surfaces from an audit; remaining areas should follow the same pure-gate + existence rule as they are touched.Test plan
vp checktsgo --noEmitinapps/webandpackages/client-runtime