Files
medassist-ng/doku/memory_notes.md
T

3.3 KiB

Agent Memory Notes

Purpose: persistent agent work memory to survive context loss.

Entries

2026-03-25

  • Task: Diagnose PR #475 GitHub CI failure for the frontend build job and fix testing/build-scope issues only.

  • Root cause: The GitHub "Frontend Build" check actually failed in the frontend lint step because frontend/src/test/pages/MedicationsPage.test.tsx contained a whitespace-only line that Biome rejects.

  • Fix: Removed the stray whitespace-only line in frontend/src/test/pages/MedicationsPage.test.tsx and revalidated frontend lint/build locally.

  • Task: Split the medication enrichment lookup improvements into a standalone feature branch and repair the shared frontend tests until the focused validation set passed.

  • Decisions: Kept this branch limited to enrichment lookup/search/apply behavior, restored corrupted MedicationsPage and MobileEditModal test structure from clean main patterns, and retained desktop/mobile parity inside the feature scope.

  • Files touched: README.md, backend/src/routes/medication-enrichment.ts, backend/src/services/medication-enrichment.ts, backend/src/test/medication-enrichment.test.ts, frontend/src/components/MedicationEnrichmentSection.tsx, frontend/src/components/MobileEditModal.tsx, frontend/src/i18n/de.json, frontend/src/i18n/en.json, frontend/src/pages/MedicationsPage.tsx, frontend/src/styles.css, frontend/src/test/components/MedicationEnrichmentSection.test.tsx, frontend/src/test/components/MobileEditModal.test.tsx, frontend/src/test/pages/MedicationsPage.test.tsx, frontend/src/types/index.ts, frontend/src/utils/index.ts, frontend/src/utils/medication-enrichment.ts.

  • Follow-up: Merge the refreshed feature branch once GitHub CI is green again.

  • Task: Merge the refreshed feature branch on top of the already shipped stock/refill semantics changes without losing shared test coverage or work-log history.

  • Decisions: Kept the stock/refill doku history entries while resolving add/add conflicts and combined both branches' MedicationsPage tests in the shared file.

  • Files touched: doku/memory_notes.md, doku/report.md, frontend/src/test/pages/MedicationsPage.test.tsx.

  • Follow-up: Re-run the minimum frontend validation and push the conflict-resolution commit for PR #475.

  • Task: Review and merge the open Dependabot pull requests after verifying scope and CI state.

  • Decisions: Merged only dependency-only PRs with acceptable checks; accepted skipped jobs on the root-only tooling bump because the diff did not touch frontend or backend runtime code.

  • Merged PRs: #468 (@biomejs/biome root bump), #469 (frontend dependency group bump), #470 (backend dependency group bump).

  • Follow-up: Synced local main to commit 39c19ab and confirmed there are no remaining open Dependabot PRs from this reviewed set.

  • Task: Investigate why last week's weekly triage report issue stayed open after a newer report was created.

  • Root cause: .github/workflows/weekly-triage-report.yml always created a new issue and had no cleanup step for older open weekly report issues; .github/agents/release-manager.agent.md also lacked an explicit weekly-report closure rule.

  • Fix: Added workflow logic to close older open weekly triage reports before publishing the new one and added a dedicated "Weekly Triage Report Hygiene" rule to the release-manager agent instructions.