Commit Graph
432 Commits
Author SHA1 Message Date
weichen a067b65114 Isolate the blocked lifecycle regression port
Why: A fixed regression port collided with another task-owned preview and blocked full verification.

Evidence: SELF full-suite failure identified port 18795; the isolated fixture replays without stopping the unrelated process.

Impact: Changes one test fixture and records actual HTTP/browser acceptance; no service operations or production settings changed.

Refs: fast-slow-u2-u3 final verification
2026-10-13 03:16:25 +00:00
weichen 58c05ab899 Pin deferred intake and actual HTTP browser coverage
Why: Acceptance must cover both immediate and deferred material flows.

Evidence: SELF fixed composition and isolated PostgreSQL receipts are retained; direct browser replay follows this producer fix.

Impact: Pins the observed flow repair and controlled test suite.

Refs: fast-slow-u2-u3 Task 7
2026-10-13 03:08:34 +00:00
weichen b126f3e54a Pin source version guards for acceptance
Why: Fixed composition checks must include the source preview version guard.

Evidence: SELF red-green and frontend build receipts are recorded in the task card.

Impact: Updates component pins and evidence only.

Refs: fast-slow-u2-u3 Task 7
2026-10-13 02:51:08 +00:00
weichen 15b88b7d82 Merge current main and preserve component work
Why: Final task verification must include the latest authoritative composition.

Evidence: Task-sync receipt records incoming main and component conflicts; each component preserves both branches.

Impact: Retains artifact typed-nil recovery, RDM role rejection state, lifecycle governance, and task checkpoint changes.

Refs: fast-slow-u2-u3 task-sync
2026-10-13 02:44:19 +00:00
weichen 005c628349 Pin the controlled evaluation harness
Why: Runtime checks require fixed component inputs and task-owned process identity.

Evidence: SELF live compilation receipt in the task card; model calls have not started.

Impact: Pins the current evaluator without touching existing instances.

Refs: fast-slow-u2-u3 Task 7
2026-10-13 02:41:16 +00:00
weichen 98b9c6c7cf Compose persistent work snapshots and material checkpoints
Why: Fast feedback and slow-channel discoveries need a faithful progressive user interface.

Evidence: SELF startup, contract, component, atomicity, source, and recovery receipts are recorded in the task card; final composition and live acceptance are pending.

Impact: Pins the current Core, Backend, Frontend and UI implementation without deploying existing services.

Refs: Approved fast-slow-u2-u3 r0.1; feature-fast-slow-u2-u3-plan task card
2026-10-13 02:36:57 +00:00
weichen e2e3d25418 Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=6193db1b548b964ab3133557ddbb9d83a3643d31.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-13 02:00:48 +00:00
weichenandCursor b35d9946bc Pin the merged artifact-store and plan commits
Why: Dev has to follow the commits that landed on Backend and Documents main, which share trees with the drilled objects.
Evidence: Backend dc736e339d01 tree 498f61947564 equals 46073d30. Documents 05c13a42b14d tree equals 5335499. GATE run 2794 on 6d8b746 succeeded before this pin.
Impact: gitlinks move to the merge commits. Second-instance writes stay closed.
Refs: #186 #92 #497
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-13 01:54:24 +00:00
weichenandCursor f7053f393b Record the K4 retest and pin the plan revision
Why: the restored drill passed artifact recovery, and the handbook, checklist, and collaboration plan have to say so without opening write traffic.
Evidence: backup-20261013-013354 on Dev a83588dd and backend 46073d30; K1-K7 true, RPO 65s, RTO 3s, five artifacts matched, cross-user access 404. SELF. Documents 5335499 is PR #92.
Impact: C5 is marked SELF-pass. Second-instance writes stay closed until REPLAY or CI and a second host exist.
Refs: docs/svc.md docs/release-multi-instance.md modules/documents
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-13 01:45:33 +00:00
weichen 1f1b2e12e6 Pin frontend to the honest roles-panel rejected state
Why: pick up Agent-System-Frontend dcd2699 (PR #75) so the Dev combined
CI validates the RDM roles panel rejected-state fix together with the
svc.sh rdm-admin recovery tooling in this task.
Evidence: gitlink 43d1933 -> dcd2699; merge-base --is-ancestor of the
reviewed head 0159f00 into frontend main OK (SELF).
Impact: gitlink bump only; combination validated by make test in this
worktree before PR.
Refs: task card feature-rdm-admin-lockout-recovery (R3/I2)
2026-10-13 01:35:58 +00:00
weichenandCursor ca0ab46d5b Pin the blobstore fallback and cover cross-instance uploads
Why: an unset object store must keep artifact bytes available to the other process, which the store-level test does not execute.
Evidence: cross_artifact_roundtrip failed with EOF on backend c6fb130 and passed on 46073d30 (SELF, isolated u7drill-k4).
Impact: Dev now builds the fixed backend. Second-instance write traffic stays closed.
Refs: modules/backend tests/integration/multi-instance/multi_instance_test.go
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-13 01:26:29 +00:00
weichen 1367a806cf Pin work contracts and material identity prerequisites
Why: retain a coherent combination before adding the atomic projection.

Evidence: Core suite and FE UI types; material tests and startup receipts recorded as SELF.

Impact: exact component gitlinks and task record.

Refs: U2/U3 Tasks1-2
2026-10-13 01:16:44 +00:00
weichen 788c2c8f77 Record the scoped U2 and U3 planning candidate
Why: preserve current-source evidence and the reviewable next increment.

Evidence: READY receipt at5212fef, exact source and open-PR audit; plan r0.1 remains pending stage5 review.

Impact: task record, proposal link and exact Documents pin; no business code or runtime changes.

Refs: fast-slow r1.1, work-companion PR493
2026-10-12 23:44:37 +00:00
weichen e6194a1706 Preserve final candidate checks and planning progress
Why: Keep exact component and verification progress recoverable before final integration gates.

Evidence: Full SELF receipts remain in the task card; independent replay and platform gates are separately identified.

Impact: Documentation and Documents version only.

Refs: feature/work-companion-ui U5
2026-10-12 19:07:32 +00:00
weichen 0b59325e19 Pin corrected workbench components and preserve review evidence
Why: Bind the final candidate to actual review fixes and stronger interface acceptance.

Evidence: Full SELF red/green receipts and original independent report identities are retained; GATE and final review remain separate.

Impact: Pin UI0da2e3a and Frontend43d1933; no Backend/Core or running service change.

Refs: UI01-UI13, ce-code-review UI and Frontend findings, work-companion-ui
2026-10-12 18:59:54 +00:00
weichen 04f007bc06 Preserve combined build and real-interface smoke evidence
Why: Keep a recoverable record of the current validated combination and honest planning status.

Evidence: Full SELF make build and isolated two-case HTTP browser receipts are retained in the task card.

Impact: Documentation and Documents pin only; no running service change.

Refs: feature/work-companion-ui, U5
2026-10-12 16:59:30 +00:00
weichen 3902cf27f0 Pin verified workbench candidates and record requirement traceability
Why: Bind integration verification to committed components and the approved UI requirements.

Evidence: The task card retains full SELF receipts, reviewer replay identity and pending GATE status.

Impact: Pin UI CI bootstrap fix and browser summary assertion; retain unrelated upstream component versions.

Refs: UI01-UI13, work-companion-ui U5
2026-10-12 16:54:23 +00:00
weichen 5d14e7e96b Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=2c016931044bebdc4a114c1ca1127d1b40d4ab17.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync

# Conflicts:
#	modules/documents
2026-10-12 16:33:43 +00:00
weichen 2eace3ac80 Pin the progressive workbench candidate and preserve implementation evidence
Why: verify the exact UI and Frontend combination under the approved design.

Evidence: imported startup plus SELF unit, type, build, fixture browser and real HTTP/MockRunner smoke receipts in the task card.

Impact: three-pane presentation rules and fixed component revisions; existing services remain untouched.

Refs: work-companion-ui design r0.2, plan r1 and UI01-UI13.
2026-10-12 16:19:54 +00:00
weichen e7b969a905 Retain existing-store lifecycle tests during main synchronization
Why: Main D1 now shares the same explicit fixture initialization contract.

Evidence: Both real SQLite and temporary PostgreSQL initialization paths
were independently replayed; capabilities JSON assertions are preserved.

Impact: Resolve duplicate PG setup through the tested helper; preserve
all main lifecycle changes and the rollback directory protection.

Refs: Dev #483/#485; D1 existing-store identity contract
2026-10-12 15:57:05 +00:00
weichen d4a83318b1 Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=99048dda1f48bccb3d5d798050d7beeea2907177.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-12 15:07:47 +00:00
weichenandCursor 7cc553d5a3 Merge origin/main into feature/svc-d1-identity-flow
ci / test-pg (pull_request) Successful in 1m52s
ci / test (pull_request) Failing after 2m51s
Why: main already has one release transaction, so this branch keeps that path and only isolates update and recover in a clean child.
Evidence: SELF bash -n scripts/svc.sh; python3 -m unittest identity/recover/deploy/u2/lifecycle pin 92 tests OK (2 skipped), then 66 tests OK after dropping the obsolete journal hook.
Impact: deploy uses releases/ and deploy.journal; the lifecycle child reconciles that journal before deploy or recover. Backend pin is 0f192a4.
Refs: #485
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 15:06:55 +00:00
weichen 38243c7a57 Prepare the authorized progressive workbench implementation
Why: isolate the approved interface work and fix its component baseline.

Evidence: imported startup precheck SELF receipt; source requirements and plan recorded in Documents.

Impact: task metadata, project links and authoritative UI/Frontend baselines; existing service state is untouched.

Refs: UI01-UI13 and work-companion-ui implementation plan r1.
2026-10-12 15:03:28 +00:00
weichen 9f7b11675e Preserve rollback artifacts across same-second deployments
Why: Second-resolution release IDs let staging delete a previous release
when a same-source deployment ran within the same clock tick.

Evidence: Fixed-clock rollback regression fails before and passes after;
250 governance checks pass. Independent review replays collision and
copy-failure protection; receipts are in the primary task card.

Impact: Add invocation identity and exclusive directory creation; keep
old artifacts intact. Also retain the latest compatible frontend pointer.

Refs: User-approved I2; Dev #483; Frontend #71/#72
2026-10-12 14:50:09 +00:00
weichenandCursor e8f84b8cf1 Add a reversible release switch and a lifecycle pin
Why: an update that stops the old process and overwrites the binary cannot
get the previous version back, and a migration the old binary cannot read
must be refused before that stop. CI also had no fixed RDM SHA to build from.
Evidence: python3 -m unittest tests.test_svc_identity tests.test_svc_recover tests.test_svc_deploy_txn tests.test_lifecycle_pin passed. make test-lifecycle exits 2 when AGENT_PG_TEST_DSN is unset.
Impact: installs land in releases/<rid> and current switches with mv -T.
Deploy keeps the desired state and rolls back a non-terminal journal.
Schema compatFloor above the installed target is refused unless
--migrate-schema --confirm is paired with a backup. test-lifecycle fails
closed without PostgreSQL and an RDM checkout. Login stays NOT_RUN.
Refs: recovery plan r3.1 D2 and D3; Backend feature/d1-identity-open

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 14:43:27 +00:00
weichen 99bbbc089e Gate svc lifecycles on real Dev and RDM artifacts in CI
Why: stub suites proved the script logic but not real artifact
behavior (the 2026-10-12 incidents passed all stub tests); the report's
U3 requires real-combination gates, and realcombo dry-runs exposed two
real gaps: fresh deploys closed identity governance one lifecycle late,
and pg-bound identity calls put the DSN on the command line.
Evidence: make test exit 0; local realcombo dry-run 16 OK (rows in the
task card); CI adds svc-realcombo (SQLite, both real binaries, full RDM
track) and a real-PG identity step on test-pg with env-delivered DSN.
Impact: tests/test_svc_realcombo.py (SVC_TEST_REAL gate, explicit
NOT_RUN otherwise); ci.yaml new job + test-pg step (RDM clone via
trusted-base URL-scoped token header, allowlist addition reviewed in
this PR); svc.sh delivers identity DSN via AGENT_SYSTEM_DSN and runs
manifest adoption in the same deploy that first registers svc.env;
modules/backend pinned to main (env fallback, backend #182).
Refs: .task/feature-svc-u3-realcombo.md; user goal directive 2026-10-12
(U3); backend #182; RDM #285.
2026-10-12 14:27:59 +00:00
weichen 9964fe3608 Restore the compatible frontend combination for saved surface reload
Why: Dev #452 selected a frontend pointer lacking the previously merged
SurfaceMeta hydration fix and blanked saved-page conversations.

Evidence: Independent review and regression red/green receipts are in
.task/feature-surface-black-screen-recovery.md; make test/build follow.

Impact: Pin the frontend that retains fast-slow and saved-page recovery;
no backend, UI token, storage or permission configuration change.

Refs: Frontend #68; Dev #454; Dev #452; surface-black-screen-recovery
2026-10-12 14:21:00 +00:00
weichenandCursor 451c95be70 Gate deploys on versioned identity capabilities
Why: probing identity by running the subcommand still launched old RDM
builds, and ensure on a missing database created an empty one. A batch
update also inherited the caller's AGENT_SYSTEM_* variables.
Evidence: python3 -m unittest tests.test_svc_identity tests.test_svc_recover passed (41 tests, 1 skipped). tests.test_svc_lifecycle_isolation caller-env and restart cases passed.
Impact: capability probes use version --json only. Established instances
refuse a missing identity row until adopt --confirm. update and recover
run each service in a clean environment. serve reads a 0600 serve.env
and does not inherit the caller environment. Backend and documents pins
move to the D1 identity and recovery-plan commits.
Refs: recovery plan r3.1 D1; Backend feature/d1-identity-open; RDM feature/d1-version-json

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 14:09:36 +00:00
weichen aba6a25607 Pin modules/backend to acabb85 for the public identity CLI
Why: Backend #180 moved the identity CLI to pkg/identity (shared with
Agent-System-RDM per PR 276); Dev main should consume it so composed
binaries carry the same identity semantics and capabilities output.
Evidence: make test exit 0 (combined suite on the bumped pin);
make test-pins ok; rows in the task card.
Impact: gitlink only (bbe9773 -> acabb85, spans #177/#179/#180).
Refs: .task/feature-pin-backend-identity-cli.md; user goal directive
2026-10-12 (implement remaining U1/U2/U3 items in order).
2026-10-12 13:27:26 +00:00
weichen f977f36351 Merge remote-tracking branch 'origin/main' into feature/pin-backend-read-consumption
# Conflicts:
#	modules/backend
2026-10-12 12:35:34 +00:00
weichenandCursor 7ae8423465 Merge authoritative main into the task branch
ci / test-pg (pull_request) Successful in 2m10s
ci / test (pull_request) Successful in 3m52s
Why: resolve modules/documents gitlink conflict against updated main.
Evidence: Documents origin/main=3cc64380 (includes #84/#87).
Impact: pin modules/documents to Documents main tip.
Refs: #452
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 12:20:41 +00:00
weichen 0529e53b00 Pin backend to EXT-8b read-path consumption
Why: Backend PR #179 合入六处读面资源级咨询(EXT-8b),Dev 组合消费。
Evidence: modules/backend bbe9773→830fea3(Merge #179);组合验证见任务卡 make test 证据行。
Impact: 仅 gitlink。
Refs: Agent-System-Backend#179
2026-10-12 12:20:02 +00:00
weichen 1dece88ab0 Merge pull request 'Fix surface list hydrate black screen on refresh' (#454) from fix/surface-list-hydrate into main
ci / test-pg (push) Successful in 2m16s
ci / test (push) Successful in 3m35s
Reviewed-on: https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Dev/pulls/454
2026-10-12 12:18:10 +00:00
weichenandCursor caa39f2120 Merge authoritative main into the task branch
Why: keep frontend hydrate pin while absorbing main for Dev PR #454.
Evidence: resolved frontend@$ours from feature tip.
Impact: PR should become mergeable after Frontend #68 lands.
Refs: Dev #454; Frontend #68
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 12:11:27 +00:00
weichenandCursor ae02201803 Merge authoritative main into the task branch
Why: resolve modules/documents gitlink conflict for Dev PR #451.
Evidence: Documents feature tip ebf655c merges main@1048e7c with r1.1/U1 plan.
Impact: pin documents to ebf655c; PR should become mergeable after Docs #84 lands.
Refs: Documents #84; Dev #451
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 12:07:20 +00:00
weichen afa094f004 Pin backend to EXT-8b resource authorization contract
Why: Backend PR #178 合入 EXT-8b 公开资源授权契约(U9 首切片),Dev 组合消费。
Evidence: modules/backend 5e8ada7→bbe9773(Merge #178);组合验证见任务卡 make test 证据行。
Impact: 仅 gitlink。
Refs: Agent-System-Backend#178
2026-10-12 11:46:33 +00:00
weichen f830d3251d Pin frontend to permission matrix tab
Why: Frontend PR #70 合入项目设置「项目权限」页签(消费 RDM #266 矩阵解释读面),Dev 组合消费。
Evidence: modules/frontend 336ec94→c4ebcf5(Merge FE#70);组合验证见任务卡 make test 证据行。
Impact: 仅 gitlink。
Refs: Agent-System-Frontend#70
2026-10-12 10:58:12 +00:00
weichen 1292a69d74 Pin frontend to RDM management pages
Why: Frontend PR #69 合入 U6 管理页面(角色/成员/文档职责·整文审签,命令面门控),Dev 工作区组合消费。
Evidence: modules/frontend cc233fe→336ec94(Merge PR #69);组合验证见任务卡 make test 证据行。
Impact: 仅 gitlink。
Refs: Agent-System-Frontend#69
2026-10-12 10:29:04 +00:00
weichen 832cdf8a92 Pin documents to RDM function plan r1
Why: Documents PR #85 合入方案 r1(功能/实现矩阵 + U1-U9 工作包),Dev 工作区需消费该文档入口。
Evidence: modules/documents 8d0810b→1048e7c(Merge PR #85);组合验证见任务卡 make test 证据行。
Impact: 仅 gitlink;无代码行为变化。
Refs: Agent-System-Documents#85
2026-10-12 09:31:23 +00:00
weichenandCursor cc9556c3e8 Pin frontend surface list hydrate fix
Why: Refresh black-screened because SurfaceMeta was written into surfaces
and PreviewPane read identity.surfaceId.
Evidence: make test (receipt /tmp/surface-hydrate-make-test2.json);
Frontend PR https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Frontend/pulls/68
Impact: Pins frontend@0f52634; openConversation hydrates via surfaceGet
Refs: fix/surface-list-hydrate

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 08:38:09 +00:00
weichenandCursor 30788452a8 Repin UI after knip-private helper fix
Why: Keep Dev gitlink on the knip-clean UI tip for combo test.
Evidence: UI knip 57<=57; awaiting make test-ui.
Impact: modules/ui gitlink only.
Refs: UI 83e80f5
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 08:00:04 +00:00
weichenandCursor 97643327f8 Pin Core Backend UI Frontend for fast-slow U1
Why: Combine U1 component SHAs so Dev can run make test against the
status mapping and L1 card body changes.
Evidence: Component unit tests; combo make test follows.
Impact: gitlinks only; R03-c/U2/U3 still out of scope.
Refs: .task/feature-fast-slow-display-u1.md

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 07:45:38 +00:00
weichenandCursor 6671a04f87 Pin Documents U1 plan approval status
ci / test-pg (pull_request) Successful in 1m56s
ci / test (pull_request) Successful in 4m9s
Why: Keep Dev gitlink aligned with approved U1 plan revision.
Evidence: Documents tip after approval commit.
Impact: Design branch documents pin only.
Refs: feature/fast-slow-display-design
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 07:39:03 +00:00
weichenandCursor bfc2fd9882 Merge origin/main into feature/fast-slow-display-design
Why: Clear SYNC_REQUIRED so the design branch tracks current main
while keeping Documents fast-slow r1.1 + U1 plan commits.
Evidence: make task-sync; Documents merge to 5b71525.
Impact: Submodule pins follow origin/main except Documents feature tip.
Refs: policy/delivery.md task-sync

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 07:33:43 +00:00
weichenandCursor c60ef6d11f Record fast-slow display r1.1 approval and U1 plan
Why: Capture design approval, R03 incremental split, U1 exit
whitelist, and stage-5 U1 plan pointer after user confirmation.
Evidence: Documents SHA f9d96df; design-only, no runtime tests.
Impact: Task card stage 1-4 pass; U1 plan awaits stage-5 approval.
Refs: .task/feature-fast-slow-display-design.md

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 07:31:55 +00:00
weichen e7f0efad97 Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=1938b442b19cc18ee05fbab919873635c91eba96.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-12 06:44:35 +00:00
weichenandCursor b2b5409109 Pin documents r2 progress update after U1-U7
Why: Planning progress must live in the proposal, not chat;
Documents #83 merged the r2 header, preferred-next, and lesson.
Evidence: Documents merge 8d0810b; Dev gitlink pin.
Impact: Dev main readers see U1-U7 code-done vs capacity pending.
Refs: Documents #83; feature/u7-capacity-wrap-measure

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 06:40:10 +00:00
weichenandCursor cbe753c51f Pin backend for material-intake lifecycle flake fix
Why: Backend #176 aligned the test wait with CardDone + materialActive
release so done-dedup no longer races deliverNotices.
Evidence: Backend CI success on c963347; local -count=20 PASS (evidence on card).
Impact: Dev consumes backend@5e8ada7; test-only, no product behavior change.
Refs: Backend #176; fix/material-intake-lifecycle-flake

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-12 06:33:09 +00:00
weichen 66155d3feb Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=b008bd94ad0fe6f520a8500f40ed6297251762b7.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-12 06:07:02 +00:00
weichen b008bd94ad Merge pull request 'Gate the rdm audit entry on command availability (frontend pin + plain-base e2e)' (#418) from feature/rdm-audit-capability-gate into main
ci / test-pg (push) Successful in 2m9s
ci / test (push) Successful in 3m41s
Reviewed-on: https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Dev/pulls/418
2026-10-12 06:04:40 +00:00