- Extract and link declared target hosts/endpoints even when no project is associated, stopping URL extraction at CJK boundaries and recognizing inline host+path pairs
- Stop copying objective into supplementary exclusions when scope is omitted, and normalize legacy identical scopes across UI, decomposition, and worker contracts
- Normalize hostname/URL entries in planner asset_ids to linked asset UUIDs and guide empty-asset cases to use asset_ids: []
- Reject empty initial plans without a clarifying question, align planner/reviewer tool-submission instructions, sync assets before reading ChangeVersion, and stop waiting_progress from spinning every 2 minutes without graph/guidance signals
Ordinary sessions now pass skillPaths through the run request instead of
hand-splicing a Go skill index into the system prompt, so both chat and
native workflows share one disclosure path. The metadata sits in the
cacheable prefix ahead of per-run context, and the name-scoped host skill
loader remains the only reader when generic file tools are disabled.
Drop the unread openAIClient/auditLLM fields and the zero-call Go streaming
methods so the synchronous probe client is the only remaining HTTP path.
Map the five additional Pi 1.7.0 vendor protocols without leaking
openai-completions compat knobs, and fix generateOnly so a text-only message
is never dropped. Knowledge expansion, workflow drafts, attack chains, FOFA
parsing, assessment Q&A and HITL audit now share one Pi single-shot entry.
The orchestrator prompt and write_todos description never said that
pending/in_progress items block the run with unfinished_plan, so the
model could call exit with stale plan state and lose the deliverable.
State the rule in the markdown prompt, the built-in fallback prompt and
the tool description; clarify the blocked notice and cover the
no-auto-continue behavior with a test.
Ref: AIPentest/CyberStrikeAI#416
Merge AIPentest/CyberStrikeAI main at 664de13e. Adopt explicit store-field omission and its upstream regression tests. Preserve the newer personal Pi, assessment, proxy, vulnerability and UI implementations, including the developer-role compatibility fix.
Delete the Eino model adapters, callbacks, middleware, orchestration,
summarization and single-agent runner together with their dependencies.
Chat, batch tasks, workflow Agent nodes and sub-agents now share the Pi
runtime, and dispatch is a single code path instead of an engine switch.
Configuration migrates eino_middleware/eino_skills to runtime/skills and
drops the retired callback settings while old files still load. Settings,
i18n and docs describe Pi only. Also carry the Pi follow-up fixes: empty
required lists are omitted from tool schemas, historical tool results stay
with their call batch, model proxies work over HTTP/1.1, single-query
retrieval skips query expansion, and finalization docs match Pi lifecycle
events.
Introduce an isolated Node worker that hosts the Pi SDK while Go keeps
business state, permissions, MCP execution, evidence and delivery checks.
The worker is published per source fingerprint, streams events back to Go
and supports tool callbacks, cancellation, session resume and per-model
transport settings.
Agent dispatch, tool search, plan/task tools and migration controls are
wired on top of it: large tool catalogs load through Pi tool_search, the
conversation task board keeps its existing tools, and legacy mode/route
values still resolve. Workflow gains a native DAG with versioned JSON
checkpoints, and knowledge retrieval moves to native documents, splitter,
HTTP embeddings, vector search and reranking.
- Surface llama.cpp parallel slots via context_slots and a warning instead of treating n_ctx as the per-request window
- Pass max_completion_tokens into detection previews and warn when the output cap is clamped
- Clamp the effective budget to the window and use the assumed local window when clamping output
- Overwrite a stale window on explicit auto-detect so the preview matches the saved value
- Keep the budget-warning test repeatable and document failover/budget semantics
The warning was computed after the runtime config had already been clamped,
so configured and effective values were identical and the clamp warning was lost.
- Probe Ollama, llama.cpp, LM Studio and vLLM runtime context windows, including reverse-proxy subpaths
- Add context_window and context_profile=local: clamp budgets, compaction triggers, tool-output limits and always-visible tools
- Count tool schemas in the soft input budget and apply a 10% token estimate margin for local tokenizers
- Prefer max_tokens for local requests across agent, attack-chain, FOFA, workflow and HITL paths, and honor channel extra_request_fields
- Recognize local context-overflow errors and retry with aggressive compaction