Skip to content

Add agent-oriented architecture documentation - #145

Merged
tclune merged 2 commits into
developfrom
feature/tclune/agent-architecture-docs
Nov 6, 2026
Merged

tclune merged 2 commits into
developfrom
feature/tclune/agent-architecture-docs

Conversation

@tclune

@tclune tclune commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Documentation only; no code, build or configuration changes.

Adds AGENTS.md, docs/ARCHITECTURE.md and docs/decisions.md describing the OCEAN wrapper and the ocean plug-ins (data ocean, MOM5, MOM6, MITgcm) as they are today (MAPL2 line): selection keys, plug interface imports/exports, restarts, dual-ocean mode.

Review requested on

  • The Inferred and Unverified items (import promotion through MAPL_WireComponent, ExtData sources of DATA_SST/DATA_SSS, provider of PICE).
  • Observations for maintainers: CALVING fetched for every real ocean but declared only by MOM6; OCEAN_PICE_SCALING in the template is not read (plug-ins read MOM_PICE_SCALING); MOM5 Ocean_State local pointers; MIT Run2 deallocates a pointer to an export; elseif() with no condition in the MIT CMake file; which ocean configurations are supported.

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.

Part of the GEOS architecture-documentation set. Tracking issue: GEOS-ESM/GEOSgcm#1147. Fixture-level documents: GEOS-ESM/GEOSgcm#1146.

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

Plan-Task: I-ArchDocs
@tclune tclune added 0 diff trivial The changes in this pull request are trivially zero-diff (documentation, build failure, &c.) documentation Improvements or additions to documentation labels Nov 5, 2026
@tclune
tclune marked this pull request as ready for review November 6, 2026 13:34
@tclune
tclune requested a review from a team as a code owner November 6, 2026 13:34
Links to files outside this repository are dead on GitHub; they are now
code paths relative to the fixture checkout.

Plan-Task: I-ArchDocs
@tclune

tclune commented Nov 6, 2026

Copy link
Copy Markdown
Contributor Author

Update to this pull request: links that pointed outside this repository (to a parent, sibling or nested repository) are now written as code paths, "... in the fixture". On GitHub each repository stands alone, so those links were dead there (MAPL's link checker flagged the same issue, fixed in GEOS-ESM/MAPL#5492). Links inside this repository are unchanged; no other edits.

@tclune tclune added 0 diff coupled Zero-diff for the coupled model 0 diff dataatm Zero-diff for the data atm model 0 diff dataocean Zero-diff for the dataocean model labels Nov 6, 2026
@tclune
tclune merged commit af1398e into develop Nov 6, 2026
13 of 19 checks passed
@tclune
tclune deleted the feature/tclune/agent-architecture-docs branch November 6, 2026 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0 diff coupled Zero-diff for the coupled model 0 diff dataatm Zero-diff for the data atm model 0 diff dataocean Zero-diff for the dataocean model 0 diff trivial The changes in this pull request are trivially zero-diff (documentation, build failure, &c.) documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants