@@ -321,6 +321,56 @@ existing directory, and is created atomically with private permissions. Parent
321321traversal, escaping symlinks, missing parent directories, and existing targets
322322are rejected instead of overwriting or writing outside the workspace.
323323
324+ ## Code Intelligence
325+
326+ The agent, TUI ` /ide ` , and A3S Web Monaco editor share one read-only Code
327+ Intelligence runtime. The current language profiles cover Rust and
328+ TypeScript/JavaScript. Install the matching ` rust-analyzer ` or
329+ ` typescript-language-server ` executable before starting ` a3s code ` . A missing
330+ server degrades only that language; it does not disable the editor, ordinary
331+ file tools, or another working language.
332+
333+ Semantic results always describe files saved on disk. Unsaved editor buffers
334+ are never published to the shared runtime. The UI labels those results as the
335+ "saved version," and saving refreshes the workspace manifest and subsequent
336+ semantic queries.
337+
338+ Press ` : ` inside ` /ide ` to use:
339+
340+ | Command | Result |
341+ | ------------------------ | -------------------------------------------------------- |
342+ | ` :status ` | Language state and negotiated capabilities. |
343+ | ` :symbols [query] ` | Current-file symbols or bounded workspace symbol search. |
344+ | ` :definition ` | Definitions at the saved-file cursor position. |
345+ | ` :declaration ` | Declarations at the saved-file cursor position. |
346+ | ` :references ` | References at the saved-file cursor position. |
347+ | ` :implementations ` | Implementations at the saved-file cursor position. |
348+ | ` :diagnostics ` | Diagnostics for the current saved file. |
349+ | ` :diagnostics workspace ` | Bounded diagnostics across saved workspace files. |
350+
351+ The agent receives the same capability through ` code_symbols ` ,
352+ ` code_navigation ` , and ` code_diagnostics ` . Source reads, text search, and
353+ mutations still go only through ` read ` , ` grep ` , ` edit ` , and ` patch ` ; Code
354+ Intelligence does not create a second mutation path.
355+
356+ ## Cross-Session Context Recall
357+
358+ When the local ` ctx ` index is installed and initialized, startup enables two
359+ recall tiers: long-term Memory for curated durable information, and ` /ctx ` for
360+ raw history across tools and sessions. Use it to recover prior decisions,
361+ commands, failures, and test evidence instead of deriving the same work again.
362+
363+ | Command | Behavior |
364+ | --------------- | ------------------------------------------------------------------------------------------ |
365+ | ` /ctx <query> ` | Search the local session index and display up to eight selectable hits. |
366+ | ` /ctx <n> ` | Pull a bounded window around hit n and attach it once to the next message. |
367+ | ` /ctx save <n> ` | Save the hit as episodic memory with ` ctx_event_id ` and ` ctx_session_id ` provenance links. |
368+
369+ An attached transcript is control-character stripped, size-bounded, and quoted
370+ as untrusted historical reference. Instructions inside it do not become
371+ current user instructions. A promoted memory carries ` source=ctx ` , so the
372+ memory view can jump back to its originating event or session.
373+
324374## Sessions And Safety
325375
326376Core session snapshots auto-save under
@@ -559,6 +609,25 @@ reports, and local loops keep working.
559609Signed-in behavior adds A3S OS asset publication, runtime tools, trusted view
560610links, and asset activity panels without changing the local-first TUI contract.
561611
612+ The signed-in progressive capability API uses one permission-filtered endpoint
613+ and expands only as needed:
614+
615+ ``` text
616+ list → search → describe → execute
617+ modules find op one schema run it
618+ ```
619+
620+ The model discovers modules, searches operations, and loads the complete schema
621+ for only the operation it will call. An ` execute ` request with ` shaped=true `
622+ can return a trusted ` .view ` or ` viewUrl ` , which becomes an inline ` Open view `
623+ action in the TUI.
624+
625+ Login also registers the ` runtime ` tool. It resolves a tool-kind worker by UUID
626+ or name, submits independent inputs as an A3S OS Function-as-a-Service batch,
627+ streams per-item progress, and returns aggregated results. When signed out, the
628+ tool is absent from the model registry; local files, shell, MCP, ` task ` ,
629+ ` parallel_task ` , ` dynamic_workflow ` , Memory, and ` /ctx ` remain available.
630+
562631| Capability | Signed out | Signed in after ` /login ` |
563632| ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------- |
564633| Coding chat and workspace tools | Available with local permission checks and HITL approval. | Available with the same local safety path. |
0 commit comments