Commit Graph
255 Commits
Author SHA1 Message Date
weichen 5ccbe027ca Merge pull request 'Propose the N3 implementation plan: durability and observability' (#43) from feature/agent-stack-n3-plan into main
Propose the N3 implementation plan: durability and observability
2026-10-07 14:56:11 +00:00
weichen c13c79ebac Propose the N3 implementation plan: durability and observability
Why: N2 is closed; per the completion doc's dependency order N3 is
next and needs a plan grounded in current code (the crash window
between persist and intent commit is unprotected, the product
conversation path has zero durability, span names/attributes do not
follow the GenAI convention, the memory port does not exist).
Evidence: five-area survey with file:line citations at the pinned
baselines (agent-native 74aa60b, backend 7980a8a, core 0b5c774);
audit N1/N21 verified fixed, N6/N20 verified still open.
Impact: documentation only; work starts after this plan merges.
Refs: 2026-10-02-agent-stack-completion.md N3 section
2026-10-07 14:55:37 +00:00
weichen f8cc211296 Link historical milestones without overstating validation
Why: expose existing milestone records and distinguish source observations from combination tests.

Evidence: linked records exist at the fixed source version; proposal blobs and the observation receipt remain unchanged.

Impact: index wording and navigation only; no plan or acceptance decision changes.

Refs: docs/proposals/INDEX.md
2026-10-07 14:02:50 +00:00
weichen 8366668e44 Keep unassigned planning ownership explicit
Why: author and task-account names do not establish ownership of a plan.

Evidence: independent review found four missing owner fields in the adopted set and N2 also has none; fourteen source headers explicitly name weichen.

Impact: correct the index attribution and clarify the local N2 document adoption boundary; source proposals remain unchanged.

Refs: planning-index review P2; docs/proposals/INDEX.md
2026-10-07 13:58:35 +00:00
weichen b87b929673 Index project plans and distinguish their evidence states
Why: make existing directions, milestones and tasks discoverable without treating document claims as acceptance.

Evidence: fixed file blobs, 55 PR API records and Git ancestry are preserved as SELF observations; document links and all 19 proposals are checked.

Impact: navigation and evidence only; original plans, approval scope and business code are unchanged.

Refs: Dev feature/planning-index; docs/proposals/INDEX.md
2026-10-07 13:47:49 +00:00
weichen 5542319a04 Merge pull request 'Propose the N2 implementation plan: context, protocol, and tools' (#42) from feature/agent-stack-n2-plan into main
Propose the N2 implementation plan: context, protocol, and tools
2026-10-07 12:38:28 +00:00
weichen 96fd6599d1 Propose the N2 implementation plan: context, protocol, and tools
Why: N1/Q1/I1/I2 are closed; per the completion doc's dependency order
N2 is next and needs a plan grounded in current code (the audit's N4 is
still open; the product-side ctxasm trim is the real gap for acceptance
clause 2; MCP 2026-07-28 features are absent).
Evidence: six-area survey with file:line citations at the pinned baselines
(agent-native ead690b, backend 68addfd); audit items N2/N3/N18/N19/N22
verified fixed against current code, N4 verified still open.
Impact: documentation only; work starts after this plan merges.
Refs: 2026-10-02-agent-stack-completion.md N2 section
2026-10-07 12:27:31 +00:00
weichen 0551d00300 Merge pull request 'Propose the RDM phase plan: direction, invariants, and stage gates' (#41) from feature/rdm-phase-plan into main 2026-10-07 04:34:51 +00:00
weichen b8eaa1676f Propose the RDM phase plan: direction, invariants, and stage gates
Why: The further-objective docs are now the system's next big-phase
target; the plan pins the two-tree-one-net product on top of the
generic platform with two hard invariants - downstream-only domain
logic and always-degradable-to-generic-agent when the plugin is off.

Evidence: docs-only change; milestone mapping verified against
further-objective 10 (W1-W16), readiness claims verified against the
pinned worktrees (EXT-1 symbols in surface.txt, v0.1.0 tags, RDM repo
seed facts as recorded in vision doc 13).

Impact: Adds one proposal; no code changes.

Refs: docs/proposals/2026-10-07-agent-stack-n1q1i1-plans.md
2026-10-07 04:25:23 +00:00
weichen dd9c1ba558 Merge pull request 'Propose N1/Q1/I1 implementation plans for the agent stack' (#40) from feature/agent-stack-n1q1i1-plans into main 2026-10-07 02:51:30 +00:00
weichen 54ead4197f Merge origin/main into the n1q1i1 plans branch 2026-10-07 02:51:18 +00:00
weichen e9357131af Propose N1/Q1/I1 implementation plans for the agent stack
Why: The completion proposal defines the N1/Q1/I1 phases but not their
work packages; D1 has landed, so the three phases are now unblocked and
need file-level plans grounded in the current pins.

Evidence: docs-only change; file:line claims verified against the pinned
worktrees (native 3a110a7, squad 5a57636, intent 65aaebc, backend
e7fb276).

Impact: Adds one proposal and one link line; no code changes.

Refs: docs/proposals/2026-10-02-agent-stack-completion.md
2026-10-07 02:29:32 +00:00
weichen e53c6bf177 Merge pull request 'Restore the EXT-1 proposal and request EXT-5 host document parse' (#39) from feature/ext-5-host-parse into main 2026-10-06 15:14:15 +00:00
weichen 5825cd35f2 Propose EXT-5 host document parse and tighten the surface snapshot
Why: downstream parsers are unreachable through the Host handle and the base lacks xlsx/pptx parsers; MS1 needs both. The snapshot also missed interface methods, so adding one was undetectable.

Evidence: request follows compat-policy sect.6 four elements; behavior contract and limits in the proposal body (documents has no CI; verified via git diff --check recorded on the Dev task card).

Impact: docs only; compat-policy sect.3 gains one sentence, usage.md format list gains xlsx/pptx.

Refs: docs/proposals/2026-10-06-ext-5-host-parse-document.md
2026-10-06 14:44:17 +00:00
weichen a1be057b19 Add EXT-1 inproc command handler proposal; align tag name to v0.2.0
Why: EXT-1 申请卡按 compat-policy §6 四要素成文,作为 surface 变更的提案记录;
compat-policy §5 的 v0.2.0-experimental 与 V1.2 定稿批复的 v0.2.0 口径不一致,统一为后者。
Evidence: 新增 docs/proposals/2026-10-05-ext-1-inproc-command-handler.md;§5 tag 命令改为 v0.2.0 并注明对齐来源。
Impact: 仅文档;下游与基座发版材料(12 号核对清单)按 v0.2.0 口径。
Refs: 2026-10-01-extension-compat-policy.md §5/§6;10-实施推进方案 V1.2 D2 批复。

(cherry picked from commit a47754b494)
2026-10-06 14:42:57 +00:00
weichen 3b45dcdd93 Merge pull request 'Define document repository boundaries and verification' (#38) from feature/governance-docs into main 2026-10-06 03:10:42 +00:00
weichen 19e89ae10b Define document repository boundaries and verification
Why: AGENTS.md requires PROJECT.md but the referenced project facts and verification entry did not exist.

Evidence: SELF git diff --check and checked the README reference and Dev verification targets.

Impact: adds documentation-specific validation and evidence limits; no runtime change.

Refs: Agent-System-Dev feature/governance-reliability audit remediation
2026-10-05 12:29:42 +00:00
weichen 3b1c2769e1 Record the SillyTavern design borrow and shipped batches
Merge pull request 'Record the SillyTavern design borrow and shipped batches' (#37) from feature/sillytavern-review into main
2026-10-04 19:44:55 +00:00
weichen d62c443363 Merge remote-tracking branch 'origin/main' into feature/sillytavern-review 2026-10-04 19:42:53 +00:00
weichen f3f823ef8d Record the SillyTavern design borrow and what shipped
Why: The comparison has to say what was borrowed, what was refused, and which product behaviors changed, without copying upstream text.
Evidence: The record lists the verified security gaps and the features implemented in this task. Proposal section 2.5 links to it.
Impact: Deferred and rejected items stay deferred and rejected. Adopted context and secret behavior is no longer described as a later batch.
Refs: feature/sillytavern-review
2026-10-04 18:20:10 +00:00
weichen 2484e90be5 Merge pull request 'Agent-System-Documents #36' 2026-10-03 15:40:50 +00:00
weichenandCursor 847f6815f1 Record the pi and ZCode second-pass review
Why: The October 3 durable note described Pico5 before packages 1-23 existed, and the stack proposal had no place for the v1.0.1 and ZCode v3.14.3 findings.
Evidence: The new record, the correction at the top of the durable note, and proposal section 2.4 link to each other. No code changes.
Impact: Documents only. Later batches can cite the adopt, hold, and reject rows.
Refs: Dev feature/pi-zcode-second-pass
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-03 15:37:49 +00:00
weichen 261c4cf21d Merge pull request 'Record the pi durable review and the four recovery fixes' (#35) from feature/pi-durable-borrow into main
Record the pi durable review and the four recovery fixes
2026-10-03 14:44:38 +00:00
weichenandCursor 63409005a7 Note that the agent-stack proposal is already on main
Why: The review record still said the proposal was unmerged, but Documents PR #34 is on main and this branch is cut from that commit.
Evidence: origin/main is 76044b5, the merge of feature/agent-stack-blueprint.
Impact: One sentence in the review record. The proposal text is unchanged.
Refs: Dev feature/pi-durable-borrow
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-03 14:37:48 +00:00
weichenandCursor 02a3441eb7 Record the pi durable review and the four recovery fixes
Why: Pico5's package is a contract sketch, but its commit and recovery rules match four verified gaps in how runs survive a hard kill.
Evidence: Reviewed earendil-works/pi @ c7cdb460a, packages/durable and docs/pico-v5.md, against the skeleton section 4.2 and the current backend store, run manager, and SSE handler.
Impact: Documents only. The record rejects taking the package as a dependency and lists what the matching backend task changes.
Refs: Dev feature/pi-durable-borrow
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-03 14:27:18 +00:00
weichen 76044b5895 Merge pull request 'Propose the agent stack audit and completion design' (#34) from feature/agent-stack-blueprint into main 2026-10-03 14:12:17 +00:00
weichenandCursor 233dfb54ea Propose the agent stack audit and completion design
Why: The three libraries cannot be reused or recovered independently, and the tested dependency combination is not the one the product builds.
Evidence: Read-only audit at native c6d867c, squad 590fd86, intent 1dbbe81, recorded with file references in docs/records/2026-10-02-agent-stack-audit.md.
Impact: Documents only. No library code or gitlinks change in this commit. Later stages stay separate tasks.
Refs: Dev feature/agent-stack-blueprint
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-02 16:27:37 +00:00
weichen acd6f01c40 Merge pull request 'Record the P4 workflow rulings' (#33) from feature/agent-harness-p4 into main
Merge pull request #33
2026-10-02 01:03:55 +00:00
weichenandCursor 974db6a011 Record the P4 workflow rulings
Why: The harness proposal still said the script decision was deferred, after the implementation chose both declarative workflows and two dynamic forms.
Evidence: The P4 section now states routing order, copy-on-start, step and retry caps, and the script switch.
Impact: Documentation only.
Refs: feature/agent-harness-p4
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 16:22:13 +00:00
weichen 357e3fdb24 Merge pull request 'Propose the agent harness and link it from the roadmap' (#32) from feature/agent-harness-p0 into main 2026-10-01 12:43:26 +00:00
weichenandCursor a3f0b80759 Propose the agent harness and link it from the roadmap
Why: Tool-call history is flattened into assistant text, so the model imitates calls and invents artifact ids. The fix belongs to a shared harness, not another prompt tweak.
Evidence: Proposal 2026-10-01-agent-harness.md records the 2026-10-01 session evidence, the ZCode and Claude Code patterns, and the P0-P4 acceptance.
Impact: Documents only. P0 code lands in the backend on the same branch name. P1-P4 are not implemented here.
Refs: feature/agent-harness-p0
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 12:25:31 +00:00
weichen f3a3a5deb4 Document the base extension roadmap and plugin contract v2
Why: The base must stay unmodified by downstream products, so the roadmap, compatibility window, and plugin contract need a written proposal before further forks.

Evidence: Three proposals under docs/proposals and a short pointer in the plugin development guide.

Impact: Tag commands in the compat proposal are not executed.

Refs: Agent-System-Dev feature/base-extension-roadmap
2026-10-01 10:47:11 +00:00
weichenandCursor a0da588f90 Document the base extension roadmap and plugin contract v2
Why: The base must stay unmodified by downstream products, so the roadmap, compatibility window, and plugin contract need a written proposal before further forks.
Evidence: Three proposals under docs/proposals and a short pointer in the plugin development guide.
Impact: Downstream work follows extension-point requests and a published base version. Tag commands in the compat proposal are not executed.
Refs: .task/feature-base-extension-roadmap.md
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 10:34:30 +00:00
weichen 8ee5d5c467 Merge pull request 'Document project inbox dual view and archive flow (CF3)' (#30) from feature/project-inbox-r1 into main 2026-09-30 19:19:28 +00:00
weichen 1b1489203d Document project inbox dual view and archive flow (CF3)
Why: D48-D51 add the project inbox (archive-to-project, aggregated
project view, project stream); guide needs the user-facing story.
Evidence: usage.md 4.2 gains project inbox bullet; badge note updated.
Impact: docs-only.
Refs: 2026-09-30-card-stream-artifact-unify-project-inbox.md (D48-D52).
2026-09-30 19:18:12 +00:00
weichen 6fdfc19c54 Merge pull request 'Document artifact facade cards and context backfill (CF-A)' (#29) from feature/artifact-unify-r1 into main 2026-09-30 18:42:14 +00:00
weichen 96c8404c5e Document artifact facade cards and context backfill (CF-A)
Why: D46/D47 add inbox facade cards for truncated tool results and
artifact text backfill; guide needs the unified presentation story.
Evidence: usage.md 4.5 gains facade/backfill bullet.
Impact: docs-only.
Refs: 2026-09-30-card-stream-artifact-unify-project-inbox.md (D46/D47).
2026-09-30 18:40:50 +00:00
weichen f5aa687cb1 Merge pull request 'Document card streaming three-tool flow (CF-S)' (#28) from feature/card-stream-r1 into main 2026-09-30 18:21:41 +00:00
weichen 3d2da4eb0b Document card streaming three-tool flow in usage guide
Why: CF-S (D44/D45) adds card_begin/card_append/card_commit; users need
the streaming flow and crash-fallback behavior documented.
Evidence: usage.md cardflow bullet updated to v2 flow.
Impact: docs-only.
Refs: 2026-09-30-card-stream-artifact-unify-project-inbox.md (D44/D45).
2026-09-30 18:19:39 +00:00
weichen 437af31118 Merge pull request 'Propose card stream, artifact unification, and project inbox (D44-D52)' (#27) from feature/cardflow-future-plan into main 2026-09-30 17:45:16 +00:00
weichen 4a69886952 Mark card stream / artifact / project inbox proposal approved (D49 confirmed)
Why: user approved the proposal 2026-09-30 and directed implementation.
Evidence: approval recorded in status line and D49 note.
Impact: docs-only; unlocks CF-S task start.
2026-09-30 17:44:57 +00:00
weichen 67cf52bb77 Propose card stream, artifact unification, and project inbox (D44-D52)
Why: cardflow-r1 deferred three capabilities (card content streaming,
artifact unification, cross-session inbox CF3); user directed 2026-09-30
to implement them, plan first.
Evidence: code survey at Dev R0=d64742c (cardsvc.Update streaming base,
artifact_ref ctxasm gap, activity_cards project_id column reserved).
Impact: reviewable proposal D44-D52 with three-phase task split; no
runtime behavior change yet.
Refs: 2026-09-30-cardflow-and-process-split.md (D39-D43).
2026-09-30 17:39:09 +00:00
weichen cb700cf40b Merge pull request 'Add cardflow proposal (D39-D43) and update guides' (#26) from feature/cardflow-r1 into main 2026-09-30 17:12:10 +00:00
weichen 7e123e5688 Record cardflow-r1 verification: 9/9 dual-state walkthrough plus per-layer evidence
Why: CF2 验收剧本(双态零页面走查)完成;证据入任务主记录。
Evidence: 无头 Chromium 9/9 通过(过程折叠不回退、锚点/展开全文/收件箱卡/D32 定位);各层测试与组合构建见记录。
Impact: 文档。
Refs: Dev 任务卡 feature/cardflow-r1。
2026-09-30 16:39:47 +00:00
weichen 4a55832e9d Add cardflow-and-process-split proposal (D39-D43) and update guides
Why: 卡流机制与中栏过程/回复分离的用户五项裁定(2026-09-30)入库:显式路由、卡片权威+引用回填、默认关、CF0 先行、完备性剧本修订;Cursor 式过程折叠决策(D41)。
Evidence: 提案 docs/proposals/2026-09-30-cardflow-and-process-split.md;usage.md 增过程折叠/长回复折叠/长结果进卡片三节;plugin-development.md 增通道外溢验收项(06 §2.7)。
Impact: 文档;决策编号 D39–D43(D34–D38 为认证提案预留段)。
Refs: Dev 任务卡 feature/cardflow-r1。
2026-09-30 16:39:47 +00:00
weichen 1f3e7ab441 Merge pull request 'Record the user adjudication of the preview decision points' (#25) from feature/file-preview-adjudicate into main 2026-09-30 16:15:59 +00:00
weichen 07a6acfc21 Ignore local mimosa hook status artifacts 2026-09-30 16:15:59 +00:00
weichen 4f3b22d601 Record the user adjudication of the preview decision points
Why: D1-D5 were settled by the user (deps in, full-fidelity pptx, OG
card plus optional embed, dual placement); the proposal status must
reflect that before implementation starts.

Evidence: decision section rewritten with the settled choices and the
accepted trade-off on D2 (fall back to outline level with evidence only
if no Vite-compatible renderer builds).

Impact: documentation only.

Refs: task feature/file-preview-caps.
2026-09-30 16:15:41 +00:00
weichen f0361f3856 Merge pull request 'Record Gitea access facts in AGENTS.md' (#24) from feature/gitea-access-facts into main 2026-09-30 16:08:29 +00:00
weichen baf8f22aa7 Record Gitea access facts in AGENTS.md
Why: agents rediscovered Gitea hosts and credential locations from
scratch each session, and the retired git-panel host kept failing with
TLS broken-pipe errors before the right host was recalled.

Evidence: curl git-home...:30319/api/v1/version with token from
~/.secrets/gitea -> {"version":"1.27.3"}; ssh -p 31411 git@git-ssh...
(BatchMode) -> "Hi there, weichen!" with key ~/.ssh/home_gitea (ED25519,
SHA256:GYXaOXIMeloQ1fKSfdJ/ndgPQzs/Ix7Hk62ekfkfQ20). Same section already
merged in Agent-System-Dev (PR #73).

Impact: AGENTS.md only; records hosts and credential locations, no
secret values (baseline hard boundary 2).

Refs: Agent-System-Dev PR #73
2026-09-30 16:06:17 +00:00