@reicek/neataptic-ts 0.1.26 → 0.1.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/.github/agents/boundary-mapper.agent.md +13 -8
  2. package/.github/agents/docs-scout.agent.md +14 -9
  3. package/.github/agents/plan-scout.agent.md +11 -6
  4. package/.github/agents/solid-split.agent.md +33 -17
  5. package/.github/copilot-instructions.md +100 -88
  6. package/.github/skills/educational-docs/SKILL.md +90 -40
  7. package/.github/skills/educational-docs/assets/mermaid-diagram-playbook.md +141 -141
  8. package/.github/skills/educational-docs/assets/visual-style-guide.md +1 -1
  9. package/.github/skills/plan-alignment/SKILL.md +1 -1
  10. package/.github/skills/solid-split/SKILL.md +54 -35
  11. package/.github/skills/solid-split/assets/docs-checklist.md +1 -1
  12. package/.github/skills/solid-split/assets/split-plan-template.md +41 -12
  13. package/.github/skills/solid-split/assets/split-workflow-checklist.md +4 -1
  14. package/.github/skills/test-fix-workflow/SKILL.md +12 -7
  15. package/.github/skills/trace-analyzer-extension/SKILL.md +1 -1
  16. package/.github/skills/trace-analyzer-extension/assets/extension-checklist.md +1 -1
  17. package/.github/skills/trace-analyzer-extension/references/analyzer-extension-workflow.md +1 -1
  18. package/.github/skills/trace-audit-reporting/SKILL.md +1 -1
  19. package/.github/skills/trace-audit-reporting/assets/performance-report-template.md +1 -1
  20. package/.github/skills/trace-audit-reporting/references/trace-analysis-workflow.md +1 -1
  21. package/.github/skills/tracker-handoff/SKILL.md +53 -5
  22. package/package.json +1 -1
  23. package/plans/Flappy_Bird_Folder_Documentation_Pass.logs.md +42 -0
  24. package/plans/Flappy_Bird_Folder_Documentation_Pass.md +22 -104
  25. package/plans/README.md +6 -2
  26. package/plans/Roadmap.md +35 -31
  27. package/plans/analyze-trace-solid-split.logs.md +35 -0
  28. package/plans/analyze-trace-solid-split.plans.md +21 -52
  29. package/plans/architecture-solid-split.logs.md +44 -0
  30. package/plans/architecture-solid-split.plans.md +20 -653
  31. package/plans/asciiMaze-typescript-repair.logs.md +35 -0
  32. package/plans/asciiMaze-typescript-repair.plans.md +30 -36
  33. package/plans/generate-docs-solid-split.logs.md +36 -0
  34. package/plans/generate-docs-solid-split.plans.md +21 -73
  35. package/plans/methods-docs.logs.md +37 -0
  36. package/plans/methods-docs.plans.md +22 -183
  37. package/plans/methods-solid-split.logs.md +41 -0
  38. package/plans/methods-solid-split.plans.md +23 -65
  39. package/plans/neat-docs.logs.md +38 -0
  40. package/plans/neat-docs.plans.md +21 -63
  41. package/plans/neat-test-surface-repair.logs.md +38 -0
  42. package/plans/neat-test-surface-repair.plans.md +24 -24
  43. package/plans/readme-first-section-pass.logs.md +63 -0
  44. package/plans/readme-first-section-pass.plans.md +42 -0
  45. package/plans/render-docs-html-solid-split.logs.md +36 -0
  46. package/plans/render-docs-html-solid-split.plans.md +20 -54
  47. package/plans/src-no-explicit-any-cleanup.logs.md +39 -0
  48. package/plans/src-no-explicit-any-cleanup.plans.md +23 -161
  49. package/plans/utils-docs.logs.md +37 -0
  50. package/plans/utils-docs.plans.md +20 -35
  51. package/src/README.md +88 -22
  52. package/src/architecture/README.md +94 -17
  53. package/src/architecture/activationArrayPool/README.md +53 -0
  54. package/src/architecture/activationArrayPool/activationArrayPool.ts +53 -0
  55. package/src/architecture/layer/README.md +94 -5
  56. package/src/architecture/layer/layer.ts +94 -5
  57. package/src/architecture/network/README.md +85 -14
  58. package/src/architecture/network/activate/README.md +301 -213
  59. package/src/architecture/network/activate/docs.order.json +9 -0
  60. package/src/architecture/network/activate/network.activate.utils.ts +90 -0
  61. package/src/architecture/network/connect/README.md +80 -3
  62. package/src/architecture/network/connect/docs.order.json +9 -0
  63. package/src/architecture/network/connect/network.connect.utils.ts +79 -0
  64. package/src/architecture/network/deterministic/README.md +96 -12
  65. package/src/architecture/network/deterministic/docs.order.json +10 -0
  66. package/src/architecture/network/deterministic/network.deterministic.utils.ts +90 -0
  67. package/src/architecture/network/evolve/README.md +286 -228
  68. package/src/architecture/network/evolve/docs.order.json +11 -0
  69. package/src/architecture/network/evolve/network.evolve.utils.ts +59 -0
  70. package/src/architecture/network/gating/README.md +58 -16
  71. package/src/architecture/network/gating/docs.order.json +9 -0
  72. package/src/architecture/network/gating/network.gating.utils.ts +43 -0
  73. package/src/architecture/network/genetic/README.md +75 -36
  74. package/src/architecture/network/genetic/docs.order.json +10 -0
  75. package/src/architecture/network/genetic/network.genetic.utils.ts +53 -17
  76. package/src/architecture/network/network.ts +91 -46
  77. package/src/architecture/network/standalone/README.md +309 -285
  78. package/src/architecture/network/standalone/docs.order.json +13 -0
  79. package/src/architecture/network/standalone/network.standalone.utils.ts +51 -28
  80. package/src/architecture/network.ts +94 -17
  81. package/src/architecture/nodePool/README.md +53 -0
  82. package/src/architecture/nodePool/nodePool.ts +53 -0
  83. package/src/methods/README.md +80 -34
  84. package/src/methods/methods.ts +80 -34
  85. package/src/methods/mutation/README.md +39 -93
  86. package/src/methods/mutation/mutation.ts +58 -0
  87. package/src/multithreading/README.md +114 -14
  88. package/src/multithreading/docs.order.json +5 -0
  89. package/src/multithreading/multi.ts +103 -7
  90. package/src/multithreading/types.ts +6 -1
  91. package/src/multithreading/workers/README.md +72 -2
  92. package/src/multithreading/workers/browser/README.md +39 -0
  93. package/src/multithreading/workers/browser/testworker.ts +40 -0
  94. package/src/multithreading/workers/node/README.md +50 -11
  95. package/src/multithreading/workers/node/docs.order.json +4 -0
  96. package/src/multithreading/workers/node/testworker.ts +43 -3
  97. package/src/multithreading/workers/workers.ts +36 -1
  98. package/src/neat/README.md +230 -152
  99. package/src/neat/adaptive/core/README.md +99 -42
  100. package/src/neat/adaptive/core/adaptive.core.ts +71 -14
  101. package/src/neat/adaptive/core/docs.order.json +8 -0
  102. package/src/neat/docs.order.json +9 -0
  103. package/src/neat/lineage/README.md +118 -16
  104. package/src/neat/lineage/lineage.ts +115 -13
  105. package/src/neat/neat.defaults.constants.ts +91 -13
  106. package/src/neat.ts +86 -20
  107. package/src/utils/README.md +71 -21
  108. package/src/utils/memory.ts +69 -19
  109. package/test/examples/asciiMaze/browser-entry/README.md +81 -8
  110. package/test/examples/asciiMaze/browser-entry/browser-entry.ts +81 -8
  111. package/test/examples/asciiMaze/dashboardManager/README.md +68 -4
  112. package/test/examples/asciiMaze/dashboardManager/dashboardManager.ts +68 -4
  113. package/test/examples/asciiMaze/evolutionEngine/README.md +1259 -1174
  114. package/test/examples/asciiMaze/evolutionEngine/docs.order.json +10 -0
  115. package/test/examples/asciiMaze/evolutionEngine/evolutionEngine.types.ts +87 -0
  116. package/test/examples/asciiMaze/mazeMovement/README.md +81 -4
  117. package/test/examples/asciiMaze/mazeMovement/mazeMovement.ts +81 -4
  118. package/test/examples/flappy_bird/browser-entry/README.md +64 -21
  119. package/test/examples/flappy_bird/browser-entry/browser-entry.ts +64 -21
  120. package/test/examples/flappy_bird/flappy-evolution-worker/README.md +98 -10
  121. package/test/examples/flappy_bird/flappy-evolution-worker/flappy-evolution-worker.ts +98 -10
  122. package/test/examples/flappy_bird/simulation-shared/README.md +88 -4
  123. package/test/examples/flappy_bird/simulation-shared/simulation-shared.types.ts +88 -4
@@ -0,0 +1,38 @@
1
+ # NEAT Root Docs Plan Log
2
+
3
+ **Status:** [DONE]
4
+
5
+ ## Audit scope
6
+
7
+ - Objective: improve the generated NEAT root and root-facing chapter openings so
8
+ the public surface teaches orchestration and concepts before raw symbols.
9
+
10
+ ## Durable milestones
11
+
12
+ ### [DONE] Root NEAT controller framing
13
+
14
+ - Strengthened the root NEAT controller documentation so the generated root
15
+ surface explains what the NEAT orchestration layer does and how readers
16
+ should navigate the surrounding chapter set.
17
+
18
+ ### [DONE] Root-facing chapter upgrades
19
+
20
+ - Upgraded the RNG and lineage openings and related root-facing chapters so
21
+ they read as conceptual introductions rather than thin compatibility shelves.
22
+
23
+ ### [DONE] Types/defaults and lineage follow-through
24
+
25
+ - Split or redirected the root-facing types/defaults surfaces where needed and
26
+ expanded lineage with stronger diagrams, examples, and references.
27
+
28
+ ## Controls and evidence
29
+
30
+ - Documentation-affecting work was validated with `npm run docs` and
31
+ `npx tsc --noEmit -p tsconfig.json`.
32
+ - The final result is a stable reopen baseline for future NEAT docs drift.
33
+
34
+ ## Reopen triggers
35
+
36
+ - Root-facing NEAT chapters regress after future API or structure work.
37
+ - Generator ordering produces weak opening ownership again.
38
+ - Another public NEAT surface needs chapter-map treatment.
@@ -1,76 +1,34 @@
1
1
  # NEAT Root Docs Plan
2
2
 
3
- **Status:** [WIP]
3
+ **Status:** [DONE]
4
4
 
5
5
  ## Scope
6
6
 
7
- This plan tracks the educational-docs pass for the root NEAT public surface.
8
- The source of truth is the generated documentation fed by [src/neat.ts](../src/neat.ts),
9
- which renders into [src/README.md](../src/README.md) after `npm run docs`.
7
+ - Educational-docs pass for root-facing NEAT surfaces and closely related
8
+ generated chapters.
9
+ - Strengthen chapter openings without changing NEAT runtime behavior.
10
10
 
11
- Primary reader:
11
+ ## Final state
12
12
 
13
- - first-time NeatapticTS readers who want to understand how the top-level NEAT controller works before diving into chaptered internals.
13
+ - The NEAT root documentation surfaces now present a clearer controller and
14
+ chapter-map story instead of a compatibility-first opening.
15
+ - Root-facing chapters such as RNG and lineage now open with stronger
16
+ educational framing, diagrams, and examples where they mattered.
17
+ - No active backlog remains; this plan is now a reopen point for future
18
+ root-facing NEAT documentation drift.
14
19
 
15
- Primary surfaces:
20
+ ## Audit summary
16
21
 
17
- - [src/neat.ts](../src/neat.ts)
18
- - [src/README.md](../src/README.md)
22
+ - Documentation updates were validated with `npm run docs` and
23
+ `npx tsc --noEmit -p tsconfig.json`.
24
+ - The final state is stable enough to stop being a documentation blocker.
19
25
 
20
- Out of scope for this pass:
26
+ ## Reopen conditions
21
27
 
22
- - hand-editing generated READMEs under `src/`
23
- - adding external images or citations unless a concrete teaching gap requires them
24
- - broad rewrites of every `src/neat/**` chapter README
28
+ - Root-facing NEAT chapters drift below the current educational-docs bar.
29
+ - Generated opening ownership regresses after later structural work.
30
+ - A major NEAT public-surface change needs renewed root chapter framing.
25
31
 
26
- ## Assumptions
32
+ ## Audit log
27
33
 
28
- - The generated root NEAT story is expected to live in [src/README.md](../src/README.md), not in [src/neat/README.md](../src/neat/README.md).
29
- - The highest-leverage fix is richer JSDoc in [src/neat.ts](../src/neat.ts), especially module-level and class-level introductions.
30
- - External sources and Wikipedia media are optional, not mandatory. If none are needed, the safest compliant outcome is to use no external media and no external citations.
31
-
32
- ## Session Log
33
-
34
- ### Foundation
35
-
36
- - Strengthened [src/neat.ts](../src/neat.ts) so the generated root story in [src/README.md](../src/README.md) reads as a clearer controller overview.
37
-
38
- ### Generator follow-up
39
-
40
- - The docs generator work is complete enough for now: [scripts/generate-docs/generate-docs.ts](../scripts/generate-docs/generate-docs.ts) supports per-folder ordering controls through `docs.order.json`, and the shared-speciation pilot is already live in [src/neat/speciation/shared/docs.order.json](../src/neat/speciation/shared/docs.order.json).
41
-
42
- ### Latest completed chapter work
43
-
44
- - Recent source-first passes strengthened [src/neat/shared/neat.shared.types.ts](../src/neat/shared/neat.shared.types.ts), [src/neat/neat.constants.ts](../src/neat/neat.constants.ts), [src/neat/cache/cache.ts](../src/neat/cache/cache.ts), [src/neat/compat/compat.ts](../src/neat/compat/compat.ts), [src/neat/harness/neat.harness.types.ts](../src/neat/harness/neat.harness.types.ts), [src/neat/init/neat.init.ts](../src/neat/init/neat.init.ts), [src/neat/helpers/neat.helpers.ts](../src/neat/helpers/neat.helpers.ts), and [src/neat/rng/rng.ts](../src/neat/rng/rng.ts); the RNG root now distinguishes caller-owned randomness from controller-owned replay state more explicitly, and the root [src/README.md](../src/README.md) plus [src/neat.ts](../src/neat.ts) story still holds up against the current pedagogical standard. Docs regeneration and TypeScript validation should be kept on every new pass.
45
- - A bounded root-surface polish split then moved the root compatibility alias shelf into [src/neat/neat.types.ts](../src/neat/neat.types.ts), moved the public defaults shelf into [src/neat/neat.defaults.constants.ts](../src/neat/neat.defaults.constants.ts), and centralized the empty diversity fallback in [src/neat/diversity/diversity.ts](../src/neat/diversity/diversity.ts); [src/README.md](../src/README.md) still presents the stable public root story while [src/neat/README.md](../src/neat/README.md) now carries the deeper root-types and root-defaults chapter docs.
46
-
47
- Remaining gaps:
48
-
49
- - Most remaining weaknesses are now small chapter-quality revisits, not untouched surfaces.
50
- - Generator limits still show up in some larger or re-export-heavy chapters, so only use `docs.order.json` when ordering is the real blocker.
51
- - Keep prioritizing compact runtime, facade, or policy boundaries that still read more like shelves than chapters.
52
-
53
- Next step:
54
-
55
- - Re-read [src/neat/lineage/README.md](../src/neat/lineage/README.md) and [src/neat/lineage/lineage.ts](../src/neat/lineage/lineage.ts) to decide whether the lineage root is now the next weakest compact controller-facing boundary after the RNG pass.
56
-
57
- ## Handoff Prompt
58
-
59
- ```text
60
- Continue the educational-docs pass for the next adjacent NEAT chapter using plans/neat-docs.plans.md as the source of truth.
61
-
62
- Current state:
63
- - The generator pause is complete enough; use [plans/pedagogical-docs.plans.md](../plans/pedagogical-docs.plans.md) only if a new generator gap appears.
64
- - Recent local passes already strengthened the shared-contracts, root-constants, cache-root, compatibility-root, harness-root, init-root, helpers-root, and RNG-root chapters, and the root [src/README.md](../src/README.md) story still holds up against the newer pedagogical standard.
65
-
66
- What to verify next:
67
- - Re-read [src/neat/lineage/README.md](../src/neat/lineage/README.md) and [src/neat/lineage/lineage.ts](../src/neat/lineage/lineage.ts).
68
- - If the lineage root still feels flatter than nearby compatibility and telemetry-facing chapters, improve the source JSDoc in [src/neat/lineage/lineage.ts](../src/neat/lineage/lineage.ts) and add a chart only if it materially clarifies ancestry evidence versus structural-distance evidence faster than the current prose alone.
69
- - Otherwise move to the next smallest bridge, facade, or policy boundary that still reads like an API shelf, but keep the selection root-first instead of jumping straight into a subfolder.
70
- - Keep using `docs.order.json` only where compiled order is the real obstacle.
71
-
72
- If more work is needed:
73
- - Make source-first JSDoc improvements in the next weakest NEAT chapter, then run `npm run docs` and `npx tsc --noEmit -p tsconfig.json`.
74
- - Do not hand-edit generated `src/**/README.md` files.
75
- - Update [plans/neat-docs.plans.md](../plans/neat-docs.plans.md) with only the latest minimal pass summary.
76
- ```
34
+ - Durable completion notes now live in [neat-docs.logs.md](neat-docs.logs.md).
@@ -0,0 +1,38 @@
1
+ # NEAT Test Surface Repair Log
2
+
3
+ **Status:** [DONE]
4
+
5
+ ## Audit scope
6
+
7
+ - Objective: restore the NEAT public TypeScript and import surface expected by
8
+ the test suite without widening the repair into unrelated example failures.
9
+
10
+ ## Durable milestones
11
+
12
+ ### [DONE] Failure classification
13
+
14
+ - Grouped the failing diagnostics into public-surface regressions rather than
15
+ runtime-assertion failures so the repair could stay compatibility-first.
16
+
17
+ ### [DONE] Public-surface restoration
18
+
19
+ - Widened the public `NeatOptions` shape to match implementation-supported
20
+ fields used by tests.
21
+ - Reintroduced the thin root compatibility facades needed by legacy imports.
22
+
23
+ ### [DONE] Validation closure
24
+
25
+ - Cleared the NEAT-specific TypeScript failures in `tsconfig.test.json` and
26
+ confirmed the full Jest suite still passes.
27
+ - Isolated the remaining diagnostics to the `asciiMaze` example lane instead of
28
+ leaving ambiguity at closeout.
29
+
30
+ ## Controls and evidence
31
+
32
+ - Validation used `npx tsc --noEmit -p tsconfig.test.json`,
33
+ `npx jest test/neat --runInBand`, and `npm test`.
34
+
35
+ ## Reopen triggers
36
+
37
+ - NEAT public imports or option contracts regress again.
38
+ - New test-facing compatibility errors appear in the NEAT lane.
@@ -4,35 +4,35 @@
4
4
 
5
5
  ## Scope
6
6
 
7
- Repair the NEAT public TypeScript compatibility surface so the current runtime
8
- features and root helper facades compile against the existing test suite.
7
+ - Repair the public NEAT compatibility surface so the test suite reflects the
8
+ implementation-supported option and import contracts.
9
+ - Keep the fixes compatibility-first and isolated from unrelated example-lane
10
+ failures.
9
11
 
10
- ## Current state
12
+ ## Final state
11
13
 
12
- - [DONE] Grouped the failures into public-surface regressions instead of runtime assertion failures.
13
- - [DONE] Confirmed the runtime still reads option fields such as `telemetry.enabled`, `multiObjective.dominanceEpsilon`, `multiObjective.adaptiveEpsilon`, `novelty.descriptor`, `novelty.archiveAddThreshold`, `adaptiveMutation.initialRate`, and `lineagePressure.strength`.
14
- - [DONE] Confirmed legacy root imports `src/neat/neat.diversity` and `src/neat/neat.lineage` no longer exist even though the folderized modules still do.
15
- - [DONE] Restored the public type/facade boundary with compatibility-first edits and validated the NEAT test slice.
16
- - [DONE] Re-ran `npx tsc --noEmit -p tsconfig.test.json` from the current repo state and confirmed the remaining diagnostics are only in `test/examples/asciiMaze/**`.
17
- - [DONE] Re-ran `npm test` from the current repo state and confirmed the full Jest suite passes.
14
+ - The NEAT public surface once again matches the implementation-supported test
15
+ expectations for options and root compatibility imports.
16
+ - NEAT-specific TypeScript regressions were cleared without reopening unrelated
17
+ example diagnostics.
18
+ - No active backlog remains; this file is now a reopen point for future NEAT
19
+ public-surface compatibility regressions.
18
20
 
19
- ## Coverage backlog
21
+ ## Audit summary
20
22
 
21
- - [DONE] Widened `src/neat/shared/neat.shared.types.ts` so the public `NeatOptions` surface matches the live implementation-supported fields used by tests.
22
- - [DONE] Reintroduced thin root compatibility facades for diversity and lineage.
23
- - [DONE] Cleared the NEAT-specific TypeScript errors in `npx tsc --noEmit -p tsconfig.test.json` output.
24
- - [DONE] Ran `npx jest test/neat --runInBand` successfully.
25
- - [DONE] Noted that the repository-wide test TypeScript build still reports unrelated `test/examples/asciiMaze/**` branch errors outside this repair.
26
- - [DONE] Ran `npm test` successfully across the full repository.
23
+ - Validation used `npx tsc --noEmit -p tsconfig.test.json`, targeted NEAT test
24
+ execution, and `npm test` from the current repo state.
25
+ - Remaining test TypeScript issues at closeout were intentionally isolated to
26
+ the `asciiMaze` example lane and later handled separately.
27
27
 
28
- ## Immediate next steps
28
+ ## Reopen conditions
29
29
 
30
- 1. No active NEAT-surface work remains in this tracker.
31
- 2. If needed, handle the unrelated `asciiMaze` branch diagnostics in a separate repair pass.
30
+ - Future NEAT public-surface changes break test-facing option or import
31
+ compatibility.
32
+ - `tsconfig.test.json` reintroduces NEAT-specific diagnostics.
33
+ - Root compatibility facades need another repair pass.
32
34
 
33
- ## Handoff query
35
+ ## Audit log
34
36
 
35
- ```text
36
- Continue from the current repo state only. Do not rely on prior chat history.
37
- The NEAT public-surface repair tracked in plans/neat-test-surface-repair.plans.md is complete. Do not make further NEAT-surface changes unless new evidence appears. If follow-up work is needed, start a separate pass for the remaining TypeScript diagnostics under test/examples/asciiMaze/**. Preserve unrelated user changes.
38
- ```
37
+ - Durable completion notes now live in
38
+ [neat-test-surface-repair.logs.md](neat-test-surface-repair.logs.md).
@@ -0,0 +1,63 @@
1
+ # README First Section Pass Log
2
+
3
+ **Status:** [DONE]
4
+
5
+ ## Audit scope
6
+
7
+ - Objective: improve the first section under the top `#` heading for every
8
+ README surface under `src/` and `test/examples/`.
9
+ - Inventory closed: 181 README surfaces reviewed, including 144 under `src/`
10
+ and 37 under `test/examples/`.
11
+ - Operating rules: generated `src/**/README.md` files were not hand-edited;
12
+ improvements were applied through source owners and targeted
13
+ `docs.order.json` controls only.
14
+
15
+ ## Durable milestones
16
+
17
+ ### [DONE] Root and chapter-map remediation
18
+
19
+ - Strengthened the intro-owner surfaces for the top-level README chapter maps,
20
+ including the `src/` roots, multithreading root, architecture root, and the
21
+ flagship example system roots.
22
+ - Added `docs.order.json` controls only where generated chapters needed a
23
+ different intro owner to produce a stronger first section.
24
+ - Validation after source edits: `npm run docs` and
25
+ `npx tsc --noEmit -p tsconfig.json`.
26
+
27
+ ### [DONE] Architecture, methods, multithreading, and NEAT closure
28
+
29
+ - Closed the architecture subtree with targeted intro-owner improvements in the
30
+ pool, layer, and selected `network/**` chapters; other chapters were audited
31
+ and held unchanged when already at the required bar.
32
+ - Closed the methods and multithreading subtree with targeted improvements in
33
+ `mutation` and worker chapters, including the Node worker intro-owner
34
+ correction.
35
+ - Closed the NEAT subtree across root-facing and deep implementation chapters;
36
+ only the needed intro-owner files were strengthened, while the remaining
37
+ mutation, speciation, species, telemetry, and related leaves were audited and
38
+ held unchanged.
39
+
40
+ ### [DONE] Example leaf closure
41
+
42
+ - Closed the remaining `asciiMaze` and `flappy_bird` leaf chapters after
43
+ re-reading the deeper dashboard, maze-movement, browser-entry, playback,
44
+ rollout, observation, and trainer-evaluation surfaces.
45
+ - Final example-leaf closure required no additional intro-owner edits,
46
+ ordering controls, or split escalation.
47
+
48
+ ## Controls and evidence
49
+
50
+ - Generated README surfaces under `src/` remained read-only throughout the
51
+ workstream.
52
+ - Every source-affecting documentation pass recorded validation with
53
+ `npm run docs` and `npx tsc --noEmit -p tsconfig.json`.
54
+ - The final tracker closeout was markdown-only, so no docs regeneration or
55
+ typecheck rerun was required at archive time.
56
+
57
+ ## Reopen triggers
58
+
59
+ - A new README surface is added under `src/` or `test/examples/`.
60
+ - A changed boundary causes the generated first section to fall below the
61
+ current documentation bar.
62
+ - A chapter proves structurally too large for docs-only repair and needs
63
+ `solid-split` escalation.
@@ -0,0 +1,42 @@
1
+ # README First Section Pass
2
+
3
+ **Status:** [DONE]
4
+
5
+ ## Scope
6
+
7
+ - Repo-wide educational-docs pass over the first section under the top `#`
8
+ heading for every README surface under `src/` and `test/examples/`.
9
+ - Source-first only: generated `src/**/README.md` files stayed read-only and
10
+ intro improvements were made in source owners or `docs.order.json` controls.
11
+
12
+ ## Final state
13
+
14
+ - Coverage is closed for the tracked inventory: 181 README surfaces reviewed,
15
+ including 144 under `src/` and 37 under `test/examples/`.
16
+ - Root chapter maps, selected architecture and worker chapters, adaptive core,
17
+ and flagship example system chapters were strengthened where the generated
18
+ opening needed a better intro owner or clearer first-section framing.
19
+ - Remaining deeper NEAT and example leaf chapters were re-read and held
20
+ unchanged when they already met the current documentation bar.
21
+ - No active backlog remains for this workstream.
22
+
23
+ ## Audit summary
24
+
25
+ - Source-affecting passes regenerated docs with `npm run docs`.
26
+ - Source-affecting passes validated types with
27
+ `npx tsc --noEmit -p tsconfig.json`.
28
+ - Final closure was audit-only; no source edits or validation rerun were
29
+ required for the closing tracker update.
30
+
31
+ ## Reopen conditions
32
+
33
+ - A new README surface is added under `src/` or `test/examples/`.
34
+ - A changed boundary regresses the first section below the current
35
+ educational-docs bar.
36
+ - A chapter still needs `solid-split` escalation after normal source-first
37
+ improvement.
38
+
39
+ ## Audit log
40
+
41
+ - Durable completion notes now live in
42
+ [readme-first-section-pass.logs.md](readme-first-section-pass.logs.md).
@@ -0,0 +1,36 @@
1
+ # Render Docs HTML SOLID Split Log
2
+
3
+ **Status:** [DONE]
4
+
5
+ ## Audit scope
6
+
7
+ - Objective: move the HTML docs renderer into a folder-owned boundary while
8
+ keeping the docs site stable and improving renderer-specific UX details.
9
+
10
+ ## Durable milestones
11
+
12
+ ### [DONE] Consolidated renderer split
13
+
14
+ - Established stable ownership chapters for assets, Mermaid, navigation,
15
+ pages, shared logic, and types.
16
+ - Kept the root renderer entrypoint stable during the refactor.
17
+
18
+ ### [DONE] Direct-path and cleanup follow-through
19
+
20
+ - Removed the old flat sidebar ownership after direct-path migration.
21
+ - Simplified the renderer boundary so future work does not reopen the flat-file
22
+ shape.
23
+
24
+ ### [DONE] UX and correctness fixes
25
+
26
+ - Fixed content-link rewriting and clarified sidebar labels and behavior as
27
+ part of the split follow-through.
28
+
29
+ ## Controls and evidence
30
+
31
+ - Validation used clean file diagnostics and `npm run docs`.
32
+
33
+ ## Reopen triggers
34
+
35
+ - Docs renderer behavior regresses in links, sidebar behavior, or Mermaid flow.
36
+ - Another renderer subarea needs its own structural split.
@@ -4,65 +4,31 @@
4
4
 
5
5
  ## Scope
6
6
 
7
- - Consolidate the HTML docs renderer into a folder-owned boundary rooted at `scripts/render-docs-html/`.
8
- - Keep `scripts/render-docs-html.ts` as the stable orchestration entrypoint.
9
- - Remove the flat `scripts/render-docs-html.sidebar.ts` file once the new direct-path chapter imports are in place.
10
- - Improve link correctness, sidebar clarity, and docs UX where those issues are exposed by the split.
7
+ - Consolidate the HTML docs renderer into a stable folder-owned boundary.
8
+ - Improve link correctness and sidebar behavior while keeping docs rendering
9
+ behavior stable.
11
10
 
12
- ## Current state
11
+ ## Final state
13
12
 
14
- - Split root: `scripts/render-docs-html/` with `scripts/render-docs-html.ts` as the stable orchestration entrypoint
15
- - README inventory for `scripts/`: none under `scripts/**/README.md`
16
- - Relevant plan: [plans/Interactive_Examples_and_Learning_Path.md](../plans/Interactive_Examples_and_Learning_Path.md)
17
- - Relevant repo memory: `/memories/repo/scripts_docs_sidebar_boundary.md`
18
- - Stable entrypoint: `scripts/render-docs-html.ts`
19
- - Landed chapter files:
20
- - `render-docs-html.assets.ts`
21
- - `render-docs-html.mermaid.ts`
22
- - `render-docs-html.navigation.ts`
23
- - `render-docs-html.pages.ts`
24
- - `render-docs-html.shared.ts`
25
- - `render-docs-html.types.ts`
26
- - Closed issues in this step:
27
- - nested docs content links now resolve through compiled docs targets or repository URLs instead of remaining raw repo-relative hrefs,
28
- - deep sidebar labels now use clearer formatted names instead of collapsing to ambiguous leaf-only segments,
29
- - examples-first showcase now collapses to a lighter compact mode away from onboarding/example surfaces.
13
+ - The HTML renderer now uses stable chapter ownership for assets, Mermaid,
14
+ navigation, pages, shared logic, and types.
15
+ - Link rewriting and sidebar behavior were corrected as part of the split
16
+ follow-through.
17
+ - No active backlog remains; this file is now a reopen point for future docs
18
+ renderer work.
30
19
 
31
- ## Coverage backlog
20
+ ## Audit summary
32
21
 
33
- ### [DONE] Consolidated renderer folder split
22
+ - Validation used file diagnostics and `npm run docs`.
23
+ - The renderer root entrypoint remained stable through the split.
34
24
 
35
- - Created `scripts/render-docs-html/` with focused chapters for shared helpers, navigation, Mermaid handling, page rendering, static assets, and shared contracts.
36
- - Kept `scripts/render-docs-html.ts` orchestration-first and moved the heavy logic behind direct chapter imports.
37
- - Deleted `scripts/render-docs-html.sidebar.ts` after the direct-path migration landed.
38
- - Folded link-rewrite fixes and targeted sidebar UX improvements into the same step.
25
+ ## Reopen conditions
39
26
 
40
- ### [DONE] Educational docs follow-up
27
+ - Future renderer work makes the current folder structure insufficient.
28
+ - Docs-site link rewriting or sidebar behavior regresses.
29
+ - Mermaid or navigation ownership needs another split.
41
30
 
42
- - Completed the required `educational-docs` follow-up on the touched renderer boundary.
43
- - Strengthened chapter-level documentation and shared type descriptions so the renderer reads as an intentional docs-tooling subsystem rather than a loose helper shelf.
31
+ ## Audit log
44
32
 
45
- ## Validation
46
-
47
- - File diagnostics: clean for `scripts/render-docs-html.ts` and all files under `scripts/render-docs-html/`.
48
- - `npm run docs`: passed.
49
-
50
- ## Immediate next steps
51
-
52
- - No further split work is queued for this boundary right now.
53
- - Future work should start from `scripts/render-docs-html/` and preserve `scripts/render-docs-html.ts` as the stable entrypoint.
54
-
55
- ## Handoff query
56
-
57
- ```text
58
- Continue from the current repo state only. Do not rely on prior chat history.
59
-
60
- Use solid-split for #file:render-docs-html.ts and #file:render-docs-html.sidebar.ts.
61
- Plan: plans/render-docs-html-solid-split.plans.md.
62
- Current boundary: scripts/render-docs-html.
63
- Completed context: scripts has no local README surface, the stable entrypoint remains scripts/render-docs-html.ts, the old flat sidebar file is deleted, and the folder boundary now owns assets, Mermaid handling, navigation, shared helpers, page rendering, and shared contracts.
64
- If this boundary reopens: continue from the folderized renderer, preserving the improved content-link rewriting and the lighter examples/sidebar behavior instead of recreating flat helper files.
65
- Repo standard: direct-path migration with no compatibility shims by default, and the small-chapter README pattern applies to scripts/tooling boundaries too.
66
- Required validations: file diagnostics for touched files, then npm run docs.
67
- Worktree caution: npm run docs rewrites generated docs outputs and there may already be unrelated generated-file drift in the worktree.
68
- ```
33
+ - Durable completion notes now live in
34
+ [render-docs-html-solid-split.logs.md](render-docs-html-solid-split.logs.md).
@@ -0,0 +1,39 @@
1
+ # Source No-Explicit-Any Cleanup Log
2
+
3
+ **Status:** [DONE]
4
+
5
+ ## Audit scope
6
+
7
+ - Objective: eliminate the explicit-`any` debt in `src/` and close the related
8
+ typed-hygiene follow-through left by prior refactors.
9
+
10
+ ## Durable milestones
11
+
12
+ ### [DONE] Root baseline closure
13
+
14
+ - Closed the root explicit-`any` baseline at zero and removed the remaining
15
+ explicit-form variants such as `as any` and `Promise<any>` from the tracked
16
+ lane.
17
+
18
+ ### [DONE] Hotspot cleanup passes
19
+
20
+ - Cleaned the root `neat.ts` surface and the key evolve, adaptive,
21
+ multiobjective, and multithreading hotspots with behavior-preserving type
22
+ strengthening.
23
+
24
+ ### [DONE] Prose and lint-hygiene follow-through
25
+
26
+ - Completed the prose-only `any` sweep and the later lint-hygiene cleanup such
27
+ as unused imports and empty-to-type alias follow-through.
28
+ - Closed the lane on a repository-local `src` lint baseline rather than leaving
29
+ scattered reopen notes.
30
+
31
+ ## Controls and evidence
32
+
33
+ - Validation used targeted ESLint checks, `npx tsc --noEmit -p tsconfig.json`,
34
+ and a final green `npx eslint src` pass.
35
+
36
+ ## Reopen triggers
37
+
38
+ - Explicit-`any` debt returns in `src/` after future refactors.
39
+ - Typing or lint baselines regress in the previously cleaned hotspots.