ARTEX/agent
Coff0xc 2a9743eb9e fix(agent): reject unsafe ChatAgent session ids
Chat joined sessionID into <workDir>/sessions with no allow-list, so
".." or a separator would escape that directory. Production callers
use conv-<id>, but the exported method accepted any string.

Accept only [A-Za-z0-9_-] up to 64 bytes, then confirm the cleaned
path still sits under sessions/.
2026-11-18 22:40:21 +01:00
..
adversarial_gate_seed_test.go feat: adversarial verification gate before confirmed findings 2026-10-12 06:26:51 +02:00
agentic_guards_test.go agent: frame agent-derived fields in a per-message nonce envelope (#124, F3) 2026-11-12 01:30:17 +01:00
assembly.go agent: guard ToolAugment/ToolResolve hooks against concurrent access 2026-11-14 13:46:03 +01:00
assembly_test.go agent: guard prompt and wrap-up override hooks against concurrent access 2026-11-14 14:19:13 +01:00
auto_scope_hygiene_test.go fix(coverage): count auto-scope only under a declared root (F8) 2026-11-12 07:37:58 +01:00
bbot_ingest.go fix(agent): strip URL userinfo in scan and bbot ingestion 2026-11-14 01:02:16 +01:00
bbot_ingest_test.go fix(agent): strip URL userinfo in scan and bbot ingestion 2026-11-14 01:02:16 +01:00
bbot_ingest_tool.go agent: ingest nuclei, httpx and ffuf output in ingest_scan_output 2026-11-13 19:15:59 +01:00
bbot_ingest_tool_pg_test.go Add ingest_bbot tool (bbot JSONL, typed scope split) 2026-11-12 12:35:06 +01:00
bbot_ingest_tool_test.go Add ingest_bbot tool (bbot JSONL, typed scope split) 2026-11-12 12:35:06 +01:00
blackboard_inheritance_test.go Skip the four known-broken tests in code instead of CI -skip flags 2026-10-10 18:12:42 +02:00
budget.go Say what a restored task budget still allows, and test the lanes that count. 2026-11-17 15:50:00 -05:00
budget_test.go Restore a task spend cap from the lanes the live ledger counts. 2026-11-17 13:04:36 -05:00
cancelcause.go feat(engine): intent claim heartbeat, TTL and fencing token (S3c) 2026-11-10 17:45:11 +01:00
capture.go fix: report provider refusals, do not rerun them as idle turns 2026-11-18 00:41:18 -06:00
capture_approval_test.go Intercept judge: closed-question mode, fail-closed to ask 2026-11-12 22:35:11 +01:00
capture_usage_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
chat.go fix(agent): reject unsafe ChatAgent session ids 2026-11-18 22:40:21 +01:00
chat_session_id_test.go fix(agent): reject unsafe ChatAgent session ids 2026-11-18 22:40:21 +01:00
coldgraph.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
coldgraph_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
compaction.go agent: fact provenance (declared source plus server-set origin) 2026-11-12 00:37:44 +01:00
constraints.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
coverage.go Leave asset-coverage tools available when the flag read fails. 2026-11-17 13:04:36 -05:00
coverage_flag_test.go fix(test): check each coverage tool on the set that carries it 2026-11-17 22:18:54 +01:00
coverage_ledger.go Coverage ledger: review fixes (one-line capped fields, framed gap lines, per-run end_reason) 2026-11-12 20:48:34 +01:00
coverage_ledger_test.go Coverage ledger: review fixes (one-line capped fields, framed gap lines, per-run end_reason) 2026-11-12 20:48:34 +01:00
data_envelope.go fix(agent): frame intent summaries as data 2026-11-17 23:44:36 +01:00
data_envelope_test.go fix(agent): frame intent summaries as data 2026-11-17 23:44:36 +01:00
deadline_contract_seed_test.go feat: deadline contract in the executor seeds 2026-10-12 07:30:27 +02:00
deferred.go feat: 增加 Agent 流量绑定开关并补齐证据交接 2026-09-10 14:08:40 +08:00
deferred_test.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
fact_assets.go fix: repair record_fact input contracts and asset aliases 2026-11-17 06:14:31 +00:00
fact_assets_test.go fix: enforce exact record_fact fields and validate asset anchors 2026-11-18 01:51:41 +00:00
fact_input.go fix: enforce exact record_fact fields and validate asset anchors 2026-11-18 01:51:41 +00:00
fact_input_test.go fix: enforce exact record_fact fields and validate asset anchors 2026-11-18 01:51:41 +00:00
fact_provenance_test.go agent: fact provenance (declared source plus server-set origin) 2026-11-12 00:37:44 +01:00
finding_dedup_seed_test.go feat: duplicate discipline before report_finding and in the reporter 2026-10-12 07:29:59 +02:00
finding_quality_seed_test.go feat: measured impact and attacker-goal proof standard for findings 2026-10-12 06:25:35 +02:00
finding_reasoning_test.go feat(findings): optional counterevidence and confidence_rationale 2026-11-11 23:43:12 +01:00
finding_recorder.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
finding_recorder_test.go agent: guard ToolAugment/ToolResolve hooks against concurrent access 2026-11-14 13:46:03 +01:00
finding_workflow.go feat(traffic): record WebSocket and SSE stream messages 2026-11-16 07:47:25 +01:00
finding_workflow_test.go agent: guard ToolAugment/ToolResolve hooks against concurrent access 2026-11-14 13:46:03 +01:00
goals.go fix(coverage): count auto-scope only under a declared root (F8) 2026-11-12 07:37:58 +01:00
hooks_reach_test.go feat(guard): planner and main-agent hooks, target-gate scope in every session (S3b 1.1) 2026-11-10 22:14:24 +01:00
insert_assets_test.go fix(agent): refuse insert_assets when intercept rules cannot be loaded 2026-11-18 17:22:36 +01:00
mainagent.go Leave asset-coverage tools available when the flag read fails. 2026-11-17 13:04:36 -05:00
noa.go feat(agent): size NOA to the configured window and refuse irreducible requests 2026-11-15 19:08:49 +01:00
noa_budget.go fix(server): do not rerun intents refused by the NOA budget 2026-11-15 22:26:21 +01:00
noa_budget_test.go fix(server): do not rerun intents refused by the NOA budget 2026-11-15 22:26:21 +01:00
noise_profile.go fix(agent): noise prompt states what the capture proxy paces 2026-11-15 01:23:56 +01:00
noise_profile_test.go fix(agent): noise prompt states what the capture proxy paces 2026-11-15 01:23:56 +01:00
operator_handoff_seed_test.go feat: ask_operator environmental handoff discipline 2026-10-12 06:45:21 +02:00
planner.go fix(agent): frame intent summaries as data 2026-11-17 23:44:36 +01:00
prompt.go agent: guard prompt and wrap-up override hooks against concurrent access 2026-11-14 14:19:13 +01:00
prompt_injection_seed_test.go agent: guard prompt and wrap-up override hooks against concurrent access 2026-11-14 14:19:13 +01:00
prompt_now_test.go agent: guard prompt and wrap-up override hooks against concurrent access 2026-11-14 14:19:13 +01:00
prompt_test.go agent: guard prompt and wrap-up override hooks against concurrent access 2026-11-14 14:19:13 +01:00
promptcatalog.go agent: fact provenance (declared source plus server-set origin) 2026-11-12 00:37:44 +01:00
provider.go fix(server): use the real context window for llmpool and sidequestion 2026-11-17 12:56:13 +00:00
provider_capture_e2e_test.go feat(llmrec): 录制 LLM 请求/响应 HTTP 原文 2026-08-25 09:40:05 -04:00
provider_capture_test.go feat(llm): optional custom User-Agent for LLM requests 2026-11-08 17:11:43 +01:00
provider_env_test.go fix(agent): match ARTEX_LLM_PROVIDER case-insensitively 2026-11-03 23:20:21 +01:00
provider_quota_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
provider_responses_test.go feat(llm): 支持 OpenAI Responses API 格式的 LLM 配置 2026-08-25 11:39:24 -04:00
provider_window_test.go fix(server): use the real context window for llmpool and sidequestion 2026-11-17 12:56:13 +00:00
providerstop.go fix: report provider refusals, do not rerun them as idle turns 2026-11-18 00:41:18 -06:00
providerstop_test.go fix: report provider refusals, do not rerun them as idle turns 2026-11-18 00:41:18 -06:00
proxyenv_test.go feat(traffic): pace Bash requests at the capture proxy 2026-11-15 00:57:13 +01:00
retester.go feat: adversarial verification gate before confirmed findings 2026-10-12 06:26:51 +02:00
review_context_test.go Intercept judge: closed-question mode, fail-closed to ask 2026-11-12 22:35:11 +01:00
runinfo.go feat(tasks): add runtime controls and inherited context 2026-08-24 19:29:00 +08:00
scan_ingest.go fix(agent): strip URL userinfo in scan and bbot ingestion 2026-11-14 01:02:16 +01:00
scan_ingest_test.go fix(agent): strip URL userinfo in scan and bbot ingestion 2026-11-14 01:02:16 +01:00
scan_ingest_tool.go agent: ingest nuclei, httpx and ffuf output in ingest_scan_output 2026-11-13 19:15:59 +01:00
scan_ingest_tool_pg_test.go fix(agent): strip URL userinfo in scan and bbot ingestion 2026-11-14 01:02:16 +01:00
session.go fix(agent): stop on transcript restore failures and keep session identity without persistence 2026-11-15 15:32:07 +01:00
session_header_test.go feat(llm): 每个 LLM 配置支持自定义会话头 2026-09-07 11:21:50 -04:00
session_test.go fix(agent): stop on transcript restore failures and keep session identity without persistence 2026-11-15 15:32:07 +01:00
side_questions.go feat(agent): 支持持久化 /btw 旁路提问 2026-09-10 21:42:25 +08:00
side_questions_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
stagnation_test.go feat(engine): ouroboros takes - goal ambiguity gate, failover escalation, stagnation surfacing 2026-10-21 14:46:56 +02:00
target_gate_tools_test.go feat(intercept): target extraction, resolver, exemptions and the gate in the hook (S3b 1.5-1.7) 2026-11-11 00:34:55 +01:00
taskclock.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
terminalreason.go fix: report provider refusals, do not rerun them as idle turns 2026-11-18 00:41:18 -06:00
terminalreason_test.go feat(engine): intent claim heartbeat, TTL and fencing token (S3c) 2026-11-10 17:45:11 +01:00
testmain_test.go feat: each test package runs on its own database 2026-10-12 18:43:29 +02:00
toolcatalog.go fix: repair record_fact input contracts and asset aliases 2026-11-17 06:14:31 +00:00
toolcatalog_test.go fix(tools): harden obj against blank required names and heal seeded list_task_credentials rows 2026-11-10 09:46:49 +01:00
toolrag.go Tool RAG: lexical projection of the bound tool catalog (off by default) 2026-11-12 15:42:31 +01:00
toolrag_test.go agent: guard ToolAugment/ToolResolve hooks against concurrent access 2026-11-14 13:46:03 +01:00
tools.go fix: enforce exact record_fact fields and validate asset anchors 2026-11-18 01:51:41 +00:00
tools_creds.go fix(tools): drop empty required entry from list_task_credentials schema 2026-11-02 09:05:03 +03:00
tools_digest.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
tools_insert.go fix(agent): refuse insert_assets when intercept rules cannot be loaded 2026-11-18 17:22:36 +01:00
tools_nil_store_test.go Translate all Chinese text to English 2026-10-08 23:14:34 +02:00
tools_overview_test.go fix(db): mirror finding triage onto the exploration node 2026-11-17 12:56:23 +00:00
untrusted_boundary.go Untrusted boundary ON by default (opt-out via ARTEX_UNTRUSTED_BOUNDARY=0) 2026-11-12 14:46:44 +01:00
untrusted_boundary_test.go Untrusted boundary ON by default (opt-out via ARTEX_UNTRUSTED_BOUNDARY=0) 2026-11-12 14:46:44 +01:00
untrusted_prompt.go agent: untrusted-content tail for every chat agent; evidence wording fits the reporter 2026-11-11 21:59:09 +01:00
user_agent_test.go fix(llm): validate custom User-Agent in the connection-test path 2026-11-08 18:15:33 +01:00
webfetch.go feat(egress): change the noise profile at runtime 2026-11-14 23:30:06 +01:00
webfetch_dialer_test.go feat(intercept): pinned dialer for WebFetch and the custom http tool (S3b 2.1) 2026-11-11 19:19:55 +01:00
webfetch_egress_test.go feat(egress): change the noise profile at runtime 2026-11-14 23:30:06 +01:00
webfetch_redirect_test.go WebFetch: coalesce only, never cache; pin the gate-off redirect test to the off profile 2026-11-12 16:33:14 +01:00
worker.go Test that a failed coverage read stays enabled, including auto-scope writes. 2026-11-17 15:52:04 -05:00
worker_intervention_test.go 新增worker直接对话 2026-08-29 21:55:27 +08:00
wrapup.go agent: guard prompt and wrap-up override hooks against concurrent access 2026-11-14 14:19:13 +01:00