Repository navigation
Replace the agent docs with a short repository map and agent guide - #117
Merged
pchakraborty merged 2 commits intoNov 12, 2026
Merged
Conversation
docs/ARCHITECTURE.md is now a short map (codemap, structure, refresh and every-step update, scheme selection, contracts, invariants, cross-cutting concerns, appendix on aerosol optics from AERO); AGENTS.md keeps rules, status, known traps and build and test. Remove docs/decisions.md and the IRRAD and SOLAR ARCHITECTURE.md files; what was worth keeping moved to the two files.
AGENTS.md: the "restricted to IRRAD only" comment is in Physics' CMakeLists.txt. ARCHITECTURE.md: the children clip the provider's aerosol fields (extinction times albedo and times asymmetry) as received, before any division, as in MAPL2; SOLAR's loops add per-band internals as well as exports.
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.
Description
docs/ARCHITECTURE.mdis now a short repository map in the style of matklad's ARCHITECTURE.md: bird's-eye view, codemap, how Radiation is put together (children and run order, the composite reading its children's exports through its own imports, shared settings, the refresh and every-step update, scheme selection), contracts with the rest of GEOS (imports, exports includingRADLW/RADSWto Moist andRADLW/RADLWCto Turbulence; Radiation neither provides nor subscribes to any service), invariants, cross-cutting concerns, and an appendix on the aerosol-optics protocol with theAEROstate. It names modules and routines, describes only what changes rarely, and has no status or to-dos.AGENTS.mdkeeps what changes and what to do: rules (bugs and questions go to issues; do not edit generated*___.h; MAPL3 error macros; porting follows theGEOSgcm_GridCompAGENTS.md), status and to-dos, known traps (each phrased as what goes wrong), build and test. Verified against856688c.docs/decisions.md(the reasons were inferred, not recorded decisions) andGEOSirrad_GridComp/ARCHITECTURE.mdandGEOSsolar_GridComp/ARCHITECTURE.md. What was worth keeping moved to the two files above.The open questions and observations from the removed documents are not in this PR; they are collected separately to be filed as issues. Same approach as GEOS-ESM/GOCART#503 and GEOS-ESM/GEOSgcm_GridComp#1577; the PRs are independent.
Testing
Documentation only; nothing built or run.