55 Commits
Author SHA1 Message Date
weichen 2fcf03a424 Record IAM U1-U7 implementation completion with binary migration verification
governance / governance (pull_request) Successful in 19s
Why: document L1 implementation completion with 14 successful implementation units, 8 PRs merged across 4 component repos, real binary migration verification of U1 + U3A features.

Refs: /tmp/iam-role-permission-plan-20261019-sqfu_4g4/plan.md revision 3; PR #643 Dev L1; PR #219/#222 Backend; PR #450/#452/#453 RDM; PR #115/#118 Frontend; Agent-System-Dev main ac594c9.
2026-10-20 07:20:20 +00:00
weichen c3226ea02c Merge feature/fast-slow-u2-u3-plan history after syncing main
governance / governance (pull_request) Successful in 13s
2026-10-19 09:22:59 +00:00
weichen 131252b746 Merge the two-trees branch history into the main sync
governance / governance (pull_request) Successful in 15s
2026-10-19 05:42:36 +00:00
weichen 6e2112283e Merge Agent-System-Documents main into the fast-slow branch
governance / governance (pull_request) Successful in 14s
2026-10-19 03:05:45 +00:00
weichenandCursor 4a2cb19fde Link the U3 contract task card to its PR
governance / governance (pull_request) Successful in 20s
Why: the card and PR description are one record.

Evidence: PR #115 created via the Gitea API.

Impact: task card only.

Refs: Documents PR #115
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-19 02:16:36 +00:00
weichenandCursor c6c411a6db Record the U3 contract merge task card
governance / governance (pull_request) Successful in 22s
Why: track preservation and merge of the approved U3 contract documents.

Evidence: SELF blob identity, diff check and ancestry checks recorded in the card.

Impact: task card only.

Refs: Dev PR #626; Documents c236d30, fb3a821, 5783940
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-19 02:16:29 +00:00
weichen 01ba910685 Merge the approved U3 contract branch history 2026-10-19 02:16:20 +00:00
weichen 0b16daf14a Merge Documents main into IAM U4 role authority
governance / governance (pull_request) Successful in 17s
Why: U4 must sync main before stage 7 acceptance; main carries 21 newer commits (renderer, regulations and two-trees documents). Evidence: git merge-tree reported no conflicts; no content resolved by hand. Impact: U4 documents now sit on main 5bb4877. Refs: Dev card feature-iam-u4-role-authority
2026-10-18 14:03:41 +00:00
weichenandCursor 3a3904fea6 Close the EXT-20 proposal task card before merge
governance / governance (pull_request) Successful in 15s
Why: Card closes in the same PR per delivery rules.
Evidence: Card only.
Impact: None.
Refs: https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Documents/pulls/113
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-18 10:03:29 +00:00
weichenandCursor e4aa3c6d99 Open the EXT-20 proposal task card
Why: Register the U9 public contract proposal through the governed path.
Evidence: Card only.
Impact: None.
Refs: Agent-System-Dev feature/regulations-kb
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-18 09:52:14 +00:00
weichen acaaaa67e0 Close and archive the governance adoption card
governance / governance (pull_request) Successful in 20s
Why: the adoption PR is reviewed and its candidate HEAD passed CI; the card closure is folded into the PR so no separate close PR is needed.
Evidence: CI GATE on 9d4582a47f4f4c887afd2fafb3ad507f20716f8d; independent Review REPLAY (cursor-agent-stable --mode ask 全新只读会话(fresh_session=true,session id not-observable)闭合重审 VERDICT: APPROVE(对象 9d4582a,与 HEAD 仅 .task/ 不同)).
Impact: task card only (moved to .task/archive/).
Refs: https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Documents/pulls/110
2026-10-17 09:22:10 +00:00
weichen 9d4582a47f docs(task): complete the card for review (sync, CI, results)
governance / governance (pull_request) Successful in 23s
2026-10-17 08:47:52 +00:00
weichen 6a1308c251 docs(task): record review repair run and evidence
governance / governance (pull_request) Successful in 17s
Why: independent Review blocked the adoption; the repair unit ran through the shared executor and was integrated with agent-exec apply.
Evidence: .task/evidence/governance-adoption/ (SELF): governance check and agent-exec validate on the repaired head.
Impact: task card and evidence logs only.
Refs: .task/feature-governance-adoption.md
2026-10-17 08:41:29 +00:00
weichen c51ae06b4d Record the adoption unit run and positive/negative evidence
governance / governance (pull_request) Successful in 18s
Why: Phase 6 requires one positive executor run and the negative cases (missing config, bad receipt, out-of-scope path, unknown side effect) before adoption becomes active.
Evidence: .task/evidence/governance-adoption/ (SELF): governance check, agent-exec validate and adoption cases; this commit passed the generated pre-commit hook (admit).
Impact: task card and evidence logs only.
Refs: .task/feature-governance-adoption.md
2026-10-17 07:40:47 +00:00
weichen cf44b1ed04 Record the failed first attempt and its reconciliation
Why: the r1 attempt ended failed-unknown (invalid terminal record); fail-stop requires reconciliation before a fresh attempt.
Evidence: receipt /tmp/gov-receipt-Agent-System-Documents-r1.json; worktree clean, no transport ref (SELF).
Impact: task card only.
Refs: .task/feature-governance-adoption.md
2026-10-17 07:37:54 +00:00
weichen d259242849 Bootstrap AGENT-EXECUTION.md and the governance adoption card
Why: development-governance-v2 Phase 6 adopts the shared governance kit in every formal repository; the executor needs a valid AGENT-EXECUTION.md before any implementation unit can run.
Evidence: generated by dm-server governance init at Development-Manager bd3a7de57a3a9e1a4495b94c5fa5c08d71e7be8c; dm-server agent-exec validate passes.
Impact: configuration and task card only; no code or CI change yet.
Refs: Agent-System-Dev docs/superpowers/plans/2026-10-16-development-governance-v2-master.md
2026-10-17 07:16:27 +00:00
weichen c0611814aa Merge remote-tracking branch 'origin/main' into feature/iam-u4-role-authority 2026-10-15 06:03:14 +00:00
weichen bcdb30cc55 Plan IAM U4 acceptance and protected delivery
Why: The approved role and permission implementation needs a focused, reviewable path through browser acceptance, component delivery, and guarded closure.

Evidence: Structural audit confirms DR1-DR21, U1-U9, and KTD1-KTD6; git diff --check passes; six-lens document review findings are incorporated.

Impact: Adds the stage 7-10 plan, records the focused specification approval, and indexes the plan without authorizing production migration or deployment.

Refs: feature/iam-u4-role-authority
2026-10-15 03:53:10 +00:00
weichen e251c4bd62 Merge authoritative main before stage 7 planning
Why: base the IAM delivery plan on the current Documents main.

Evidence: fetched origin/main=87b88018b9236434b97ff6781655d625901d4090.

Impact: integrates documentation-only upstream changes before adding the U4 delivery plan.

Refs: feature/iam-u4-role-authority
2026-10-15 03:26:15 +00:00
weichen 136534ce0d Record U1-U6 completion and owner-blocked exit in the DHF plan
Why: the plan's progress annex still described the pre-adjudication
state (44 needs-review, U2-U6 pending); the authoritative record must
reflect the 2026-10-14 landing: batch adjudication, publication flip
(44/44 published), U5 product-loop wiring with pilot pass, U6
per-identity matrix (41 PASS + 2 EXPECTED_BLOCKED + 1 EXPECTED_LIMITED),
and the owner-side exit items (deployment pilot, independent REPLAY,
U4 originals) now blocked on the owner per the handoff checklist.

Evidence: docs-only change in the Documents repo; all referenced RDM
PRs (#377/#381/#383/#385/#387/#389/#391) carry green CI and merged
state; pilot and matrix outputs are recorded in the RDM task cards and
docs/records/dhf/.

Impact: plan annex only; no code or asset change.

Refs: RDM docs/records/dhf/package-review-decision-2026-10-14.md;
RDM docs/records/dhf/u6-acceptance.md; u6-replay-handoff.md
2026-10-14 18:10:20 +00:00
weichen e9ce9a539e Plan the focused role and permission implementation
Why: The approved scope spans Backend authority, RDM project enforcement, and Frontend configuration and needs exact contracts and verification boundaries.

Evidence: The plan was checked against every specification section, fixed interface names, failure cases, and placeholder rules.

Impact: Implementation is limited to one effective role, system and project authorization, and the requested configuration views.

Refs: Focused role and permission system spec
2026-10-14 16:42:24 +00:00
weichen d77c6425bc Define the focused role and permission system
Why: The implementation scope must match the requested single-role position model and three permission layers without carrying unrelated IAM work.

Evidence: The spec was checked for placeholders, internal contradictions, and whitespace errors.

Impact: Backend becomes the role authority while RDM retains project permissions and document duties.

Refs: IAM role and permission system
2026-10-14 16:37:01 +00:00
weichen 32d6c8487a Merge the authoritative document baseline before delivery
Why: The process-document main branch advanced with project membership and privacy records after this implementation plan was reviewed.

Evidence: origin/main was freshly fetched; the reviewed plan remains the same and the final combined document checks will be replayed on the resulting head.

Impact: Preserve the other task's proposal and index entries alongside the approved merge queue plan, without changing its scope or execution authorization.

Refs: Documents PR #96; origin/main 047d362; independent review docs_delivery_review
2026-10-13 14:20:31 +00:00
weichen f1a44fdac6 Clarify the implementation plan observations as their authoring baseline
Why: Historical observations in the approved plan used current-tense wording after implementation advanced, making the progress pointer harder to interpret.

Evidence: Independent documentation review identified the wording; the diff changes only baseline time and references current task/PR evidence. Document replay follows on the new candidate.

Impact: No change to approved units, interfaces, authorization or acceptance criteria; actual progress remains in the task and fixed-candidate records.

Refs: Documentation review Minor finding; approved plan ba4044d; U1-U6
2026-10-13 10:30:39 +00:00
weichen 407e49d2ba Remove trailing blank lines from merge queue candidate documents
Why: Validation of the complete candidate against origin/main detected added blank lines at the end of the authored documents.

Evidence: git diff --check origin/main validates the final candidate format; unchanged semantic content remains covered by the approved specification and implementation plan.

Impact: Document whitespace only; no version obligations, execution mode or authorization change.

Refs: Merge queue implementation plan U4; formal document validation
2026-10-13 08:59:34 +00:00
weichen 652be93a60 Record plan approval and link implementation evidence
Why: preserve the approved plan and point readers to the actual task objects instead of treating historical planning state as current delivery status.

Evidence: user approval of plan r1 and Dev task-card receipts; actual platform activation and real trial remain NOT_RUN.

Impact: plan metadata, test-file organization and navigation only; task state remains authoritative in Dev.

Refs: docs/proposals/2026-10-13-merge-queue-implementation-plan.md; Dev .task/feature-merge-queue-policy-draft.md
2026-10-13 08:22:35 +00:00
weichen ba4044d57e Plan serial delivery windows and compatible task recovery
Why: turn the confirmed scheduling specification into sequenced work with explicit interfaces, evidence handling and admission validation.

Evidence: SELF plan checks verified fixed source commits, 83 relative links, six units and four Python example blocks; implementation and runtime checks remain NOT_RUN.

Impact: reviewable implementation plan and navigation only; no task scripts, workflow, platform settings or business behavior are implemented.

Refs: docs/proposals/2026-10-13-merge-queue-implementation-plan.md; Dev policy/merge-queue.md r1; Development-Guidelines draft.11
2026-10-13 06:40:14 +00:00
weichen 0b290b7461 Record the login recovery implementation as proposal r3
Why: The 2026-10-13 login recovery flow was approved and merged
(Backend #187, Frontend #76, Dev #504); the master proposal must carry
the three adjudications, implementation record, and evidence pointers
per the repo's lineage conventions.

Evidence: Dev #504 HEAD CI (test/test-pg/svc-realcombo) success; browser
acceptance receipts be7ae9a2/b3a9e691 bound to Dev HEAD 268ef29 (SELF).

Impact: r3 is an implementation record only; R/KTD/U numbering semantics
unchanged; U7 explicitly NOT marked complete (atomic bootstrap and CLI
credential delivery remain). INDEX.md status line updated.

Refs: Dev docs/svc-deploy/2026-10-13-login-recovery-contract.md
2026-10-13 04:30:04 +00:00
weichenandCursor b8df6f3c2a Record the approved U8, U7, and export status
Why: the 2026-10-12 approval covers the recovery U8 and account U7 additions, and the RDM U5 note still treated the lifecycle pull request as the whole export.
Evidence: Backend 183 and 185 plus Dev 486 were already green; Dev 482, RDM 301, Frontend 73, and Dev 488 remain open and are not marked merged.
Impact: proposal status only. No implementation or deployment claim changes.
Refs: docs/proposals/2026-10-12-service-restart-data-recovery.md, docs/proposals/2026-10-12-svc-unified-deploy-and-login-key.md, docs/proposals/2026-10-11-rdm-two-trees-trace-audit-integration.md
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 15:40:45 +00:00
weichenandCursor cb7e25439a Record D1-D3 deploy remediation on the recovery plan
Why: the 2026-10-12 batch-update failure still had identity, rollback, and real-combo gaps after Dev #474, Backend #180, and RDM #276. The recovery plan is the single record for that work, and the rdmcand data-ownership check needed a written result before any restore.
Evidence: read-only queries on runtime-backups/{dev,rdm1,rdmcand}/20261012T133921Z and the matching domain backups. No business rows were moved.
Impact: adds r3.1 sections D1/D2/D3 and the ownership finding that dev conversations predate rdmcand's use of dev/data, so no cross-instance restore is indicated. r3's earlier unapproved text stays unapproved.
Refs: Dev feature/svc-d1-identity-flow; Backend feature/d1-identity-open
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 13:47:46 +00:00
weichen a183e663de Propose RDM function implementation plan r1
Why: 2026-10-12 全系统核对产出的功能/实现矩阵与 U1-U9 整改方案需入仓评审;独立文件已过期于共享门禁解除。
Evidence: 报告含冻结源码/运行时快照与逐条需求索引;发布补记记录冻结后部署时序与 U2 已合入切片(RDM PR #251/#254/#256/#258)。
Impact: 仅新增 docs/proposals 一份方案与 README 入口;不改代码与既有文档。
Refs: RDM docs/requirements V2.2、Documents 2026-10-11-rdm-final-target-completion.md
2026-10-12 09:28:44 +00:00
weichen 0b314e2029 Record the admin-zone partition delivery in the two-trees plan progress
Why: policy requires updating applicable plan progress on task
completion; WP3-I3 landed the admin-zone entrance via the generic
declaration mechanism.
Evidence: Dev PR #414 and live verification comment (R5, SELF).
Impact: progress line of 2026-10-11-rdm-two-trees-trace-audit-integration.md only.
Refs: WP3-I3/KTD4.
2026-10-12 03:24:50 +00:00
weichen 4a3ca0eb5a Backfill the S0-1 completion in the plan and index 2026-10-11 02:29:16 +00:00
weichen cc54cdac76 Backfill the E4 completion in the plan and index 2026-10-11 01:34:07 +00:00
weichen 077ebdf184 Backfill the E5 MiniMax-family A/B result in the plan and index 2026-10-10 17:27:25 +00:00
weichen 19b77a28bc Backfill the E3 completion in the plan and index 2026-10-10 16:39:02 +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 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
weichen f179de8847 Propose file previews plus reserved delete and fs-tool capabilities
Why: the user asked for a reviewable plan covering (a) previews for
office/image/markdown/code files and web links, docked in the right rail
or the system overlay, (b) keeping artifact deletion as a capability with
no UI entry, and (c) implementing fs tools without enabling them.

Evidence: the proposal assesses each idea against current architecture,
defines the FilePreview capability component with a format matrix and
lazy-loaded office parsers, the SSRF-guarded url-preview endpoint, the
gated sandboxed fs tool family, four delivery phases with acceptance
criteria, and decision points D1-D5 for the user.

Impact: documentation only; implementation follows in a separate task
after D1-D5 are settled.

Refs: task feature/file-preview-proposal; extends 2026-09-30
ui-redesign-and-auth.md section 9.
2026-09-30 16:03:13 +00:00
weichen 8e2657c824 Record the chat-order and artifact-files fix round in the proposal
Why: the delivery log for the 2026-09-30 afternoon fixes (part-order
fidelity, download channel, artifact file management, settings cascade)
belongs with the redesign proposal it extends, including the two durable
conventions it produced.

Evidence: adds section 9 with root causes, the render-order-equals-
storage-order rule, the compound-selector lesson for @ui shells on host
generic classes, and the full verification record (vitest/go suites plus
the 12/12 headless run).

Impact: future UI work inherits both conventions without rediscovering
the failure modes.

Refs: task feature/chat-order-artifact-files.
2026-09-30 15:22:33 +00:00
weichen abc1a6d784 Design the startup configuration surface and instance conventions
Why: the backend startup layer had only defaults and CLI flags; the
configuration standard's baseline (file, env, CLI layers, read-only explain,
instance isolation) requires the full pipe for dev/test/prod operation.
Evidence: fields and categories mapped one-to-one onto the existing app
Options; runtime settings API kept as the separate business-policy layer.
Impact: design record only; implementation follows in the backend repo.
Refs: standards/configuration.md; backend feature/config-surface
2026-09-30 04:15:03 +00:00
weichen 011fd13def Record the restore drill: safety net verified, chain gap closed
Why: the migration safety net (archive refs, bundles, SHA maps) had never
been exercised; verification rules treat untested recovery as a claim.
Evidence: 15/15 drill checks in a remote-only fresh environment (fsck, tip
and count matches, go test passing on the restored pre-rewrite tip, parent
gitlink reachability); the found gap — chain SHAs only in local bundles —
fixed by pushing refs/rewrite-backup/pre-2026-09-30-chain.
Impact: record-only; backend full-chain restore noted as a known, accepted
limitation.
Refs: 2026-09-30-history-migration.md; 2026-09-30-history-migration-sha-map.md
2026-09-30 04:03:24 +00:00
weichen 7bcc407704 Archive the commit-level SHA maps into the records
Why: the migration recovery data lived only on the migration workstation;
before the local backup bundles are retired, the maps belong in the
process repo per the single-source rule.
Evidence: combined from backups-2026-09-30/mapping-*.txt (10 repos + parent
+ restored chains); migration record pointer updated.
Impact: record-only; enables the scheduled local backup cleanup while
remote archive refs remain the full safety net.
Refs: 2026-09-30-history-migration.md
2026-09-30 03:54:59 +00:00
weichen c41087cf39 Record the empty-list and shared-checkout delivery lessons
Why: both 2026-09-30 incidents produced reusable causal knowledge (nil-slice
JSON null vs .map; shared-checkout conflicts and gitlinks pinning unpushed
commits) that meets the lesson bar of trigger, mechanism, checks, and
verified guards.
Evidence: incident records and fix PRs referenced inline; guards validated
in policy/adoption.md and the tool-adaptation matrices.
Impact: record-only; documents no product code.
Refs: Agent-System-Dev 8f7cf2d; Agent-System-Backend fix/empty-list-json
2026-09-30 03:48:20 +00:00
weichen f8e7eb913b Record the 2026-09-30 commit history migration
Why: the composition-wide message normalization rewrote ten repos; the
governed-migration rule requires bundle backups, archive refs, SHA maps, and
a recovery record in the process repo.
Evidence: per-repo commit counts and empty tree diffs captured during
execution; remote mains verified against local after force-push.
Impact: record-only; documents no product code. Also records the
multitenancy delivery defect (gitlinks pinning unpushed commits) and its
remediation.
Refs: Development-Guidelines 0.1.0-draft.7 multi-repo.md; Agent-System-Dev ef89fc8
2026-09-30 03:15:58 +00:00
weichen d42b1b606b Adopt the task-startup gate and commit format in AGENTS.md
Why: the composition adopted the delivery gate (Dev repo ef89fc8); resident
entry rules must carry the gate so agents load them without reading the
guidelines submodule first.
Evidence: text-only entry change; gate mechanics validated in the Dev repo
scratch-repo suite (19/19) and merged as PR weichen/Agent-System-Dev#1.
Impact: entry doc only; no code, contract, or build change in this repo.
Refs: Development-Guidelines 0.1.0-draft.7; Agent-System-Dev ef89fc8
2026-09-30 03:14:36 +00:00
weichen 13fd7b3a55 Document the dual-tier storage
Details (original message):
Document the dual-tier storage, multitenancy, and scaling delivery (proposal, implementation record, test report, usage guide)
2026-09-30 02:39:50 +00:00
weichen 1683e17b20 Final 0.1.0 test report
Details (original message):
Final 0.1.0 test report: all 15 acceptance items achieved (squad engine integration, model-routing override chain, context observation); 44 automated tests + 15 live checks; refresh usage and implementation records.
2026-09-29 18:30:46 +00:00
weichen d3a021391b Update reports for the agent-intent gate integration: 36 automated tests
Details (original message):
Update reports for the agent-intent gate integration: 36 automated tests, 13 live checks, release sha a3128fe1.
2026-09-29 18:12:57 +00:00
weichen 196baf7c8c Add the 0.1.0 usage report
Details (original message):
Add the 0.1.0 usage report, test report, plugin development guide, and P0-P5 implementation record; index the docs tree.
2026-09-29 18:07:44 +00:00
weichen e13eb5c38e R4: add the global native-deployment constraint
Details (original message):
R4: add the global native-deployment constraint (single static binary first, split native binaries only when necessary, no containers); storage becomes dual-profile (embedded SQLite default / optional native PostgreSQL); embed frontend via go:embed; native dev environment and release artifacts.
2026-09-29 17:26:34 +00:00
weichen 28278cd735 R3: add ingest parsing pipeline (MinerU as optional fallback/cross-check)
Details (original message):
R3: add ingest parsing pipeline (MinerU as optional fallback/cross-check), RAG retrieval, memory system designs; expand context management with budgeting; add model routing kinds for embedding/rerank.
2026-09-29 17:20:52 +00:00
weichen 8290cc6ef3 R2: defer domain plugins to the future roadmap
Details (original message):
R2: defer domain plugins to the future roadmap (fresh design, no legacy compat) and expand the skeleton extensibility and customizability design.
2026-09-29 17:16:29 +00:00
weichen 5b94550895 Add the system skeleton design, proposal, and phased implementation plan (pending review)
Details (original message):
Add the system skeleton design, proposal, and phased implementation plan (pending review).
2026-09-29 17:08:47 +00:00