Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
0c8c324
docs(agents): stage shared scientific-project safeguards
jamespatrickjackson-lang Nov 14, 2026
7f6c6cf
docs(agents): stage shared editor safeguards and source map
jamespatrickjackson-lang Nov 14, 2026
adb0243
docs(agents): stage shared Three.js runtime safeguards
jamespatrickjackson-lang Nov 14, 2026
22cf28e
docs(agents): add shared documentation and evidence safeguards
jamespatrickjackson-lang Nov 14, 2026
18f35e4
docs(agents): record lossless crosswalk and unresolved migration holds
jamespatrickjackson-lang Nov 14, 2026
116adff
docs(agents): preserve original projects/AGENTS.md constraints and pi…
jamespatrickjackson-lang Nov 14, 2026
0ebcdcb
docs(agents): preserve original src/editor/AGENTS.md constraints and …
jamespatrickjackson-lang Nov 14, 2026
266a93a
docs(agents): preserve original src/scene/AGENTS.md constraints and p…
jamespatrickjackson-lang Nov 14, 2026
e3dc0d8
docs(agents): preserve original docs/AGENTS.md constraints and pinned…
jamespatrickjackson-lang Nov 14, 2026
b12c81c
docs(agents): pin 61-rule self-contained preservation crosswalk and r…
jamespatrickjackson-lang Nov 14, 2026
a3eb63b
docs(agents): reconcile shared root routing without changing legacy s…
jamespatrickjackson-lang Nov 14, 2026
b81ffa4
docs(agents): retain Claude-only human and stable-orientation routes
jamespatrickjackson-lang Nov 14, 2026
d4c1c89
docs(agents): record exact root parity review and draft-only Claude a…
jamespatrickjackson-lang Nov 14, 2026
cdba7b0
docs(agents): apply approved H01 H02 H09 policy to AGENTS.md
jamespatrickjackson-lang Nov 14, 2026
5addef6
docs(agents): apply approved H01 H02 H09 policy to CLAUDE.md
jamespatrickjackson-lang Nov 14, 2026
d3e86e5
docs(agents): apply approved GEODE authority and workspace policy in …
jamespatrickjackson-lang Nov 14, 2026
b16de58
docs(agents): apply approved GEODE authority and workspace policy in …
jamespatrickjackson-lang Nov 14, 2026
d390d54
docs(agents): apply approved GEODE authority and workspace policy in …
jamespatrickjackson-lang Nov 14, 2026
fc9d3a3
docs(agents): apply approved GEODE authority and workspace policy in …
jamespatrickjackson-lang Nov 14, 2026
ca42890
docs(agents): apply approved GEODE authority and workspace policy in …
jamespatrickjackson-lang Nov 14, 2026
aa1d028
docs(agents): apply approved GEODE authority and workspace policy in …
jamespatrickjackson-lang Nov 14, 2026
a9855ba
docs(decisions): record owner-approved GEODE agent governance as DEC-189
jamespatrickjackson-lang Nov 14, 2026
cf97b57
docs(agents): record H01 H02 H03 H09 approvals; preserve 61-group cro…
jamespatrickjackson-lang Nov 14, 2026
9f3123c
docs(agents): correct relative DEC-189 link in Phase 3 record
jamespatrickjackson-lang Nov 14, 2026
34dc0f1
test(agents): specify preservation, router atomicity and crosswalk ga…
jamespatrickjackson-lang Nov 14, 2026
9c13c8d
feat(agents): add static preservation checker tools/checks/lib/agent-…
jamespatrickjackson-lang Nov 14, 2026
669f8b4
feat(agents): add static preservation checker tools/checks/check-agen…
jamespatrickjackson-lang Nov 14, 2026
4b49e4d
docs(agents): clarify approved H05 H06 H07 H08 H10 in docs/dev-contex…
jamespatrickjackson-lang Nov 14, 2026
b6e5a34
docs(agents): clarify approved H05 H06 H07 H08 H10 in docs/dev-contex…
jamespatrickjackson-lang Nov 14, 2026
bcb5a16
docs(agents): clarify approved H05 H06 H07 H08 H10 in docs/dev-contex…
jamespatrickjackson-lang Nov 14, 2026
e07f04a
docs(agents): clarify approved H05 H06 H07 H08 H10 in docs/dev-contex…
jamespatrickjackson-lang Nov 14, 2026
6b17a19
docs(agents): clarify approved H05 H06 H07 H08 H10 in docs/dev-contex…
jamespatrickjackson-lang Nov 14, 2026
d914bc5
docs(agents): clarify approved H05 H06 H07 H08 H10 in src/scene/AGENT…
jamespatrickjackson-lang Nov 14, 2026
1fe6647
docs(agents): clarify approved H05 H06 H07 H08 H10 in docs/dev-contex…
jamespatrickjackson-lang Nov 14, 2026
3afc394
ci(agents): enforce approved static preservation gate in package.json
jamespatrickjackson-lang Nov 14, 2026
daa2f92
ci(agents): enforce approved static preservation gate in .github/work…
jamespatrickjackson-lang Nov 14, 2026
04688b0
ci(agents): enforce approved static preservation gate in tools/check-…
jamespatrickjackson-lang Nov 14, 2026
897da75
docs(decisions): record seven approved GEODE agent-contract dispositi…
jamespatrickjackson-lang Nov 14, 2026
7030733
docs(agents): record DEC-190 approvals and actual provider loading gate
jamespatrickjackson-lang Nov 14, 2026
e288dcc
docs: remove unrelated third-party submission references
jamespatrickjackson-lang Nov 14, 2026
d56bca0
merge(main): synchronize redundant verification-doc cleanup into W1 (#2)
jamespatrickjackson-lang Nov 14, 2026
cb2b6a7
docs(w1): route agent onboarding to canonical GeoSee manifest
jamespatrickjackson-lang Nov 14, 2026
b3f047d
docs(w1): align Claude onboarding entry with canonical manifest
jamespatrickjackson-lang Nov 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
# Blocking — currently green:
- run: npm run check:routes
- run: npm run check:mirror
# Validates 61 preserved source groups and the staged Claude contract state.
# check:mirror stays active until the actual adapter switchover.
- run: npm run check:agent-contracts
- run: npm run check:editor-controls
- run: npm run check:agent-drag
- run: npm run check:pages
Expand Down
111 changes: 84 additions & 27 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,33 @@
# GeoSee Agent Operating Contract — Codex CLI

This file is the operating contract for Codex CLI and other agent runtimes
that auto-load `AGENTS.md`. Claude Code reads `CLAUDE.md` instead; the two
files mirror each other. Source of truth is `CLAUDE.md` — update both when
either changes.
# GeoSee / GEODE Agent Operating Contract — Shared Engineering Instructions

This is the provider-neutral engineering contract for agents working in this
repository. Read the relevant scoped `AGENTS.md` before changing its subtree.
A provider-specific entry file such as `CLAUDE.md` is not intended to own
separate engineering policy.

**Migration boundary:** The existing root and nested `CLAUDE.md` files still
contain substantive original instructions and have not been converted into
import-only routers. Only owner-approved workspace, authority, and writing
policy corrections are made during this review stage. Do not shrink, remove,
or replace those instructions until their unique rules are preserved and
provider loading is verified. The migration plan
and unresolved holds are recorded in
`docs/dev-context/Agent-Instruction-Consolidation-Plan.md`.

## First Read

Before choosing a GEODE / GeoSee workstream or making changes, consult the
[canonical GEODE / GeoSee Notion workstream and authority manifest](https://app.notion.com/p/418fb09932768139b693dbf2b5a191aa) for approved product scope, W1–W4 ownership,
current decisions, requirements, dependencies, active holds, and links to the
owning reports. Verify the authorized repository, exact branch/commit and
permissions against live GitHub. The manifest is the single project-level
onboarding route, not a substitute for the engineering instructions in this
file or its scoped counterparts, and does not itself authorize edits, merges,
or releases. Treat historical, provisional, and cross-domain GEODE OSS V2
materials as reference, not active GeoSee requirements. If the manifest or
assigned workstream is unavailable, report the gap rather than assuming
change authorization.

For normal software-build work, start with
`docs/dev-context/Active-Build-Context.md`, then open only the docs and
source files directly relevant to the task.
Expand All @@ -15,22 +36,37 @@ Do not route through old receipt archives, screenshots, staged-intake
records, or older root docs unless the task explicitly needs audit history,
verification evidence, intake/drop review, or visual QA evidence.

## Output Rail
For work under a scoped area, also read its shared instructions **before**
changing files in that area:

Agent responses use system/dev context transfer: facts, commands, files,
risks, decisions, verification, and outcomes.
- `projects/AGENTS.md`: project authoring, bulk scientific data and provenance.
- `src/editor/AGENTS.md`: editor controls, persistence, UI and safe edits.
- `src/scene/AGENTS.md`: Three.js runtime, loaders, opacity and transitions.
- `docs/AGENTS.md`: documentation evidence, decisions, source rights and claims.

Read these explicitly if the current agent runtime does not automatically
discover nested instructions. Do not assume all providers load the same files
or that an abbreviated scoped rule supersedes its detailed technical owner.

## Output Rail

Avoid praise, reassurance, motivational framing, apology loops, personal
framing, and first/second-person posture. Avoid first/second-person
pronouns in assistant-authored prose, including `I`, `me`, `my`, `we`,
`our`, `you`, and `your`.
Agent engineering handoffs use factual system/development reporting:
commands, files, risks, decisions, verification evidence, and outcomes.
Avoid praise, reassurance, motivational framing, apology loops, and
unnecessary personal framing. Keep first/second-person wording restrained
when a concise technical status report does not need it.

Exceptions: quoted source text, code identifiers, commands, file content,
UI copy under review, and required wording from tools, tests, or external
APIs.
This reporting convention does **not** dictate the language of user-facing
README content, tutorials, documentation, UX copy, or requested writing.
Write appropriately for the intended audience, including natural first- and
second-person language when useful. Quoted source text, code identifiers,
commands, file content, UI copy, and tool/test/API wording retain their
original form.

## Source Of Truth

- Human repository landing page: `README.md`
- Stable product/system orientation: `docs/START-HERE.md`
- Product purpose and alpha boundaries: `docs/00-purpose.md`
- Scope: `docs/01-scope.md`
- Architecture and locked stack decisions: `docs/02-architecture.md`
Expand All @@ -41,15 +77,24 @@ APIs.
- Editor sidebar control manifest and approval policy:
`docs/dev-context/editor-control-manifest.json` and
`docs/dev-context/Editor-Control-Manifest-Policy.md`
- Page transitions and section-frame helpers:
`docs/dev-context/Page-Transitions-And-Section-Frames.md`
- Editor feature completion and user-facing field exposure:
`docs/06-editor-exposure-rules.md`
- Public-release, provenance and third-party data rights:
`docs/LICENSING.md`

## Workspace Rules

- The canonical active repo root is `C:\GeoSee\GeoSee_Dev\`.
- If the current working directory is missing the repo, switch to
`C:\GeoSee\GeoSee_Dev\` before inspecting, testing, editing, or
committing.
- `C:\GeoSee_Dev\` is obsolete/stale and must not be treated as the
current working tree.
- Work in the Git checkout explicitly authorized for the current task.
Verify its root with `git rev-parse --show-toplevel`; verify the intended
repository identity and branch before modifying files or committing.
- If no Git checkout is present or its identity is ambiguous, stop and report
rather than selecting a different checkout. Never automatically switch to a
remembered local path.
- Historical `C:\GeoSee\GeoSee_Dev\` and `C:\GeoSee_Dev\` are
local-context references, not universal locations or instructions to enter
those trees.
- `UI_EDITOR` prototype/package work stays separate from this active app tree.
Do not merge or resurrect `UI_EDITOR/` or `UI_EDITOR_v1_0/` content into
`main` unless a request explicitly asks for that standalone package.
Expand Down Expand Up @@ -145,7 +190,7 @@ following paths unless the task explicitly requires them:
- `data/**` — root vector data (includes `hydrography_streams.geojson`
at 17 MB).
- `dist/**`, `dist-tsbuild/**`, `node_modules/**` — build output and
dependencies.
dependencies; gitignored files may still be reachable by some Glob/file-discovery tools.
- `docs/dev-context/Archive/**`,
`docs/dev-context/Change-Receipts/**`,
`docs/dev-context/Verification-Receipts/**`,
Expand All @@ -172,7 +217,15 @@ range (approximate current line counts):

## Decision Discipline

- If a change would contradict `/docs`, stop and surface it before acting.
- Accepted requirements and dated decisions govern intended behavior; active
approved specifications explain that intent. Current code, tests, project
manifests, and artifacts are evidence of what is implemented, not automatic
approval of a change in requirements.
- If observed implementation and accepted intent disagree, document the
competing clauses and evidence, then stop the affected change for review.
A stale, proposed, or historical document does not automatically override
current observed behavior; current behavior does not silently override an
accepted requirement.
- New durable decisions belong in `docs/03-decisions.md`.
- Do not rewrite earlier decision entries; add a new entry with a
`supersedes DEC-NNN` note when replacing an older decision.
Expand All @@ -188,9 +241,13 @@ unless the user explicitly asks for a persistence architecture change.

## Working Tree And Archive

- The active working tree is `C:\GeoSee\GeoSee_Dev\`.
- Large raw/source buckets are outside the active repo at
`C:\GeoSee\GeoSee_Archive\`.
- The active working tree is the authorized checkout verified with
`git rev-parse --show-toplevel`, not a fixed machine directory.
- Historical local working-tree path: `C:\GeoSee\GeoSee_Dev\` (reference
only; do not switch to it automatically).
- Historical large raw/source buckets were held outside that tree at
`C:\GeoSee\GeoSee_Archive\`. This is provenance information, not
permission to inspect or modify an archive.
- Treat old repo-relative source paths in provenance as historical
identifiers and resolve them through `docs/archive-map.md` and
`docs/archive-manifest.json`.
Expand Down
64 changes: 46 additions & 18 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ landing page, `docs/START-HERE.md` is stable product/system orientation, and

## First Read

Before selecting a GEODE / GeoSee assignment or editing the repository,
consult the [canonical GEODE / GeoSee Notion workstream and authority manifest](https://app.notion.com/p/418fb09932768139b693dbf2b5a191aa) for the
approved product scope, W1–W4 owning records, decisions, current holds and
workstream boundaries. Check live GitHub branch and commit against the owner
record. This external manifest is the single project-level onboarding route;
it does not override this file's provider instructions or grant edit, merge,
or release approval. Historical or exploratory cross-domain GEODE OSS V2
material is not active GeoSee requirements. If project authority cannot be
verified, report the uncertainty rather than acting on stale entry guidance.

For normal software-build work, start with
`docs/dev-context/Active-Build-Context.md`, then open only the docs and source
files directly relevant to the task.
Expand All @@ -16,16 +26,18 @@ verification evidence, intake/drop review, or visual QA evidence.

## Output Rail

Agent responses use system/dev context transfer: facts, commands, files, risks,
decisions, verification, and outcomes.

Avoid praise, reassurance, motivational framing, apology loops, personal
framing, and first/second-person posture. Avoid first/second-person pronouns in
assistant-authored prose, including `I`, `me`, `my`, `we`, `our`, `you`, and
`your`.
Agent engineering handoffs use factual system/development reporting:
commands, files, risks, decisions, verification evidence, and outcomes.
Avoid praise, reassurance, motivational framing, apology loops, and
unnecessary personal framing. Keep first/second-person wording restrained
when a concise technical status report does not need it.

Exceptions: quoted source text, code identifiers, commands, file content, UI
copy under review, and required wording from tools, tests, or external APIs.
This reporting convention does **not** dictate the language of user-facing
README content, tutorials, documentation, UX copy, or requested writing.
Write appropriately for the intended audience, including natural first- and
second-person language when useful. Quoted source text, code identifiers,
commands, file content, UI copy, and tool/test/API wording retain their
original form.

## Source Of Truth

Expand All @@ -43,11 +55,15 @@ copy under review, and required wording from tools, tests, or external APIs.

## Workspace Rules

- The canonical active repo root is `C:\GeoSee\GeoSee_Dev\`.
- If the current working directory is missing the repo, switch to
`C:\GeoSee\GeoSee_Dev\` before inspecting, testing, editing, or committing.
- `C:\GeoSee_Dev\` is obsolete/stale and must not be treated as the current
working tree.
- Work in the Git checkout explicitly authorized for the current task.
Verify its root with `git rev-parse --show-toplevel`; verify the intended
repository identity and branch before modifying files or committing.
- If no Git checkout is present or its identity is ambiguous, stop and report
rather than selecting a different checkout. Never automatically switch to a
remembered local path.
- Historical `C:\GeoSee\GeoSee_Dev\` and `C:\GeoSee_Dev\` are
local-context references, not universal locations or instructions to enter
those trees.
- `UI_EDITOR` prototype/package work stays separate from this active app tree.
Do not merge or resurrect `UI_EDITOR/` or `UI_EDITOR_v1_0/` content into
`main` unless a request explicitly asks for that standalone package.
Expand Down Expand Up @@ -170,7 +186,15 @@ range (approximate current line counts):

## Decision Discipline

- If a change would contradict `/docs`, stop and surface it before acting.
- Accepted requirements and dated decisions govern intended behavior; active
approved specifications explain that intent. Current code, tests, project
manifests, and artifacts are evidence of what is implemented, not automatic
approval of a change in requirements.
- If observed implementation and accepted intent disagree, document the
competing clauses and evidence, then stop the affected change for review.
A stale, proposed, or historical document does not automatically override
current observed behavior; current behavior does not silently override an
accepted requirement.
- New durable decisions belong in `docs/03-decisions.md`.
- Do not rewrite earlier decision entries; add a new entry with a
`supersedes DEC-NNN` note when replacing an older decision.
Expand All @@ -185,9 +209,13 @@ the user explicitly asks for a persistence architecture change.

## Working Tree And Archive

- The active working tree is `C:\GeoSee\GeoSee_Dev\`.
- Large raw/source buckets are outside the active repo at
`C:\GeoSee\GeoSee_Archive\`.
- The active working tree is the authorized checkout verified with
`git rev-parse --show-toplevel`, not a fixed machine directory.
- Historical local working-tree path: `C:\GeoSee\GeoSee_Dev\` (reference
only; do not switch to it automatically).
- Historical large raw/source buckets were held outside that tree at
`C:\GeoSee\GeoSee_Archive\`. This is provenance information, not
permission to inspect or modify an archive.
- Treat old repo-relative source paths in provenance as historical identifiers
and resolve them through `docs/archive-map.md` and
`docs/archive-manifest.json`.
Expand Down
Loading
Loading