Skip to content

docs: consolidate AGENTS.md to current architecture + roadmap wave-3 status#81

Merged
erseco merged 1 commit into
mainfrom
wave3-consolidate-docs-agents
Jul 8, 2026
Merged

docs: consolidate AGENTS.md to current architecture + roadmap wave-3 status#81
erseco merged 1 commit into
mainfrom
wave3-consolidate-docs-agents

Conversation

@erseco

@erseco erseco commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Summary

Documentation consolidation closing out wave 3 (#65). Brings AGENTS.md in line with the current architecture (it predated most of it), and marks the wave-3 subtasks done in the roadmap.

Changes

Test plan

Docs-only; no code changed. pytest tests/unit and flake8 still green; markdown fences balanced. The docs CI job validates the build.

Notes for reviewers

This is the final wave-3 item for #65 (tracking issue), which I'll close once this and the wave-3 feature PRs (#79, #80, both merged) are in.

AGENTS.md predated the current design. Refresh it to describe reality:

- Project structure: the real cli/ package + the http/transport/compat/
  client/models/ensure/config/doctor modules; tests/unit vs integration.
- New 'Architecture (current layering)' section: CLI -> library -> http.py/
  transport -> high-level (MoodleClient/models/doctor) -> ensure-style API,
  with the rule that HTTP goes through http.py and output through
  cli/output.py (--output/--fields/--quiet/--verbose/--debug, redaction).
- Testing: replace the stale sandbox-based guidance with the unit
  (tests/unit, mocked, every push) vs integration (--integration, Dockerized
  erseco/alpine-moodle, 4.5.5/5.0.1/5.1.5) split, the shared
  create_temporary_course fixture rule, the login warmup, and which CI gates
  are reliable.
- Fix commands/ -> cli/ references and the multi-environment .env convention
  (MOODLE_<ENV>_URL/USERNAME/PASSWORD, --env local|staging|prod).

Also update docs/roadmap-plan.md's progress section: Subtask 14 (py.typed,
#78/#79) and Subtasks 18-20 (ensure-* API, #77/#80) are now done.
@erseco erseco merged commit e775b8b into main Jul 8, 2026
13 checks passed
@erseco erseco deleted the wave3-consolidate-docs-agents branch July 8, 2026 02:31
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.

1 participant