docs(agents): add any-avoidance rule and refresh roadmap/instructions#88
Merged
Conversation
- AGENTS.md: strengthen the conventions rule to explicitly forbid new 'any' (explicit or 'as any') in src/, directing to real types or shared aliases/interfaces (TypedArray union, MotionKernel interface, _pool_node_t); note existing 'any's are tracked in #85. Add #85 (any), #86 (benchmark suite) and #87 (stronger tests) to the 'Toward 1.0' roadmap. - .github/copilot-instructions.md: mirror the stronger any-avoidance rule. - .agents/instructions.md: refresh the stale gotchas description (it still referenced the pre-#47 inline monolith, type-only stubs, per-instance cache and the pre-#41 double namespace -- all resolved); point to the singleton calling convention and docs/migration-0.9.md. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follows up the recent housekeeping issues (#85, #86, #87).
Changes
AGENTS.mdanyguidance into an explicit rule — no newany(explicit oras any) insrc/; use the real type, or a shared alias/interface when a shape recurs (TypedArrayunion,MotionKernelinterface,_pool_node_t). Notes existinganys are tracked in Replace remaininganyusages with shared types/interfaces (TypedArray, MotionKernel, …) #85.anyusages with shared types/interfaces (TypedArray, MotionKernel, …) #85 (replaceany), Add a performance-benchmarking suite (per module/submodule) with result storage & regression comparison #86 (benchmark suite), Strengthen tests beyond parity: property/invariant tests, edge cases, third-party ground truth #87 (tests beyond parity)..github/copilot-instructions.md— mirrors the strongeranyrule..agents/instructions.md— refreshed the stale description: it still referenced the pre-Refactor: de-duplicate type-only stubs and the jsfeatNext.ts monolith (Axis 3/4) #47 inline monolith, type-only stubs, per-instance cache and the pre-API/behavioral parity: static-vs-instance, double namespace, per-instance cache (Axis 2) #41 double namespace (all resolved). Now points to the singleton calling convention anddocs/migration-0.9.md.CLAUDE.mdneeds no change — it@-importsAGENTS.md, so the rule propagates.Docs-only; no code touched.
🤖 Generated with Claude Code