Commit Graph

197 Commits

Author SHA1 Message Date
Sycun 41aea97735 fix(assets,assessments): sync classic chat precipitated assets into project scope 2026-11-30 22:01:38 +08:00
Sycun db61cfa342 fix(assessments): prevent zero-intent planning spin and extract unlinked declared targets
- 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
2026-11-30 15:57:09 +08:00
Sycun 2c107dc80a feat(pluginhub): support adding, deleting, and restoring market catalog entries 2026-11-28 20:43:06 +08:00
Sycun aaa284586f feat(plugin-hub): add plugin capability platform with embedded WebUI proxy and unified LLM gateway 2026-11-28 20:10:45 +08:00
Sycun 524ee29a84 perf(all): propagate GET abort signals globally and eliminate full conversation loads
- Propagate useResource AbortSignal automatically via runWithAbortSignal in http.js so all 60+ useResource loaders across all pages (including Dashboard's 18 parallel requests) cancel underlying browser fetches immediately on page switch
- Replace unnecessary full db.GetConversation loads (which unmarshaled all messages and process_details) with ConversationExists/GetConversationTitle/GetConversationLite across multi_agent_prepare, single_agent, conversation rename/project/delete-turn, attackchain, and robot handlers
- Default WebShell GET /ai-history to GetConversationByWebshellConnectionIDLite unless include_process_details=1 is explicitly requested
- Rebuild web/static/app bundle and verify 58 Playwright E2E tests + Go test suites
2026-11-28 19:06:11 +08:00
Sycun 966836ef19 perf(chat): eliminate old conversation loading lag and polling livelock
- Add compact summary mode (include_process_details=summary) on GET /api/conversations/:id that skips progress noise, strips duplicated tool outputs/large arguments/long thinking bodies/finalText, and defers full payloads for on-demand GET /api/process-details/:id fetches
- Prevent paginated GET /api/messages/:id/process-details from leaking full tool_result payloads through message when includeToolPayload is false
- Add stdlib Gzip response compression middleware (skipping SSE, WebSocket, and already-compressed assets)
- Add SQLite composite indexes on messages(conversation_id, created_at) and process_details(conversation_id/message_id, created_at)
- Switch chat page to summary loading with on-demand ToolBlock/ReasoningBlock detail fetching, AbortController cancellation, and in-flight poll deduplication to fix backgroundRunning 4s polling livelock
- Memoize MessageRow/TurnBody, defer prettyJson until panel expansion, and window long conversation histories (>40 messages)
- Rebuild web/static/app bundle and add Go + Playwright regression tests
2026-11-28 18:41:33 +08:00
Sycun b5f4ab9071 feat(assessment): fuse global security base and deep assessment governance (v1.8.2)
- Add random-nonce CSAI_DATA prompt guard envelope and typed scanner surface ingest (nmap/nuclei/httpx/ffuf) with cross-path execution deduplication
- Add deterministic 3-axis vulnerability fingerprinting and 5-dimension adversarial review shared across record/status/retest/assessment review
- Extend project scope_json with structured allow/deny constraints, scanner noise profiles, and evidence-gated project lessons (off/shadow/inject)
- Bundle offline WSTG/CWE/ATT&CK lookup_security_taxonomy tool and Pi compact skill index + prompt_cache_prefix_split support
- Add deep assessment pre-plan goal decomposition, persistent coverage ledger & acceptance gate, optimistic-concurrency plan notes, and graceful segment wrap-up
- Bump personal version to v1.8.2 and update CHANGELOG.md
2026-11-27 19:21:04 +08:00
Sycun 2863282250 fix(projects): tighten archive boundaries across tools, assets, and selectors 2026-11-26 18:28:12 +08:00
Sycun 480f1ae7e2 feat(projects): link project memory and vulnerability archives 2026-11-26 17:50:36 +08:00
Sycun 3f2cea8f5b fix(assets): scope the asset library by project 2026-11-20 22:01:32 +08:00
Sycun 8aef32ab00 feat(assessments): share the project asset library across tasks
Deep assessment, chat, and batch work now use the same project assets, so a missing collection no longer leaves the scope empty.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-20 21:27:09 +08:00
Sycun f689e92678 feat(projects): share evidence across assets, assessments, and reports
Keep project facts, collections, retests, and exports on the same read boundary, and stop a manual fixed status or a blocked batch from looking complete.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-20 20:07:23 +08:00
Sycun 2fab8b7e11 feat(assessments): record attack surface clues alongside assets 2026-11-20 20:03:34 +08:00
Sycun cb1507df6c feat(chat): group conversations and consolidate header actions 2026-11-20 15:14:00 +08:00
Sycun 02103fac9e fix(mcp): clarify recovery for invalid finding IDs and image paths 2026-11-19 15:41:33 +08:00
Sycun 7320cc608a fix: restore session collaboration and refine workspace UI 2026-11-19 13:06:42 +08:00
Sycun 6815645a3f fix(chat): persist human approval for the conversation 2026-11-19 10:45:23 +08:00
Sycun e8ad42ac2c feat(assessments): connect asset and acceptance evidence reviews 2026-11-19 00:09:43 +08:00
Sycun ffc15f4402 feat(assessments): add live workbench and scoped intent controls 2026-11-15 17:09:30 +08:00
Sycun 24fad19a4b fix(vulnerabilities): paginate findings independently of full navigation 2026-11-15 10:48:13 +08:00
Sycun 950f183056 feat(vulnerabilities): show timestamps and support oldest-first ordering 2026-11-15 10:14:01 +08:00
Sycun c5f797c521 feat(assessments): add shared asset graph and durable intent exploration 2026-11-15 09:20:09 +08:00
Sycun e6f80618f3 feat(assessments): link findings to tasks and source evidence 2026-11-14 09:45:01 +08:00
Sycun 3097d5f9ff feat(assessments): make exploration continuous with graph memory 2026-11-14 02:29:50 +08:00
Sycun 1ebfac570c feat(assessments): add Pi-native long-running assessment workspace 2026-11-14 01:18:43 +08:00
Sycun 1c0c6b9c91 revert(tasks): restore v1.8.0 batch queue workflow 2026-11-14 00:10:44 +08:00
Sycun 310007fab3 fix(tasks): paginate compact task lists and preserve scroll on refresh 2026-11-13 23:20:58 +08:00
Sycun ed427505a8 feat(tasks): unify task management and redesign the creation dialog 2026-11-13 22:01:00 +08:00
Sycun e1c4551b64 feat(tasks): replace deep assessments with durable goal tasks 2026-11-13 20:20:05 +08:00
Sycun 9c5dce5656 refactor(vulnerabilities): use the shared list for raw findings 2026-11-13 17:00:00 +08:00
Sycun b77c8cda27 fix(vulnerabilities): prefer domains and unify task tree navigation 2026-11-13 16:47:17 +08:00
Sycun a125d749e7 feat(vulnerabilities): add review workspace and persistent finding cases 2026-11-13 16:11:36 +08:00
Sycun 2e2ed49158 feat(vulnerabilities): add domain browser and risk overview 2026-11-13 15:31:21 +08:00
Sycun 63aa0a1307 fix(vulnerabilities): paginate grouped views by group 2026-11-13 15:12:32 +08:00
Sycun 2c4364ad47 feat(vulnerabilities): add host, task, and raw list views 2026-11-13 15:04:06 +08:00
Sycun 9a0ea174b1 fix(vulnerabilities): recognize host in historical target descriptions 2026-11-13 14:51:04 +08:00
Sycun 72042749e3 feat(vulnerabilities): group findings by target host 2026-11-13 14:45:28 +08:00
Sycun 335c985516 test(pi): inject invalid persisted root after path validation 2026-11-12 21:29:58 +08:00
Sycun 0186cc64b4 test(pi): make cleanup failure regression portable 2026-11-12 21:24:54 +08:00
Sycun cfe3f82dd4 fix(pi): invalidate deleted sessions and prepare legacy upgrades 2026-11-12 21:19:09 +08:00
Sycun 0dd997ca01 refactor(runtime): remove Eino and make Pi the sole agent engine 2026-11-11 12:45:32 +08:00
Sycun ef89d9e464 fix(assessment): bind approvals and enforce scoped execution boundaries 2026-11-02 22:32:11 +08:00
Sycun 07864b355f feat(assessment): add durable deep assessment workbench independent of chat 2026-11-02 21:17:03 +08:00
Ed1s0nZ c0d5c8460b feat(api): add durable asynchronous conversation runs 2026-10-23 11:45:15 +08:00
Ed1s0nZ be2c8c04e5 fix(rbac): protect built-in administrator from losing access 2026-10-19 16:44:14 +08:00
Ed1s0nZ 63955c4d30 docs: remove internal process journals and organize public guides 2026-10-16 16:59:01 +08:00
Sycun 51d78fda91 fix: bound SQLite lock waits and strengthen PR 329 coverage 2026-10-16 12:22:42 +08:00
Ordinary 9891b04215 fix: wait out SQLite busy on concurrent asset upserts
Deep mode fires many create_asset calls at once. UpsertAssets used a
DEFERRED transaction (SELECT then INSERT) on a 25-connection pool, so
writers hit SQLITE_BUSY immediately and returned "database is locked"
in a few milliseconds instead of waiting.

Open SQLite with _txlock=immediate and a 30s busy timeout, shrink the
pool, and retry locked upserts. Add a 32-way concurrent upsert test.
2026-10-16 12:20:21 +08:00
Sycun 0fb5484657 Merge upstream main and resolve context memory asset conflicts 2026-10-16 11:02:49 +08:00
Sycun 983c981b92 fix: preserve human intent through planning and restart while keeping legacy edits
Mark generated execution prompts, populate deterministic user sections from actual human entries, preserve canonical ledger on overflow/transient restarts, fit long human entries under their formatted budget, and keep unchanged historical keys editable. Add real reduction-to-snapshot Cookie recovery and production entry-point regression tests.
2026-10-12 19:34:24 +08:00