Where to look: the full entries¶
The long form of the "Where to look" table in AGENTS.md: every
row with its files, commands, decisions and issues. AGENTS.md keeps one short
line per row; read the full row here before working on what it names.
| You want to… | Go to |
|---|---|
| Understand the design & decision flow | docs/architecture.md |
| Check a claim/parameter against the papers | docs/publications/ (digests of [1] + thesis status) |
| See what v1.0 reproduces / deviates from the paper | docs/fidelity.md |
| Understand a structural decision / its "why" | docs/adr/ |
| Pick up open work | GitHub issues — start with the highest open priority:P* label (query live; see CONTEXT.md §10) |
| Know which release a piece of work serves, or why something is not planned | docs/roadmap.md — the ladder v2.1.0 → v3.3.0 (replan accepted 2026-10-09), per-release exit criteria and the non-goals; issues carry release: labels. Epics: #626 the whole site is the game (v2.1.0), #634 the Workshop (API + ns-3 in the game), #562 game campaign, #563 comparators, #564 wider threat model, #328 packaging and infrastructure (#603 closed into it). History and the original gap analysis: #298 |
| Know what research a plan item rests on (families, mechanisms, comparators, secure protocols) | docs/research-landscape-2026.md — abstract-level; read the paper before citing a number |
| Work on the learn-site game / campaign | docs/learn-campaign.md: campaign design, levels, UI, adapter features; §10 the whole site as the game; §11 the Workshop (API + ns-3 in the game). Plus the learn-site skill. Epics #562 (campaign), #626 (site), #634 (Workshop) |
| Change what a release ships, or the install path | tools/release/ (assemble + gate), release.yml, ns3/Makefile; infrastructure epic #328 (was #603) |
| Understand the ant types (what each one is for, what it writes, which switch gates it) | docs/ant-types.md — comparison table + lifecycle diagrams for Hello / Reactive / Proactive / Repair / LinkFail and the backward ant |
| See the whole stack, or which mechanism is live/inert in a given regime | docs/software-layers.md — core → ports → adapters → harnesses, mechanisms × their config switches, and per-regime support |
| Add support for a new network family (FANET, VANET, …) | ADR-0019 — a family is a scenario concern: mobility model, preset, preflight rules, anchor, metrics. Never family-specific protocol defaults; a mis-sized constant is an issue + A/B, not a preset. Tracks: #300, #301 |
| Work on security / trust mechanisms | ADR-0020 — same implementation, behind attributes, default off, default path provably byte-identical; no fork. Track: #302 (v3.0.0) |
| Handle an AI review finding (CodeRabbit: verify, fix or decline with the reason on the thread, resolve it; auto-merge only after its review) | CONTRIBUTING.md "AI review", .coderabbit.yaml |
| Record a bug / finding, or hand off across sessions | ADR-0013: always open or update an issue. A handoff is always an issue, labelled handoff (template: Handoff), never a file in the repo: before a session ends with work in flight, or when asked for a handoff, open one with the state, the ordered next steps, the procedures and the pitfalls. A new session starts from the newest open handoff issue. |
| Maintain the wire format | docs/wire-format.md, docs/porting-notes.md |
| Change the algorithm | core/src/, core/include/anthocnet/core/ |
| Change routing policy / decision flow | core/src/ant_router_logic.cpp |
| Change pheromone math | core/src/pheromone_engine.cpp, pheromone_table.cpp |
| Change the wire format | docs/wire-format.md → core/include/.../ant_message_codec.h (+ the ns-3 header; bump kWireVersion) |
| Find the removed NS-2 adapter | docs/ns2-support.md — the v1.2.0 / v1.9.0 tags and images |
| Work on the NS-3 adapter | ns3/anthocnet/model/, ns3/anthocnet/helper/, ns3/anthocnet/examples/ |
| Work on the browser adapter (the learn site's simulation) | swarm-routing/swarm-routing.github.io site/anthocnet/ (its README, ADR-0021); fetched here as web/ by tools/checks/fetch-site-web.sh; web/test/parity.sh must stay byte-identical native vs WASM (CI job web-parity) |
| Run / read benchmarks | docs/benchmarks.md (index → docs/benchmarks/{metrics,methodology}.md, scenarios/<name>.md, sweeps/<name>.md), ns3/tools/run-scenarios.py + make-charts.py + update-benchmarks.py; family/cross-family + sweep charts from committed data: ns3/tools/family-charts.py (re-rendered by charts.yml, which proposes them in a bot/charts PR; no workflow pushes to main, CONTRIBUTING "Branch protection"), anthocnet-compare --diag |
| Inspect protocol internals | NS-3 Tx/Rx/RouteChanged trace sources, and swarm-core's ControlTx/ControlRx/DataDecision/StateSize (#917; docs/ant-types.md §6); core counters via IRouterObserver (core/include/anthocnet/core/ports.h, which also holds the kind-name table) |
| Run the benchmark campaign loop (dispatch → fetch → parse) | benchmark-results skill (SKILL.md documents the whole procedure) |
| Run a campaign (cells × arms, throttled so PR CI keeps runners) | ns3-campaign (swarm-routing/ns3-tools) + a plan in tools/bench/campaigns/ that pins repo, source_sha and image (or pins.<arm>) (#662, #905): plan, dispatch, status, collect [--redispatch], verdicts; every cell runs source_sha through benchmark-cell.yml. An arm in the plan's legacy_arms (the in-job build in a frozen ns-3 image, #867) goes through tools/bench/campaign.py dispatch --arm A --log A.tsv, which also requires source_sha. The benchmark-results skill has the procedure |
| Run the comparison harness, or add a protocol (arm) to it | docs/comparison-harness.md — running routing-compare (alias anthocnet-compare), markers, readers, the adaptive RoutingBase hooks, registering an arm, the three gates. The harness is the routing-bench module of swarm-routing/ns3-tools, at the release ns3-tools.lock pins (tools/ns3_tools.py fetches it; bumping: comparison-harness.md "The ns3-tools pin"); each arm module registers through helper/<module>-bench-arms.cc. The design (arm contract, hook order, explicit registration, compatibility promise): ADR-0027 (epic #764) |
| Find or suspect an upstream ns-3 bug (a stock arm hangs, crashes, or moves with unrelated code) | The org's register lives in swarm-routing/ns3-tools (maintainer decision 2026-11-16, swarm-routing/ns3-tools#233): docs/ns3-bugs.md is the index (ID NS3-NNN, versions, modules, status, our workarounds, the upstream report), docs/ns3-rcapa/ holds one RCAPA (root cause, five whys, reproducer, corrective and preventive actions) per bug. The ones that touch this repository: NS3-001, ns-3.49's AODV livelock (#843: every AODV-family install behind routing-bench's IcmpErrorGuardHelper), NS3-002, AODV/DSDV heap-ordered socket maps (#362, #675, #1039; check-seed-independence.py gates anthocnet rows only, #1059), NS3-003, DSDV's null-device route (#420, #434; isl-grid refuses dsdv on multi-interface grids). A new suspected bug opens its [rcapa] NS3-NNN ticket in swarm-routing/ns3-tools first; the maintainer files upstream reports |
| Compare benchmark A/B runs (deltas + noise verdict) | benchmark-results skill (python3 tools/ns3_tools.py run bench_parse: ns3-tools' reader at the pin) |
| Build, test or screenshot the learn site | the learn-site skill in swarm-routing/swarm-routing.github.io (parity, smoke, README figures) |
| Change the site's top bar, places or the docs/API look | the site repo's site/anthocnet/shell/ (one source for game, docs and API; inject.py), docs/places/, the nav in mkdocs.yml; checked by web/test/smoke.mjs on web/build-pages.sh output |
| Add a world, a mission or a core class | it needs its docs links (read: / links:), a family page needs try: front matter, a public core class needs a chamber in the site's site/anthocnet/site/js/nest-data.js, added by the site PR that bumps protocols.lock (CI here only warns about it, --warn-nest): python3 tools/checks/check-site-links.py says what is missing (fetch web/ first: tools/checks/fetch-site-web.sh) |
| Summarize / export campaign sweep CSVs | benchmark-results skill (python3 tools/ns3_tools.py run sweep_summary; --export-sweeps feeds the paper drafts' plot data) |
| Validate a scenario config or result plausibility | benchmark-results skill (tools/bench/scenario_check.py, #134): preflight before dispatching, results [--anchor …] before trusting numbers |
| Re-choose a gate's seeds after an ns-3 release moved its field | tools/bench/reanchor.py (#1222): reads each gate's invocation from tools/checks/check-anchors.sh and check-arm-delivery.sh, surveys the oracle alone on seeds 1..M in each ns-3 tree (survey, run, or the docker lines commands prints), and proposes the first N consecutive seeds connected (oracle PDR >= 99) and multi-hop (hopsMean >= 2.0) on every release, with the evidence table. Only the window gates (arm-delivery, mesh-hwmp-shortest) are re-chosen; paper-trend gates keep fixed seeds. It never changes a floor or a bound: the rule is docs/benchmarks/methodology.md "Re-anchoring a gate's seeds when ns-3 moves the field"; --self-test in lint.yml |
| Pre-push invariant check on a diff | anthocnet-review skill (.claude/skills/anthocnet-review/check_invariants.sh) |
| Understand why skills are script-first (and add a new analysis loop) | ADR-0014 — raw data stays out of LLM context; extend a skill script, don't eyeball |
| Work on satellite / ISL topologies | ADR-0015 — there is no separate satellite build: one binary, scenario differences live in examples and flags (isl-grid static, leo-walker moving). ADR-0022 — the substrate is stock ns-3.48's LEO model, so moving-constellation work is 3.48-only. Track: #192 |
| Understand why satellite ≠ MANET (before assuming a MANET intuition transfers) | docs/network-regimes.md — the inversion in one line: MANET hides the topology and gives you the traffic; a constellation gives you the topology and hides the traffic. Diagrams, and a difference table where every row traces to a defect, parameter or control in this repo |
| Cut a release | run the Release workflow (Commitizen) with mode: bump; it opens the bump PR, and merging that PR tags and publishes (#882); see CONTRIBUTING.md. Post-release, record the version DOI — Zenodo mints it async a few minutes after publish; read it from the public API (curl -sL https://zenodo.org/api/records/20981980/versions/latest \| python3 -c "import json,sys; d=json.load(sys.stdin); print(d['metadata']['version'], d['doi'])"; address it through a version record — the concept ID 20981979 returns 404 there — and check the version printed is the one you released), or ask the maintainer if zenodo.org is proxy-blocked (403, as it was until 2026-09). Never invent one. Then append a row to the DOI table in CONTRIBUTING.md via a docs: PR — the README badge and CITATION.cff stay on the concept DOI (#116) |
Change an org-managed section (AGENTS.md conventions/git-workflow/skills, CLAUDE.md org section, SECURITY.md reporting, .coderabbit.yaml head/tail, README badges) |
.github/org-sync.toml (kind protocol; AGENTS.md#org-rules is skipped on purpose: golden rules 1–10 here are the source the org's grew from) and the templates in swarm-routing/.github templates/; never edit between the org-sync:begin/end markers — change the template, then python3 ../.github/tools/org-sync/org_sync.py apply . (#855) |
| Tune defaults | core/include/anthocnet/core/config.h |
| Look up a parameter's default, its provenance, or how to calibrate it | docs/configuration.md — all 38 Config fields with a source column ([1] §/thesis/repo choice/unknown), the ns-3 attribute for each, the sweep→A/B→noise loop, and the checklist for adding a parameter. The unknown rows in §3.2 are the next #88/#169 candidates |