feat(ultraplan-local): v1.6.0 — /ultraresearch-local deep research command
Add /ultraresearch-local for structured research combining local codebase analysis with external knowledge via parallel agent swarms. Produces research briefs with triangulation, confidence ratings, and source quality assessment. New command: /ultraresearch-local with modes --quick, --local, --external, --fg. New agents: research-orchestrator (opus), docs-researcher, community-researcher, security-researcher, contrarian-researcher, gemini-bridge (all sonnet). New template: research-brief-template.md. Integration: --research flag in /ultraplan-local accepts pre-built research briefs (up to 3), enriches the interview and exploration phases. Planning orchestrator cross-references brief findings during synthesis. Design principle: Context Engineering — right information to right agent at right time. Research briefs are structured artifacts in the pipeline: ultraresearch → brief → ultraplan --research → plan → ultraexecute. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
commit
caee558e79
152 changed files with 17734 additions and 0 deletions
60
tests/fixtures/broken-project/.claude/rules/big-unscoped.md
vendored
Normal file
60
tests/fixtures/broken-project/.claude/rules/big-unscoped.md
vendored
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
Coding Standards and Best Practices
|
||||
|
||||
All code must be reviewed before merging to the main branch.
|
||||
Every function must have a clear, single responsibility.
|
||||
Variable names must be descriptive and follow camelCase convention.
|
||||
Constants must be named in UPPER_SNAKE_CASE.
|
||||
Avoid magic numbers; use named constants instead.
|
||||
Keep line length under 120 characters.
|
||||
Use four spaces for indentation, never tabs.
|
||||
Files must end with a newline character.
|
||||
Remove trailing whitespace from all lines.
|
||||
Do not commit commented-out code.
|
||||
Delete dead code instead of leaving it in place.
|
||||
Write self-documenting code; comments explain why, not what.
|
||||
All TODO comments must reference a ticket number.
|
||||
Do not use abbreviations that are not widely understood.
|
||||
Use positive variable names; prefer isActive over isNotInactive.
|
||||
Avoid double negatives in conditional expressions.
|
||||
Keep nesting levels to a maximum of three.
|
||||
Extract complex conditions into named boolean variables.
|
||||
Use early returns to reduce nesting.
|
||||
Avoid else after return.
|
||||
Keep functions under 40 lines of code.
|
||||
Keep files under 300 lines of code.
|
||||
Split large files into smaller, focused modules.
|
||||
Use named exports, not default exports.
|
||||
Group imports: standard library, external, internal.
|
||||
Sort import groups alphabetically.
|
||||
Do not use wildcard imports.
|
||||
Remove unused imports before committing.
|
||||
Use absolute imports for cross-module dependencies.
|
||||
Use relative imports only within the same module.
|
||||
Avoid circular dependencies between modules.
|
||||
Use barrel files only at module boundaries.
|
||||
Do not re-export from multiple barrel files.
|
||||
Prefer named interfaces over inline type definitions.
|
||||
Use generic types to avoid duplication.
|
||||
Avoid type assertions unless absolutely necessary.
|
||||
Do not use ts-ignore comments without explanation.
|
||||
Enable strict mode in tsconfig.
|
||||
Use unknown instead of any for unsafe types.
|
||||
Prefer type narrowing over type assertions.
|
||||
Use discriminated unions for complex state.
|
||||
Model optional fields explicitly with undefined.
|
||||
Avoid null; prefer undefined.
|
||||
Use optional chaining for nullable access.
|
||||
Use nullish coalescing for defaults.
|
||||
Do not mix null and undefined in the same API.
|
||||
Use enums for finite sets of values.
|
||||
Prefer const enums for performance-sensitive code.
|
||||
Do not extend enums dynamically.
|
||||
Use readonly arrays and objects where mutation is unintended.
|
||||
Prefer immutable data structures in shared state.
|
||||
Avoid mutations in pure functions.
|
||||
Use spread operators for shallow copies.
|
||||
Use structuredClone for deep copies.
|
||||
Do not mutate function parameters.
|
||||
Return new objects from transformation functions.
|
||||
Use Array methods over imperative loops where readable.
|
||||
Avoid side effects in map and filter callbacks.
|
||||
6
tests/fixtures/broken-project/.claude/rules/dead-rule.md
vendored
Normal file
6
tests/fixtures/broken-project/.claude/rules/dead-rule.md
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
globs: nonexistent-dir/**/*.xyz
|
||||
---
|
||||
|
||||
# Dead Rule
|
||||
This rule matches nothing.
|
||||
7
tests/fixtures/broken-project/.claude/settings.json
vendored
Normal file
7
tests/fixtures/broken-project/.claude/settings.json
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"includeCoAuthoredBy": true,
|
||||
"alwaysThinkingEnabled": "yes",
|
||||
"effortLevel": "turbo",
|
||||
"unknownKey123": true,
|
||||
"hooks": ["not", "an", "object"]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue