Repository navigation
Conversation
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.
The Activity log sorted PostgreSQL audit IDs as text, so event 9 could precede 10 or 100 and the “latest 100” subset could be wrong. Sort by the qualified numeric column while keeping string IDs in GraphQL. Shared embedded/PostgreSQL regressions verify exact newest-100 membership and order, workspace isolation, and IDs above nine.
Preserve the existing Host-based loopback-origin fix from main, extract its policy, and test localhost/IPv4/IPv6 inputs plus live HTTP localhost/IPv4 requests. Different hostnames, ports, schemes, foreign/null/empty origins and spoofed forwarded hosts are rejected. CLI requests without Origin retain their existing behavior; cross-origin protections are not broadened.
This draft also retains the original decorative-caption cleanup and extends the existing technical manual into a build-from-zero course: toolchain/file map, React state/forms, CSS/layout/responsiveness/accessibility, GraphQL, transactions/locking, exact FR-1041 flow, debugging, and seven exercises with solutions. The FR-1041 lesson has an executable isolated-database test.
Validation
npm run check: 24 tests passed, TypeScript passed.npm run format:check: passed.npm run build: passed.npm run test:postgres: 2 passed (audit contract and independent connection-pool contention).npm run test:e2e: 8 passed across desktop/mobile; includes full route/override/cancel/create flow, origin checks and rendered history ordering.Review scope and limitations
Continues existing draft #2 with two commits rather than introducing an overlapping PR. The older checkout's uncommitted UI patch exactly matches the already-pushed cleanup and was preserved byte-for-byte. No production data, external shipping/payment calls, merge, or deployment.
Local Node was 24.15.0 with existing dependencies (Next 16.3.8); GitHub Verify supplies clean-lockfile/Node 22 coverage. IPv6 policy is unit-tested; the browser test server listens on IPv4. These checks are not a production or accessibility certification.
Build-from-zero guide
Exact-head CI
Verify run 37891150308 completed successfully for
9ee34044b3ae1031886cd995b4c1c47179ef8982(attempt 1). All steps passed, including cleannpm ci, formatting, types, unit/service tests, PostgreSQL tests, production build, desktop/mobile browser tests and artifact upload.