mirror of
https://github.com/qwai-tech/obsidian-plugin-intelligence-assistant.git
synced 2026-07-22 16:20:32 +00:00
The write-proposal gate (ADR-001) assumed users always want to confirm, so it
could not honor an explicit "no confirmation needed, complete it autonomously" — every file stayed an
Apply-gated proposal and autonomous completion was impossible.
Add an opt-in autonomous-write path (ADR-003):
- Per-agent toggle Agent.autonomousWrite (in the edit modal, default off).
- Per-task grant: the message authorises it ("complete autonomously / no confirmation needed /
autonomously / without confirmation"), detected by a small multilingual matcher.
- When granted, the kernel tool adapter applies each write proposal at
tool-execution time via applyWriteProposal and returns an "applied" result, so
the file exists during the run and the model can build on it.
Safety floor (always): delete is never auto-applied; an apply failure falls back
to a manual proposal; tool access is unchanged; default stays proposal-gated.
Also: agent maxSteps slider was capped at 20 (below the new default 25 / ceiling
50) — raised to 50 so large autonomous tasks can be budgeted.
Docs: ADR-003. Tests: agent-autonomous-write (per-task + per-agent apply; no grant
=> not applied). Verified: tsc clean, full suite 500 passed / 1 skipped, lint 0
errors, build + auto-deploy OK.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| architecture | ||
| project | ||
| promotion | ||
| promotional | ||
| reference | ||
| superpowers | ||
| README.md | ||
Intelligence Assistant — Documentation
This folder contains all documentation for the Intelligence Assistant Obsidian plugin.
Contents
| Path | Description |
|---|---|
| architecture/overview-en.md | Architecture overview (English) |
| architecture/overview-zh.md | Architecture overview (Chinese) |
| project/project-guide-en.md | Developer-oriented project guide (English) |
| project/project-guide-zh.md | Developer-oriented project guide (Chinese) |
| reference/project-structure.md | Full annotated source tree |
| reference/api.md | Internal API reference (core layer) |
Quick orientation
- Main README: ../README.md — user-facing feature docs and quick start
- Source:
../src/— all TypeScript source under six top-level namespaces:core,domain,application,infrastructure,presentation,types - Entry point:
../main.ts— Obsidian plugin bootstrap - Styles:
../styles.css— all CSS (auto-loaded by Obsidian)
Adding new docs
Place new documents in the most appropriate subfolder and add a link to the table above so they can be discovered.