docs: jsfeat parity/refactor audit plan + cross-agent instructions - #48
Merged
Conversation
- Add docs/jsfeat-parity-and-refactor-audit.md: function-level parity, API/behavioral divergences, clean-code pitfalls, recommended target architecture, webpack->Vite modernization, and haar/bbf porting plan - Add canonical AGENTS.md; CLAUDE.md imports it; .agents/instructions.md and .github/copilot-instructions.md point to it - Ignore .idea/ IDE files Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This was referenced Jul 5, 2026
Add a Git & contribution workflow section to the canonical AGENTS.md (and inline it in the Copilot instructions): open PRs against dev not main, and use Conventional Commits for messages. CLAUDE.md and .agents/instructions.md inherit this via the @AGENTS.md import/pointer. Co-Authored-By: Claude Opus 4.8 <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.
What & why
Adds a durable planning artifact comparing jsfeatNext against the original inspirit/jsfeat, plus cross-agent instruction files. No library code changes.
Produced via a structured
/brainstormingsession; tracked by #46.Added
docs/jsfeat-parity-and-refactor-audit.md— the plan, organized in 5 axes + appendices:haar/bbf)jsfeatNext.jsfeatNextdouble namespace, static-vs-instance methods, per-instance cache)jsfeatNext.tsmonolith)haar/bbfporting plan; Vitest characterization-test harness (Phase 0 gate)AGENTS.md— canonical, tool-agnostic agent guidance (build commands, architecture, the stub/monolith gotchas)CLAUDE.md— thin;@AGENTS.mdimport + Claude-specific notes.agents/instructions.md,.github/copilot-instructions.md— pointers toAGENTS.md.gitignore— ignore.idea/Reviewer notes
src/<module>/<module>.tsfiles (e.g.src/imgproc/imgproc.ts) are type-only stubs thatthrow "Method not implemented"; the real code lives inline insrc/jsfeatNext.ts. This is the lead refactoring target.🤖 Generated with Claude Code