docs.dev

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.

DocumentOwnsWhere
Decisions (docs/development/DECISIONS.md)Accepted scope, architecture, compatibility and data policiesrepository
Foundation backlog (docs/development/FOUNDATION.md)Implementation tasks, dependencies and acceptance criteriarepository
Architecture and lifecycleRoot launcher module map, startup, classloading, patching, generated resources, events, threading, shutdownthis site
Injection DSLInjection annotations, transformers and the mixins/ / rlmixins/ catalogsthis site
T-to-N map (docs/development/T_TO_N_MAP.md)Native type mappings and the remaining owned UI, utility and generic naming migrationrepository
Subsystem map (docs/development/SUBSYSTEMS.md)Platform comparisons, dispositions and ownership gapsrepository
Foundation review (docs/development/SUBSYSTEM_REVIEW.md)M1 source comparisons, retained owners and later adoption gates for all 18 subsystem areasrepository
Test layoutAutomated suite structure, conventions and how to run itthis site
Owned UI componentsSwing toolkit in base-api model/ui and its DESIGN.md theme tokensthis site
Plugin migration (docs/development/PLUGINS.md)Existing n3 entrypoints, dependency investigation and migration wavesrepository
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 fixturerepository
Manager user guideStandalone manager app behavior: sessions, hiscores, characters, status modelthis site
Manager architecturemanager/ module layers, package responsibilities, data flow and invariantsthis site
Work sessions (docs/development/SESSIONS.md)Requests, changes/findings, validation and remaining gaps for every work sessionrepository
UI/UX coverage (docs/development/evidence/UI_UX_AUDIT_2026-11-06.md)Client, plugin/API and manager inventories, repairs, rendered evidence and live gapsrepository
Validation ledger (docs/development/VALIDATION.md)Commands, results, evidence limits and live acceptancerepository
Foundation acceptance (docs/development/evidence/FOUNDATION_ACCEPTANCE.md)Current local validation, artifact identities, Windows runtime receipts and limitsrepository
Skill investigations (docs/development/skill-investigations/README.md)Sequential canonical skill assessments, conversion requirements and workflow integrationrepository
Workflow inventory (docs/development/WORKFLOW_INVENTORY.md)Workspace, tooling, CI, release and GitHub reconciliationrepository
Canonical skill conversion (docs/development/skill-investigations/ACTIVATION.md)Repository skills, activation checks and local automation dispositionrepository
GitHub workflow (docs/development/GITHUB.md)Private repository, Project, issue synchronization, PRs, CI and toolchain boundariesrepository
Documentation indexUser-facing docs entry point with per-guide summaries and linksthis site
Publishing connection (docs/development/DOCSDEV.md)The docs.dev site publishing connection and agent publishing rulesrepository
Coverage matrix (docs/development/DOCS_COVERAGE.md)Documentation workflow disposition for all 132 source modules, with workstream assignmentsrepository
Documentation workflow (docs/development/ZCODE_DOCUMENTATION_WORKFLOW.md)The reusable Zcode prompt: preflight, authoring workstreams, review, reconciliation, handoffrepository
Documentation review (docs/development/evidence/documentation-review-2026-11-06.md)Independent reviewer findings for the 2026-11-06 documentation workflowrepository

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

  1. Select a backlog ID and inspect the owning source and consumers with CodeGraph where available.
  2. Record decisions before replacing behavior. Distinguish identity changes from implementation changes.
  3. Implement the complete dependency slice; preserve unrelated changes and the existing n3 checkout.
  4. Add proportionate behavioral validation and record exact commands, artifact identity and results.
  5. Mark a task complete only when its acceptance criteria have evidence. Link receipts rather than duplicating results.
  6. Update affected public guides and tracker links in the same change.
  7. 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

TaskOwning guideEntry symbols
Launch / bootstrap the clientArchitecture and lifecycledev.n3u.N3Client relaunches dev.n3u.client.Main with -safeLaunch (src/main/java/dev/n3u/N3Client.java:11-27)
Build, package, validateRepository README (README.md)generateClientPatches (build.gradle.kts:324); validation commands in the README
Inject or patch gamepack / RuneLite codeInjection DSL, ArchitectureInjector (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 pluginSDK Client ReferenceStatic.getClient() (base-api/src/main/java/dev/n3u/Static.java:40)
Interact with widgets / NPCsSDK Widgets Reference, SDK Game ReferenceWidgetAPI.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 stateSDK Queries ReferenceAbstractQuery (api/src/main/java/dev/n3u/queries/abstractions/AbstractQuery.java:14)
Send custom packetsSDK Packets ReferenceNPacketWriter.addNode (base-api/src/main/java/dev/n3u/api/NPacketWriter.java:10)
Walk the worldSDK Pathfinder ReferenceWalker; implementation key pathfinderImpl default HYBRID_BFS (base-api/src/main/java/dev/n3u/util/ClientConfig.java:45)
Script multi-step automationScript DSL (docs/SCRIPT-DSL.md)Script.build (api/src/main/java/dev/n3u/util/handler/script/)
Change click behaviorClick Manager (docs/CLICKMANAGER.md)ClickStrategy (base-api/src/main/java/dev/n3u/services/ClickStrategy.java), ClickManagerUtil
Build an external pluginExternal Plugin Developmentdev.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 typesT-to-N map (docs/development/T_TO_N_MAP.md)dev.n3u.api.N* interfaces, dev.n3u.mixins.N* mixins
Work on the managerManager architecture, Manager user guidedev.n3u.manager.ui.ManagerApp
Record validation resultsValidation 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/api is owned by upstream. .\gradlew.bat :base-api:syncRuneliteApi (base-api/build.gradle.kts:86) downloads selected sources from runelite/runelite raw at ref runelite-parent-1.13.6 (runeliteVersion, build.gradle.kts:12) and overwrites local files — review overwritten local sources afterward. Only files matching apiFilePatterns (base-api/build.gradle.kts:37) are synced: named root constant/ID files, all of annotations/, clan/ClanID.java, the widgets/ Component/Interface/Widget ID files, and all of gameval/. No owned per-class documentation for synced sources (coverage matrix, upstream disposition); licensing lives in THIRD_PARTY_NOTICES.md.
  • Generated resources (never hand-edit). copySubmoduleJar / copySubmoduleJar2 embed the :api and :plugins JARs as api.jarData / plugins.jarData under build/generated/embedded/dev/n3u (build.gradle.kts:77-99); preparePatchResources stages build/generated/bootstrap-resources (build.gradle.kts:317-322); generateClientPatches runs dev.n3u.client.Main -safeLaunch -runInjector headless with n3client.generatePatches=true and writes build/generated/patches (build.gradle.kts:324-335); processResources excludes the source-tree copies of patches.zip, the jarData files and the client icons so the generated outputs win (build.gradle.kts:337-344). Build behavior is documented, generated content is not (coverage matrix, generated disposition).
  • Owned sources and naming. Everything else is owned. Owned packages use dev.n3u with no extra segment. The 40 renamed native types, the direct com.tonic → dev.n3u mapping (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

TermMeaning
N interfacesThe 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 mixinsMixins 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 mixinsMixins for the RuneLite host: src/main/java/dev/n3u/rlmixins/ (18 files, counted 2026-11-06)
Injection DSLThe annotation/transformer set consumed by dev.n3u.injector; owning guide Injection DSL
PatchesBuild-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)
jarDataEmbedded module JARs api.jarData / plugins.jarData loaded at runtime; built by copySubmoduleJar / copySubmoduleJar2 (build.gradle.kts:77-99)
T-to-N migrationOwned 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 pluginsExternal plugin discovery at ~/.runelite/sideloaded-plugins (ClientPaths.java:16), shared with the existing RuneLite installation and never moved
StepHandler / Script DSLStep-based execution model; Script.build compiles the yield/await syntax onto it (Script DSL guide)
Static.invokeClient-thread dispatch that every packet-sending facade method wraps (Static.java:101,123; SDK Widgets Reference invariants)
ClickStrategyUser-selected synthetic click behavior STATIC / RANDOM / CONTROLLED / NONE (Click Manager guide)
Walker / HYBRID_BFSBlocking 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

DateChangeEvidence
2026-11-06Registered 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 indexrepository issue #86; python scripts/check_development_docs.py and git diff --check
2026-11-05Completed remaining owned N branding and established per-session documentation recordsSession record (docs/development/SESSIONS.md); VAL-013 in the validation ledger
2026-11-04Initial foundation changes compiledVAL-001
2026-11-04Established development tracking setDocumentation link and inventory checks; see validation ledger

On this page