finagled the memory bank

This commit is contained in:
2RE 2026-09-22 14:43:07 +08:00
parent e328e07638
commit 6d8f644802
4 changed files with 17 additions and 20 deletions

View file

@ -16,6 +16,7 @@ with custom CSS/JS and a live Web3Forms contact page. It now includes a
Next is user review of copy/design and the deployment decision. Next is user review of copy/design and the deployment decision.
## Recent Changes ## Recent Changes
- **2026-09-22** - **Backlog moved into the memory bank:** `TODO.md` at the repo root became **`memory-bank/todo.md`** (lowercase filename), so the backlog now sits with the other memory-bank files. References in `activeContext.md`, `progress.md`, and `techContext.md` were repointed. The site itself was untouched (no page ever linked to `TODO.md`).
- **2026-09-22** - User set a **code and writing style requirement**: **soft wrap**. Do not hard-wrap lines to fit a column limit (there is no ~80-char limit) in code or in memory-bank writing; let the editor soft wrap long lines and break lines only at structural boundaries. Existing hard-wrapped files are left alone, with no reformat pass. - **2026-09-22** - User set a **code and writing style requirement**: **soft wrap**. Do not hard-wrap lines to fit a column limit (there is no ~80-char limit) in code or in memory-bank writing; let the editor soft wrap long lines and break lines only at structural boundaries. Existing hard-wrapped files are left alone, with no reformat pass.
- **2026-09-22** - User set a second **working agreement**: **do not edit files - **2026-09-22** - User set a second **working agreement**: **do not edit files
outside the project folder** (`/home/torrey/Documents/Sites/2RE03`). Recorded outside the project folder** (`/home/torrey/Documents/Sites/2RE03`). Recorded
@ -120,8 +121,7 @@ Next is user review of copy/design and the deployment decision.
smaller); `printtiresad.png` stays PNG. See `techContext.md`, Image Pipeline. smaller); `printtiresad.png` stays PNG. See `techContext.md`, Image Pipeline.
## Next Steps ## Next Steps
> **The full backlog lives in `TODO.md` at the repo root.** This section keeps only > **The full backlog lives in `memory-bank/todo.md`.** This section keeps only the current priorities; new items go into `todo.md` first.
> the current priorities; new items go into `TODO.md` first.
1. Review copy + design with the user; refine tone-matched text as needed. 1. Review copy + design with the user; refine tone-matched text as needed.
2. Add any real assets (favicon, OG/social image, logo). 2. Add any real assets (favicon, OG/social image, logo).
3. Populate galleries with additional/real work items and captions. 3. Populate galleries with additional/real work items and captions.
@ -151,10 +151,11 @@ Next is user review of copy/design and the deployment decision.
| 17 | Version control: git repo on `main`, pushed to the Forgejo remote `origin` (`2RE03-Design`) | ✅ Done | | 17 | Version control: git repo on `main`, pushed to the Forgejo remote `origin` (`2RE03-Design`) | ✅ Done |
| 18 | Site is published | ✅ Done | | 18 | Site is published | ✅ Done |
| 19 | Keep `memory-bank/` and `.clinerules/` tracked in the repo | ✅ Done | | 19 | Keep `memory-bank/` and `.clinerules/` tracked in the repo | ✅ Done |
| 20 | `TODO.md` at the repo root is the backlog; the memory bank points at it | ✅ Done | | 20 | `TODO.md` is the backlog; the memory bank points at it (now `memory-bank/todo.md`, see #24) | ✅ Done |
| 21 | **No `git commit` or `git push` without explicit user approval** | ✅ Active rule | | 21 | **No `git commit` or `git push` without explicit user approval** | ✅ Active rule |
| 22 | **No editing files outside the project folder** (`/home/torrey/Documents/Sites/2RE03`); reads elsewhere are fine, writes are not, so ask first if a task seems to need one | ✅ Active rule | | 22 | **No editing files outside the project folder** (`/home/torrey/Documents/Sites/2RE03`); reads elsewhere are fine, writes are not, so ask first if a task seems to need one | ✅ Active rule |
| 23 | **Soft wrap: no hard wrapping at a column limit**, in code and in memory-bank writing; a break marks a structural boundary, not a width boundary. Going forward only, with no reformat pass over existing files | ✅ Active convention | | 23 | **Soft wrap: no hard wrapping at a column limit**, in code and in memory-bank writing; a break marks a structural boundary, not a width boundary. Going forward only, with no reformat pass over existing files | ✅ Active convention |
| 24 | Backlog lives at **`memory-bank/todo.md`** (moved out of the repo root and lowercased on 2026-09-22) | ✅ Done |
### Open Questions (remaining) ### Open Questions (remaining)
1. **Real assets:** any real favicon, Open Graph/social image, or logo to add? 1. **Real assets:** any real favicon, Open Graph/social image, or logo to add?
@ -165,11 +166,7 @@ Next is user review of copy/design and the deployment decision.
## Important Patterns & Preferences ## Important Patterns & Preferences
- **Git is user-gated:** never `git commit` or `git push` without explicit approval - **Git is user-gated:** never `git commit` or `git push` without explicit approval
(see Working Agreements at the top of this file). (see Working Agreements at the top of this file).
- **Backlog convention:** `TODO.md` at the repo root is the human-facing list of - **Backlog convention:** **`memory-bank/todo.md`** is the human-facing list of open work (moved there from the repo root on 2026-09-22). When an item lands, check it off and move it into the `## Done` section with the date it landed, then prune Done periodically. The rest of the memory bank keeps only the current priorities and points there, so the two never drift. Issues (Forgejo) are for items that need discussion.
open work. When an item lands, check it off and move it into the `## Done`
section with the date it landed, then prune Done periodically. The memory bank
keeps only the current priorities and points there, so the two never drift.
Issues (Forgejo) are for items that need discussion.
- Plan-first; small, verifiable changes; plain/static, dependency-light output - Plan-first; small, verifiable changes; plain/static, dependency-light output
(see `projectbrief.md` → Ways of Working). (see `projectbrief.md` → Ways of Working).
- Private asset provenance (never credit the CEO on the site). - Private asset provenance (never credit the CEO on the site).

View file

@ -28,11 +28,10 @@
## Current Status ## Current Status
**Stage:** Built, verified, committed, and **published**. What remains is **Stage:** Built, verified, committed, and **published**. What remains is
copy/design review and the optional polish tracked in `TODO.md`. copy/design review and the optional polish tracked in `memory-bank/todo.md`.
## What's Left To Build ## What's Left To Build
> The full, current backlog lives in **`TODO.md`** at the repo root; this section > The full, current backlog lives in **`memory-bank/todo.md`**; this section keeps only the headline items.
> keeps only the headline items.
- User review/refinement of copy + visual design. - User review/refinement of copy + visual design.
- Optional real assets: favicon, Open Graph/social image, logo. - Optional real assets: favicon, Open Graph/social image, logo.
- More/real portfolio items and per-image captions. - More/real portfolio items and per-image captions.
@ -200,3 +199,5 @@ copy/design review and the optional polish tracked in `TODO.md`.
decisions log), `projectbrief.md` (Ways of Working rule 8), `techContext.md` (Tool decisions log), `projectbrief.md` (Ways of Working rule 8), `techContext.md` (Tool
Usage Patterns), and here. No production files changed. Usage Patterns), and here. No production files changed.
- **2026-09-22** - User set a **code and writing style requirement**: **soft wrap**. No hard wrapping to a column limit in code or in memory-bank writing; lines break only at structural boundaries. Applied going forward only, with no reformat pass over existing files (explicit user instruction). Recorded in `activeContext.md` (Recent Changes, Important Patterns & Preferences, decisions log), `projectbrief.md` (Ways of Working rule 9), and `techContext.md` (new Code Style section). - **2026-09-22** - User set a **code and writing style requirement**: **soft wrap**. No hard wrapping to a column limit in code or in memory-bank writing; lines break only at structural boundaries. Applied going forward only, with no reformat pass over existing files (explicit user instruction). Recorded in `activeContext.md` (Recent Changes, Important Patterns & Preferences, decisions log), `projectbrief.md` (Ways of Working rule 9), and `techContext.md` (new Code Style section).
- **2026-09-22** - **Backlog moved into the memory bank:** `TODO.md` at the repo root became **`memory-bank/todo.md`** (lowercase filename), so the backlog now lives alongside the other memory-bank files. Every reference was repointed (`activeContext.md` Recent Changes / Next Steps / decisions log / Important Patterns, `progress.md` Current Status + What's Left To Build, `techContext.md` Deployment + Code Style), and the move was recorded in `todo.md`'s own Done section. No site file referenced `TODO.md`, so the published site is unaffected. The move is **uncommitted** (working tree only).

View file

@ -70,9 +70,7 @@ No build step and no package manager - it is plain static HTML/CSS/JS.
## Deployment ## Deployment
- The site is **published** (hosted by the user). The live URL is not written down - The site is **published** (hosted by the user). The live URL is not written down
anywhere in this repo yet, so record it here once confirmed. anywhere in this repo yet, so record it here once confirmed.
- No build step, so a deploy is a straight copy of the repo root. Uploading the - No build step, so a deploy is a straight copy of the repo root. Uploading the whole folder also puts `memory-bank/` (which now includes the backlog, `memory-bank/todo.md`), `.clinerules/`, and the site files on the server; that is intentional, not accidental.
whole folder also puts `memory-bank/`, `.clinerules/` and `TODO.md` on the
server; that is intentional, not accidental.
## Dependencies ## Dependencies
- Bootstrap 5.3.3 CSS + JS bundle - vendored locally (no CDN / no runtime). - Bootstrap 5.3.3 CSS + JS bundle - vendored locally (no CDN / no runtime).
@ -88,7 +86,7 @@ No build step and no package manager - it is plain static HTML/CSS/JS.
## Code Style ## Code Style
- **Soft wrap, do not hard wrap.** There is no column limit (~80 chars or otherwise). Do not insert line breaks to keep a line short: keep each logical unit (a JS statement, an HTML tag, a CSS rule, a list item, a sentence or paragraph) on one line and let the editor soft wrap it. A line break should mark a structural boundary, never a width boundary. - **Soft wrap, do not hard wrap.** There is no column limit (~80 chars or otherwise). Do not insert line breaks to keep a line short: keep each logical unit (a JS statement, an HTML tag, a CSS rule, a list item, a sentence or paragraph) on one line and let the editor soft wrap it. A line break should mark a structural boundary, never a width boundary.
- **Applies to** HTML, CSS, JS, and Markdown writing, including the memory bank and `TODO.md`. - **Applies to** HTML, CSS, JS, and Markdown writing, including the memory bank and its `todo.md`.
- **Going-forward rule only (set 2026-09-22).** The existing files are hard-wrapped at roughly 80 chars and stay that way. Do not run a reformat pass over them unless the user asks for one. - **Going-forward rule only (set 2026-09-22).** The existing files are hard-wrapped at roughly 80 chars and stay that way. Do not run a reformat pass over them unless the user asks for one.
## Tool Usage Patterns ## Tool Usage Patterns

View file

@ -1,12 +1,10 @@
# TODO - 2RE03 Portfolio Site # TODO - 2RE03 Portfolio Site
The one place for open work on the site. Check an item off, then move it down to the Lives in `memory-bank/` with the rest of the memory bank (moved there from the repo root on 2026-09-22). The one place for open work on the site. Check an item off, then move it down to the Done section with the date it landed. Prune the Done section periodically.
Done section with the date it landed. Prune the Done section periodically.
The memory bank keeps only the current priorities and points here, so there is a The other memory-bank files keep only the current priorities and point here, so there is a single source of truth for what is left to do.
single source of truth for what is left to do.
Last updated: 2026-09-10. Last updated: 2026-09-22.
## Now ## Now
@ -60,3 +58,6 @@ Last updated: 2026-09-10.
- [x] **2026-09-10** - Optimised every image to WebP: 45 files converted (long side - [x] **2026-09-10** - Optimised every image to WebP: 45 files converted (long side
capped at 1600px, `-q 82`, or `-q 90 -alpha_q 100` when transparent), `img/` down capped at 1600px, `-q 82`, or `-q 90 -alpha_q 100` when transparent), `img/` down
from 20 MB to 3.2 MB. `printtiresad.png` stayed PNG because WebP came out larger. from 20 MB to 3.2 MB. `printtiresad.png` stayed PNG because WebP came out larger.
- [x] **2026-09-22** - Backlog moved into the memory bank: the repo-root `TODO.md`
became `memory-bank/todo.md` (lowercase), and the memory-bank files that pointed
at the old path were updated.