docs: sync README/architecture with current code - #11
Merged
Conversation
- 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
marked this pull request as ready for review
August 30, 2026 20:10
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.
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:agents/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.docs/arquitectura.mdboth 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 oldrevision_reforzadaflow — draft-then-manual-send. The code's actual primary action for an approvedrevision_reforzadaplan is nowenviar_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.verificar_envio()'s description said it neededgmail.metadata; the code has usedgmail.readonlyfor a while (still only reading labels/headers viaformat="metadata").Verified against the real working tree, not just the changelog:
pytest(599 passed),pytest --cov(97% onagents/+mcp/), andruff 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