CyberStrikeAI/internal
Sycun acd84cd525 feat: let an installation choose its update source, and adopt a plain directory
config.yaml gains an optional update section (remote / remote_url / branch). The
resolver keeps its default - whatever remote this tree already tracks - and the
explicit choice wins when set, which is also what lets a tarball installation
that never saw git get on the update rails at all.

- RemoteURL is fetched straight into a ref namespace of its own, so a URL source
  cannot be shadowed by a same-named remote's stale refs. ValidRemoteURL allowlists
  https/http/ssh/git/file and local absolute paths, and rejects git's ext::
  transport (which executes commands) before anything reaches argv.
- Adopt connects a plain directory to the source. Preview is side-effect free (the
  fetch happens in a throwaway bare repository) and lists every local file whose
  content the target would replace, plus the operator content that is put aside.
  The confirmed run inits, adds origin, stashes operator content, keeps every
  replaced file under .update-backup/<ts>/overwritten/ so "the update ate my edit"
  has an address, lands the target content, sets upstream, rebuilds the binary.
  A failure removes only the .git it created itself; once the content has landed
  the tree stays adopted even if the build fails.
- Console/API: the status envelope carries the configured source;
  POST /system/update/source writes it through the same config path every other
  setting uses (validated, audited); POST /system/update/adopt is preview-then-job,
  with the job's kind recorded. OpenAPI updated; RBAC rides the existing
  update:apply prefix and the route inventory stays green.

Tests: URL-mode check/apply against real repositories (including the address
beating a remote name), URL validation table, and the full adoption story -
preview touches nothing, operator content survives, the replaced edit is in the
backup, and the adopted tree updates and rolls back like any other installation.
2026-10-07 12:46:32 +08:00
..
agent fix: respect limited scan goals and retain asset completion instructions 2026-10-06 03:26:31 +08:00
agentfinalizer Fix finalization cleanup for pending tool executions 2026-08-23 19:57:17 +08:00
agents Add files via upload 2026-08-18 20:31:48 +08:00
app feat: let an installation choose its update source, and adopt a plain directory 2026-10-07 12:46:32 +08:00
attackchain Add files via upload 2026-08-18 20:36:34 +08:00
audit Add files via upload 2026-08-18 20:36:34 +08:00
authctx Add files via upload 2026-08-18 20:17:38 +08:00
c2 fix: close expired offline commands and serialize TCP dispatch 2026-10-06 03:41:37 +08:00
config feat: let an installation choose its update source, and adopt a plain directory 2026-10-07 12:46:32 +08:00
database fix: authenticate individual HTTP sessions for tasks and files 2026-10-06 03:37:39 +08:00
einomcp Add files via upload 2026-08-18 20:36:34 +08:00
einoobserve Add files via upload 2026-08-18 20:36:34 +08:00
handler feat: let an installation choose its update source, and adopt a plain directory 2026-10-07 12:46:32 +08:00
hitl feat: add TypeSafe Jev as HITL audit backend 2026-09-22 21:15:53 +08:00
knowledge Add files via upload 2026-08-18 20:31:48 +08:00
llm Add files via upload 2026-08-18 20:34:53 +08:00
logger feat: persist diagnostic logs with daily rotation and retention 2026-09-08 14:41:46 +08:00
mcp fix: enforce configured workflow tool execution timeouts 2026-10-06 03:24:14 +08:00
monitor Add files via upload 2026-08-18 20:17:38 +08:00
multiagent fix: avoid duplicate summarization token limits 2026-09-23 18:02:00 +08:00
openai fix: normalize SSE error responses for Eino models 2026-09-14 16:34:22 +08:00
processguard feat: manage task process lifetimes and preserve turn history 2026-09-16 17:52:58 +08:00
project Add files via upload 2026-08-18 20:34:53 +08:00
projectprompt Add files via upload 2026-08-18 20:36:34 +08:00
reasoning Respect OpenAI reasoning profile for DeepSeek-named models 2026-08-24 13:55:07 +08:00
robot Add files via upload 2026-08-18 20:17:38 +08:00
runlease feat: manage task process lifetimes and preserve turn history 2026-09-16 17:52:58 +08:00
security feat: update this installation's own source in one action 2026-10-07 12:07:26 +08:00
skillpackage Add files via upload 2026-08-18 20:31:48 +08:00
storage feat: add runtime storage cleanup with per-category retention (#310) (#313) 2026-09-25 14:46:23 +08:00
termout fix: startup banner hardcodes 127.0.0.1 regardless of server.host (#307) 2026-09-13 15:27:38 +08:00
toolguard feat: add configurable tool call blocking and monitoring 2026-09-08 09:44:32 +08:00
tooloutput Add files via upload 2026-08-18 20:36:34 +08:00
typesafe feat: add TypeSafe Jev as HITL audit backend 2026-09-22 21:15:53 +08:00
update feat: let an installation choose its update source, and adopt a plain directory 2026-10-07 12:46:32 +08:00
vision Add files via upload 2026-08-18 20:36:34 +08:00
workflow fix: enforce configured workflow tool execution timeouts 2026-10-06 03:24:14 +08:00