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
baa2d0220b
488 changed files with 213221 additions and 0 deletions
41
tests/capture-fixture.sh
Executable file
41
tests/capture-fixture.sh
Executable file
|
|
@ -0,0 +1,41 @@
|
|||
#!/bin/bash
|
||||
# capture-fixture.sh — Extract agent output fixture from a document
|
||||
# Usage: bash tests/capture-fixture.sh <source-file> <section-header> <output-dir>
|
||||
#
|
||||
# Example:
|
||||
# bash tests/capture-fixture.sh docs/utredning/.../utredning.md "S5: Sikkerhetsvurdering" tests/fixtures/security-assessment/
|
||||
set -euo pipefail
|
||||
|
||||
if [ $# -lt 3 ]; then
|
||||
echo "Usage: $0 <source-file> <section-header> <output-dir>"
|
||||
echo ""
|
||||
echo "Extracts a section from source file and saves as fixture.md"
|
||||
echo ""
|
||||
echo "Example:"
|
||||
echo " $0 docs/utredning/file.md 'S5: Sikkerhetsvurdering' tests/fixtures/security-assessment/"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
SOURCE="$1"
|
||||
HEADER="$2"
|
||||
OUTPUT_DIR="$3"
|
||||
|
||||
if [ ! -f "$SOURCE" ]; then
|
||||
echo "Error: Source file not found: $SOURCE"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mkdir -p "$OUTPUT_DIR"
|
||||
|
||||
# Extract section from ## header to next ## header (or EOF)
|
||||
awk -v header="$HEADER" '
|
||||
BEGIN { found=0 }
|
||||
/^## / {
|
||||
if (found) exit
|
||||
if (index($0, header)) found=1
|
||||
}
|
||||
found { print }
|
||||
' "$SOURCE" > "$OUTPUT_DIR/fixture.md"
|
||||
|
||||
LINES=$(wc -l < "$OUTPUT_DIR/fixture.md" | tr -d ' ')
|
||||
echo "Captured $LINES lines to $OUTPUT_DIR/fixture.md"
|
||||
Loading…
Add table
Add a link
Reference in a new issue