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
4dc868ea62
151 changed files with 34374 additions and 0 deletions
29
hooks/scripts/pre-compact.mjs
Normal file
29
hooks/scripts/pre-compact.mjs
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#!/usr/bin/env node
|
||||
// pre-compact.mjs
|
||||
// PreCompact hook for linkedin-thought-leadership plugin
|
||||
// Reminds Claude to preserve critical LinkedIn session context before compaction
|
||||
//
|
||||
// Exit codes:
|
||||
// 0 - Always allow (informational hook)
|
||||
|
||||
const context = [
|
||||
'Before compacting context, preserve these critical LinkedIn session details:',
|
||||
'- Current post draft (full text if in progress)',
|
||||
'- Chosen angle and format',
|
||||
'- User feedback and iteration direction',
|
||||
'- Quality check results',
|
||||
'- State file values (streak, weekly count, last post date)',
|
||||
'- Any planned topics or next steps',
|
||||
'Ensure these survive the context compaction.',
|
||||
].join('\n');
|
||||
|
||||
const output = {
|
||||
continue: true,
|
||||
hookSpecificOutput: {
|
||||
hookEventName: 'PreCompact',
|
||||
additionalContext: context,
|
||||
},
|
||||
};
|
||||
|
||||
process.stdout.write(JSON.stringify(output));
|
||||
process.exit(0);
|
||||
Loading…
Add table
Add a link
Reference in a new issue