Skip to content

Agent-oriented architecture documentation (MAPL3 line) - #115

Merged
tclune merged 3 commits into
release/MAPL-v3from
feature/tclune/agent-architecture-docs-mapl3
Nov 6, 2026
Merged

tclune merged 3 commits into
release/MAPL-v3from
feature/tclune/agent-architecture-docs-mapl3

Conversation

@tclune

@tclune tclune commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Documentation only; no code, build or configuration changes.

Brings the agent-oriented architecture documentation (AGENTS.md, docs/ARCHITECTURE.md, docs/decisions.md, GEOSirrad_GridComp/ARCHITECTURE.md, GEOSsolar_GridComp/ARCHITECTURE.md) from the MAPL2 line (#114, cherry-picked) to release/MAPL-v3, and updates it to describe this line.

Radiation is built and ported on this line: CMakeLists.txt builds the RADIATION shared library with Shared, Solar, IRRAD and SatSim, and four regression cases. The documents now describe the MAPL3 code: children added with YAML configuration files, specs from ACG *_StateSpecs.rc files, child fluxes connected to the composite itself and re-exported, the run order IRRAD, SOLAR, SATSIM, and an alarm per child created in Initialize (the MAPL2 averaging keys are not read). SatSim has no document of its own; the repository document describes it. The existing mapl3-porting-notes.md files are referenced, not repeated. Three MAPL3-line decisions were added.

Review requested on

  • Observations: IRRAD's SetServices sets USE_RRTMGP = .true. (marked TODO), so the RRTMGP band internals are declared for every scheme; the comment on Solar's rrtmgp_state_set says it is never set, while UPDATE_EXPORT sets it; the alarm set-up is repeated in the three children; the parent's "restricted to IRRAD only" comment in GEOSphysics_GridComp/CMakeLists.txt (Inferred to predate the ports).
  • Unverified: where a full-model run gets irrad.yaml, solar.yaml, satsim.yaml (only the regression directories provide them).

Conventions

Every claim cites a file (and routine). Statements that are the authors' reading of the code are marked Inferred; statements that could not be checked are marked Unverified. Bugs and oddities are listed as observations, not fixed; the documents make no change proposals. The documents were written and reviewed with AI agents and spot-checked against the source; errors are expected to surface in use and can be fixed incrementally.

Tracking issue: GEOS-ESM/GEOSgcm#1149 (MAPL3 line). MAPL2-line version: #114.

Documentation only. Claims cite source files; readings are marked Inferred, unchecked statements Unverified. Observed oddities are noted, not fixed.

Plan-Task: I-ArchDocs
(cherry picked from commit 782dddf)
Links to files outside this repository are dead on GitHub; they are now
code paths relative to the fixture checkout.

Plan-Task: I-ArchDocs
(cherry picked from commit 1ee3cab)
Update the architecture documentation cherry-picked from the MAPL2 line to describe release/MAPL-v3: headers, build status on this line, and claims that differ between the lines.

Plan-Task: I-ArchDocs
@tclune tclune added the documentation Improvements or additions to documentation label Nov 6, 2026
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

Label error. Requires at least 1 of: 0 diff, 0 diff trivial, Non 0-diff, 0 diff structural, 0-diff trivial, Not 0-diff, 0-diff, automatic, 0-diff uncoupled. Found: documentation

1 similar comment
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

Label error. Requires at least 1 of: 0 diff, 0 diff trivial, Non 0-diff, 0 diff structural, 0-diff trivial, Not 0-diff, 0-diff, automatic, 0-diff uncoupled. Found: documentation

@tclune
tclune marked this pull request as ready for review November 6, 2026 20:28
@tclune
tclune requested a review from a team as a code owner November 6, 2026 20:28
@tclune
tclune merged commit e13b4b9 into release/MAPL-v3 Nov 6, 2026
3 of 7 checks passed
@tclune
tclune deleted the feature/tclune/agent-architecture-docs-mapl3 branch November 6, 2026 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant