Repository navigation
feat: make understanding contracts default for new pages - #27
Merged
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
aadhar-sh | 14567f8 | Jul 18 2026, 09:10 PM |
Contributor
Understanding-first reviewThis is a prompt, not a score or merge gate. Before approving, reconstruct the change:
For docs and dependency changes, a compact answer is enough. For behavior or production changes, include the causal path and one concrete counterexample. The author’s claim card belongs in the PR description; this prompt is for the reviewer’s independent reconstruction. |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
serendipity | 14567f8 | Commit Preview URL Branch Preview URL |
Jul 18 2026, 09:11 PM |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
cal-aadhar-sh | 14567f8 | Jul 18 2026, 09:11 PM |
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
Why
New explanatory pages should inherit the understanding-first work already applied to the site. The generator now refuses a page without an explicit reader model, evidence, uncertainty, and a 3–7-question active-recall check. Every option needs feedback, including the misconception path; the check remains diagnostic and never blocks reading.
The shared contract also carries the current writing guidance into the authoring boundary: concrete active prose, a named reader, early points, actor-near-verb sentences, and a visible uncertainty boundary. It rejects em dashes, canned AI/marketing filler, dead transitions, and the
not X, Ymove.Verification
npm run pages:checknpm testnpm run buildnpm run check-wranglernpm run perf-budgetnpx wrangler deploy --dry-rungit diff --cached --checkAll checks passed. No production deploy was performed.