Skip to content

docs: sync README/architecture with current code - #11

Merged
serpeigd merged 1 commit into
masterfrom
claude/modest-dijkstra-hp6ofr
Aug 30, 2026
Merged

docs: sync README/architecture with current code#11
serpeigd merged 1 commit into
masterfrom
claude/modest-dijkstra-hp6ofr

Conversation

@serpeigd

Copy link
Copy Markdown
Owner

Verified the working tree (agents/, mcp/, ui/app.py, docs/arquitectura.md) against README.md/docs/arquitectura.md and CLAUDE.md's Status section. Found and fixed four real drifts:

  • Shopping list feature never made it into READMEagents/planificador_comidas.generar_lista_compra() (aggregates the weekly meal plan into a shopping list, shown on the trainer panel, diet PDF, and portal) shipped in code but was missing from the feature list.
  • "Clients" dashboard chart count was stale — README and docs/arquitectura.md both said "two bar charts"; the code (_render_dashboard_clientes()) has three: verdict mix, adherence mix, and a client-growth line by admission month.
  • docs/arquitectura.md's data-flow diagram and panel descriptions described the old revision_reforzada flow — draft-then-manual-send. The code's actual primary action for an approved revision_reforzada plan is now enviar_plan() directly (a real send, no draft), with the Gmail draft as an explicit secondary/fallback button. The prose right above the diagram already said this; the diagram itself and the panel bullet hadn't caught up.
  • Stale OAuth scope referenceverificar_envio()'s description said it needed gmail.metadata; the code has used gmail.readonly for a while (still only reading labels/headers via format="metadata").

Verified against the real working tree, not just the changelog: pytest (599 passed), pytest --cov (97% on agents/+mcp/), and ruff check . (clean) all match the numbers already stated in README.md/CLAUDE.md — left those unchanged since I could reproduce them.

No open "docs: sync" PR existed to fold in.


Generated by Claude Code

- Add the shopping-list feature to README (generar_lista_compra()) --
  shipped in code, never mentioned in the feature list.
- Fix the "Clients" dashboard chart count: two bar charts -> three
  (verdict mix, adherence mix, client-growth line), in both README and
  docs/arquitectura.md.
- Fix docs/arquitectura.md's data-flow diagram and panel descriptions:
  a revision_reforzada plan's primary send action is now enviar_plan()
  directly (a real send), with the Gmail draft as an explicit secondary/
  fallback button -- the diagram and prose still described the old
  draft-then-manual-send flow.
- Fix a stale OAuth scope reference (gmail.metadata -> gmail.readonly)
  in verificar_envio()'s description.

Verified against the working tree: 599 tests passing, 97% coverage
(agents/+mcp/), ruff clean -- all match the numbers already in
README.md/CLAUDE.md, left unchanged.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@serpeigd
serpeigd marked this pull request as ready for review August 30, 2026 20:10
@serpeigd
serpeigd merged commit ee0495d into master Aug 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants