-
Notifications
You must be signed in to change notification settings - Fork 0
docs: #97 document AI context prompting and sync README bundle sizes #99
Conversation
c0d2d23 to
6584344
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few things before merge:
Bundle sizes are from 17 Nov, but #100, #101 and #103 changed the client after that. Could you rebase, run pnpm build again and update the table?
AlbumCover is loaded on the first page (App → ResultsLayout → AlbumCard), not lazily. So index went from 430 to 385 kB only because code moved into that chunk, and the first load is still about 438 kB. Worth saying under the table.
AGENTS.md still says "M3 – Functional beta". Could you update it to match the README?
Small one: the tool list in the new section is missing ChatGPT and Figma Make, which also appear in the log.
|
Addressed all four points:
Verified with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for addressing the review feedback. The bundle-size table now reflects a fresh build, and the explanation clearly distinguishes the eagerly loaded AlbumCover chunk from the lazy-loaded route chunks. The milestone status is consistent between AGENTS.md and README.md, and the AI tool list is complete. CI passes, including the PostgreSQL integration tests. Approved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved. The shared-context section clearly explains how issues, repository documentation, and verification commands guided the AI-assisted work. The README now reflects a production build against current main, distinguishes the eager AlbumCover chunk from the lazy route chunks, and gives the correct first-page payload total (446.39 kB raw / 133.79 kB gzip). The milestone status and AI tool list are also consistent. pnpm build, pnpm format:check, and CI—including PostgreSQL integration tests—pass. Ready to merge.
Closes #97
What was done
docs/AI-USAGE.mdexplaining howAGENTS.md,schema.graphql, anddocs/specifications are used as shared context/harness across AI tools and how tasks are scoped and verified against the test/lint/typecheck gates.#93and#97rows indocs/AI-USAGE.md.README.mdmilestone status (M4 delivered, final polish before 27 November) and refreshed the production Bundle size table to match a currentpnpm buildmeasurement (17 November 2026), including theCratePageandAlbumCoverchunks.What was tested
pnpm build(to measure exact production chunk sizes).pnpm format:check && pnpm lint && pnpm typecheck && pnpm test— passed (client: 20 test files / 202 tests passed; server: 8 unit test files / 81 tests passed, 5 PostgreSQL-backed files / 56 tests skipped locally withTEST_DATABASE_URLunset).