Development Overview
The n3Client development tracker — document ownership map, current handoff state, working protocol, agent navigation, and source authority rules.
This page adapts the development tracker index (docs/development/README.md in the n3Client repository). The development directory is the development authority for the n3Client foundation and subsequent ecosystem consolidation. Product identity does not determine which implementation survives: retain the strongest behavior and architecture from either ecosystem.
Navigation and ownership
| Document | Owns | Where |
|---|---|---|
Decisions (docs/development/DECISIONS.md) | Accepted scope, architecture, compatibility and data policies | repository |
Foundation backlog (docs/development/FOUNDATION.md) | Implementation tasks, dependencies and acceptance criteria | repository |
| Architecture and lifecycle | Root launcher module map, startup, classloading, patching, generated resources, events, threading, shutdown | this site |
| Injection DSL | Injection annotations, transformers and the mixins/ / rlmixins/ catalogs | this site |
T-to-N map (docs/development/T_TO_N_MAP.md) | Native type mappings and the remaining owned UI, utility and generic naming migration | repository |
Subsystem map (docs/development/SUBSYSTEMS.md) | Platform comparisons, dispositions and ownership gaps | repository |
Foundation review (docs/development/SUBSYSTEM_REVIEW.md) | M1 source comparisons, retained owners and later adoption gates for all 18 subsystem areas | repository |
| Test layout | Automated suite structure, conventions and how to run it | this site |
| Owned UI components | Swing toolkit in base-api model/ui and its DESIGN.md theme tokens | this site |
Plugin migration (docs/development/PLUGINS.md) | Existing n3 entrypoints, dependency investigation and migration waves | repository |
Dependency snapshot (docs/development/PLUGIN_DEPENDENCIES.md) | Source identities and dependency/lifecycle map for the historical n3plugins checkout (inspected there 2026-11-04: 23 registry entries, 27 annotated plugin classes); this n3client checkout ships 6 annotated plugin classes plus a foundation fixture | repository |
| Manager user guide | Standalone manager app behavior: sessions, hiscores, characters, status model | this site |
| Manager architecture | manager/ module layers, package responsibilities, data flow and invariants | this site |
Work sessions (docs/development/SESSIONS.md) | Requests, changes/findings, validation and remaining gaps for every work session | repository |
UI/UX coverage (docs/development/evidence/UI_UX_AUDIT_2026-11-06.md) | Client, plugin/API and manager inventories, repairs, rendered evidence and live gaps | repository |
Validation ledger (docs/development/VALIDATION.md) | Commands, results, evidence limits and live acceptance | repository |
Foundation acceptance (docs/development/evidence/FOUNDATION_ACCEPTANCE.md) | Current local validation, artifact identities, Windows runtime receipts and limits | repository |
Skill investigations (docs/development/skill-investigations/README.md) | Sequential canonical skill assessments, conversion requirements and workflow integration | repository |
Workflow inventory (docs/development/WORKFLOW_INVENTORY.md) | Workspace, tooling, CI, release and GitHub reconciliation | repository |
Canonical skill conversion (docs/development/skill-investigations/ACTIVATION.md) | Repository skills, activation checks and local automation disposition | repository |
GitHub workflow (docs/development/GITHUB.md) | Private repository, Project, issue synchronization, PRs, CI and toolchain boundaries | repository |
| Documentation index | User-facing docs entry point with per-guide summaries and links | this site |
Publishing connection (docs/development/DOCSDEV.md) | The docs.dev site publishing connection and agent publishing rules | repository |
Coverage matrix (docs/development/DOCS_COVERAGE.md) | Documentation workflow disposition for all 132 source modules, with workstream assignments | repository |
Documentation workflow (docs/development/ZCODE_DOCUMENTATION_WORKFLOW.md) | The reusable Zcode prompt: preflight, authoring workstreams, review, reconciliation, handoff | repository |
Documentation review (docs/development/evidence/documentation-review-2026-11-06.md) | Independent reviewer findings for the 2026-11-06 documentation workflow | repository |
Live source owns implementation truth. Decisions own intended behavior. The backlog owns task status; validation receipts support completion. Historical VitaLite documentation describes inherited behavior and is not proof of n3Client acceptance.
Current handoff
The runnable base uses dev.n3u.N3Client, all 40 renamed N interfaces/mixins, generated patches/maps/embedded modules, isolated client storage and the existing RuneLite sideload directory. Package, Windows script and developer launches reached the login screen; fixture identity, events, persistence and normal close were checked. See the current acceptance receipt (docs/development/evidence/FOUNDATION_ACCEPTANCE.md) for exact evidence and remaining authentication/platform/semantic limits.
The plugin inventory reconciles 23 root registry entries with 27 annotated source entrypoints in the historical n3plugins checkout (inspected 2026-11-04); this checkout ships 6 annotated plugin classes plus a foundation fixture. The dependency snapshot records their source hashes and source coupling; runtime registration and semantic compatibility remain migration gates.
Working protocol
- Select a backlog ID and inspect the owning source and consumers with CodeGraph where available.
- Record decisions before replacing behavior. Distinguish identity changes from implementation changes.
- Implement the complete dependency slice; preserve unrelated changes and the existing n3 checkout.
- Add proportionate behavioral validation and record exact commands, artifact identity and results.
- Mark a task complete only when its acceptance criteria have evidence. Link receipts rather than duplicating results.
- Update affected public guides and tracker links in the same change.
- Record every session and follow-up request in Work sessions (
docs/development/SESSIONS.md), including documentation-only work or investigations. Link the owning guides, changelog and validation evidence; record unrun checks and remaining gaps before handing off.
Use OPEN, ACTIVE, IMPLEMENTED, VERIFIED, or BLOCKED. IMPLEMENTED is not VERIFIED. Record blocker, owner/next action and evidence when blocked. Do not infer live success from compilation or synthetic tests.
Agent navigation
Added 2026-11-06 by the navigation workstream. Symbols below were verified during that session; owning guides carry the full contracts.
Task-to-guide-to-symbol map
| Task | Owning guide | Entry symbols |
|---|---|---|
| Launch / bootstrap the client | Architecture and lifecycle | dev.n3u.N3Client relaunches dev.n3u.client.Main with -safeLaunch (src/main/java/dev/n3u/N3Client.java:11-27) |
| Build, package, validate | Repository README (README.md) | generateClientPatches (build.gradle.kts:324); validation commands in the README |
| Inject or patch gamepack / RuneLite code | Injection DSL, Architecture | Injector (src/main/java/dev/n3u/injector/Injector.java:25, MIXINS = "dev.n3u.mixins"); catalogs src/main/java/dev/n3u/mixins/, src/main/java/dev/n3u/rlmixins/ |
| Access the client from a plugin | SDK Client Reference | Static.getClient() (base-api/src/main/java/dev/n3u/Static.java:40) |
| Interact with widgets / NPCs | SDK Widgets Reference, SDK Game Reference | WidgetAPI.interact (api/src/main/java/dev/n3u/api/widgets/WidgetAPI.java:76-84), NpcAPI.interact (api/src/main/java/dev/n3u/api/entities/NpcAPI.java:66-73) |
| Read game state | SDK Queries Reference | AbstractQuery (api/src/main/java/dev/n3u/queries/abstractions/AbstractQuery.java:14) |
| Send custom packets | SDK Packets Reference | NPacketWriter.addNode (base-api/src/main/java/dev/n3u/api/NPacketWriter.java:10) |
| Walk the world | SDK Pathfinder Reference | Walker; implementation key pathfinderImpl default HYBRID_BFS (base-api/src/main/java/dev/n3u/util/ClientConfig.java:45) |
| Script multi-step automation | Script DSL (docs/SCRIPT-DSL.md) | Script.build (api/src/main/java/dev/n3u/util/handler/script/) |
| Change click behavior | Click Manager (docs/CLICKMANAGER.md) | ClickStrategy (base-api/src/main/java/dev/n3u/services/ClickStrategy.java), ClickManagerUtil |
| Build an external plugin | External Plugin Development | dev.n3u:base-api / dev.n3u:api 1.13.6_1; sideload dir ClientPaths.PLUGINS (base-api/src/main/java/dev/n3u/ClientPaths.java:16) |
| Rename or adopt owned types | T-to-N map (docs/development/T_TO_N_MAP.md) | dev.n3u.api.N* interfaces, dev.n3u.mixins.N* mixins |
| Work on the manager | Manager architecture, Manager user guide | dev.n3u.manager.ui.ManagerApp |
| Record validation results | Validation ledger (docs/development/VALIDATION.md) | Ledger entries, not chat |
Source authority and regeneration rules
- Upstream RuneLite API (read-only, synced).
base-api/src/main/java/net/runelite/apiis owned by upstream..\gradlew.bat :base-api:syncRuneliteApi(base-api/build.gradle.kts:86) downloads selected sources from runelite/runelite raw at refrunelite-parent-1.13.6(runeliteVersion,build.gradle.kts:12) and overwrites local files — review overwritten local sources afterward. Only files matchingapiFilePatterns(base-api/build.gradle.kts:37) are synced: named root constant/ID files, all ofannotations/,clan/ClanID.java, thewidgets/Component/Interface/Widget ID files, and all ofgameval/. No owned per-class documentation for synced sources (coverage matrix,upstreamdisposition); licensing lives inTHIRD_PARTY_NOTICES.md. - Generated resources (never hand-edit).
copySubmoduleJar/copySubmoduleJar2embed the:apiand:pluginsJARs asapi.jarData/plugins.jarDataunderbuild/generated/embedded/dev/n3u(build.gradle.kts:77-99);preparePatchResourcesstagesbuild/generated/bootstrap-resources(build.gradle.kts:317-322);generateClientPatchesrunsdev.n3u.client.Main -safeLaunch -runInjectorheadless withn3client.generatePatches=trueand writesbuild/generated/patches(build.gradle.kts:324-335);processResourcesexcludes the source-tree copies ofpatches.zip, thejarDatafiles and the client icons so the generated outputs win (build.gradle.kts:337-344). Build behavior is documented, generated content is not (coverage matrix,generateddisposition). - Owned sources and naming. Everything else is owned. Owned packages use
dev.n3uwith no extra segment. The 40 renamed native types, the directcom.tonic→dev.n3umapping (no T compatibility alias) and the generic-parameter rule are in the T-to-N map. Ownership directions between Gradle modules are in Architecture.
Glossary
| Term | Meaning |
|---|---|
| N interfaces | The renamed native client/mixin interfaces under dev.n3u.api and dev.n3u.mixins (T-to-N map); Static.getClient() returns the injected instance (Static.java:40) |
| GamePack mixins | Mixins injected into the gamepack: src/main/java/dev/n3u/mixins/ (27 files, counted 2026-11-06); catalog constant MIXINS = "dev.n3u.mixins" (Injector.java:25) |
| RuneLite mixins | Mixins for the RuneLite host: src/main/java/dev/n3u/rlmixins/ (18 files, counted 2026-11-06) |
| Injection DSL | The annotation/transformer set consumed by dev.n3u.injector; owning guide Injection DSL |
| Patches | Build-generated patches.zip applied at production startup by PatchApplier.applyPatches; dev mode re-injects instead — both modes in Architecture; produced by generateClientPatches (build.gradle.kts:324) |
| jarData | Embedded module JARs api.jarData / plugins.jarData loaded at runtime; built by copySubmoduleJar / copySubmoduleJar2 (build.gradle.kts:77-99) |
| T-to-N migration | Owned com.tonic types renamed to dev.n3u N types without compatibility aliases; owned members use the N prefix (tClient → nClient); owned generics use N — e.g. <N> N getClient() (Static.java:40), AbstractQuery<N, Q> (AbstractQuery.java:14) |
| Sideloaded plugins | External plugin discovery at ~/.runelite/sideloaded-plugins (ClientPaths.java:16), shared with the existing RuneLite installation and never moved |
| StepHandler / Script DSL | Step-based execution model; Script.build compiles the yield/await syntax onto it (Script DSL guide) |
Static.invoke | Client-thread dispatch that every packet-sending facade method wraps (Static.java:101,123; SDK Widgets Reference invariants) |
| ClickStrategy | User-selected synthetic click behavior STATIC / RANDOM / CONTROLLED / NONE (Click Manager guide) |
| Walker / HYBRID_BFS | Blocking world-walk API and the default pathfinderImpl implementation key (SDK Pathfinder Reference) |
Historical reference: n3plugins documentation (dated 2026-11-06)
C:\Users\n3\Desktop\n3\n3plugins is a read-only historical reference for the former com.n3plugins ecosystem. Its documentation is not current n3Client behavior; any behavior claim reused from it must be re-traced against current sources first. Its information architecture, as read in that session: roughly 344 markdown files under docs/ — a large flat set of kebab-case topic pages plus subdirectories (agent/, assets/, canonical/, parity/, porting/, sdk/, validation/, _internal/), site navigation in a root docs.json sidebar with groups such as "Start Here", and pages carrying title/description YAML front matter with task-based "Navigation by task" tables (for example docs/SDK_API_REFERENCE.md). This documentation set reuses the task-navigation and front-matter conventions; it deliberately keeps a small curated guide set with sdk-* reference pages instead of one page per topic. That last choice is an observation of the current layout, not a recorded decision.
Change record
| Date | Change | Evidence |
|---|---|---|
| 2026-11-06 | Registered the documentation-workflow guides in the tracker index and added agent navigation (task-to-symbol map, source authority and regeneration rules, glossary, historical n3plugins note, docs.dev publishing rules); created the user-facing documentation index | repository issue #86; python scripts/check_development_docs.py and git diff --check |
| 2026-11-05 | Completed remaining owned N branding and established per-session documentation records | Session record (docs/development/SESSIONS.md); VAL-013 in the validation ledger |
| 2026-11-04 | Initial foundation changes compiled | VAL-001 |
| 2026-11-04 | Established development tracking set | Documentation link and inventory checks; see validation ledger |
Manager Architecture
Developer view of the manager Gradle module — layers, the 13-package map, data and control flow, zone-discipline invariants, and known limits.
Architecture and Lifecycle
The root launcher module — module map, startup sequence, classloading, the bytecode pipeline, events, threading, readiness, shutdown, and Gradle ownership.