Commit Graph
106 Commits
Author SHA1 Message Date
weichenandCursor 479095be47 Add fast-slow completion signal evaluation for user decision
ci / svc-realcombo (pull_request) Successful in 3m5s
ci / test (pull_request) Failing after 8m13s
ci / test-pg (pull_request) Successful in 11m29s
Why: user selected evaluating whether MiniMax tool_calls + Usage + clean EOF can count as completion
Evidence: r0.4/r0.5/r0.6 probe receipts; MiniMax OpenAPI spec fetched 2026-10-19
Impact: docs and task card only; no code or paid requests
Refs: .task/feature-fast-slow-completion-signal-eval.md
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-19 14:30:04 +00:00
weichen ebcdaf155b Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=7716b28cfff5200e7cfe9ec75aff5bcd71b234ed.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-19 03:58:29 +00:00
weichen 5fa2ecbc74 Initialize super-admin plan and task card
ci / svc-realcombo (pull_request) Successful in 2m26s
ci / test-pg (pull_request) Failing after 3m23s
ci / test (pull_request) Successful in 8m15s
Why: Set up the task card and approved implementation plan for environment-configured super-admin.

Evidence: make precheck and task-start validated.

Impact: Establishes task metadata and implementation baseline.

Refs: #0
2026-10-19 01:41:12 +00:00
weichen 77fa120827 Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=d9ac28f89159e17781e2a8ef3094965130f29d2f.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-19 01:39:07 +00:00
weichen fd00a06096 Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=eef7e5e778cabcb6216f74b74213a3d7511f383b.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-18 18:46:25 +00:00
weichen 3812031e6b Preserve approved plan and complete child registry
ci / svc-realcombo (pull_request) Successful in 2m15s
ci / test (pull_request) Successful in 7m40s
ci / test-pg (pull_request) Successful in 8m8s
Why: Keep the approved plan accessible after task worktrees are recycled and mark all child delivery results.

Evidence: Plan snapshot matches original bytes; U6 #624 merged as 84aa411 with exact-head CI success.

Impact: Task and plan metadata only; final main verification remains pending.

Refs: PR #616
2026-10-18 18:45:41 +00:00
weichen d5d6f7023e Merge authoritative main into the task branch 2026-10-18 12:31:36 +00:00
weichen fd2c13f4d8 Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=ba81d638a6c845d0acde6896f4001bed096ba26c.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-18 11:40:16 +00:00
weichenandCursor 858d566777 Plan RDM settings phase 1a and fill the task card
Why: RDM settings completion is split into phases; phase 1a covers the
Picker hardening, R2 member search and the acceptance false PASS fix
that do not conflict with IAM U4.
Evidence: plan and card only; no implementation in this commit.
Impact: none on runtime.
Refs: .task/feature-rdm-settings-phase1a.md

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-18 10:49:34 +00:00
weichenandCursor 06dd79cf9a Specify the regulations citation contract for U7
ci / test-pg (pull_request) Failing after 1m25s
ci / svc-realcombo (pull_request) Successful in 1m56s
ci / test (pull_request) Successful in 7m24s
Why: RDM and Frontend units must implement one citation interface.
Evidence: Derived from the merged U6 evidence batch model (RDM 703e41d) and current cockpit/inspect read models.
Impact: Spec only.
Refs: docs/superpowers/plans/2026-10-18-regulations-knowledge-base-plan.md U7
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-18 10:42:51 +00:00
agent-exec-transport b829de223b agent-exec transport 060f4b8e7beeb98874301408e53d3249/2c17fb638bb6 2026-10-18 09:26:56 +00:00
weichenandCursor 4252c91952 Record the regulations corpus provenance and rights inventory
ci / svc-realcombo (pull_request) Successful in 2m22s
ci / test (pull_request) Successful in 7m27s
ci / test-pg (pull_request) Successful in 8m43s
Why: U1 of the regulations KB plan requires a verified import inventory before any schema or ingestion work.
Evidence: dump sha256 matches manifest; 2878/2907 originals hash-verified in a disposable pgvector container (SELF).
Impact: Spec only; no corpus data or product code changed.
Refs: docs/superpowers/plans/2026-10-18-regulations-knowledge-base-plan.md U1
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-18 09:21:36 +00:00
weichenandCursor f61737bc3e Add the regulations knowledge base plan and initiative charter
ci / svc-realcombo (pull_request) Successful in 2m39s
ci / test (pull_request) Successful in 8m5s
ci / test-pg (pull_request) Successful in 9m25s
Why: Start the regulations KB initiative from the approved plan.
Evidence: precheck READY (/tmp/regkb-precheck-20261018b.json), triage NEW.
Impact: Planning and task records only.
Refs: docs/superpowers/plans/2026-10-18-regulations-knowledge-base-plan.md
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-18 09:18:08 +00:00
weichenandCursor 5608d52867 Scope the per-repo evidence pointer and correct the archive count
Why: closure re-review (head ad4485e) left the per-repo evidence sentence as an unlabelled universal claim; the API check missed Agent-System-UI (15 archived cards, not 14).
Evidence: Gitea contents API on Agent-System-UI main (SELF); PR #604 run 3694 job logs for the flaky backend tests.
Impact: docs/superpowers/plans and .task only.
Refs: PR #604
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 13:53:01 +00:00
weichenandCursor ad4485ec51 Replace the unverified card-archive claim with API-checked facts
ci / svc-realcombo (pull_request) Successful in 2m10s
ci / test-pg (pull_request) Failing after 2m20s
ci / test (pull_request) Failing after 6m36s
Why: closure re-review (head d2fb19a) blocked the bare claim that every adoption card was archived.
Evidence: Gitea contents API on each repo main (SELF): 14 archived adoption cards, no open ones; Guidelines records adoption in policy/guidelines-adoption.md (PR #9).
Impact: docs/superpowers/plans and .task only.
Refs: PR #604
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 12:25:44 +00:00
weichenandCursor d2fb19afd7 Make the CLOSED state conditional and complete the closing card
ci / svc-realcombo (pull_request) Successful in 2m14s
ci / test (pull_request) Successful in 7m26s
ci / test-pg (pull_request) Successful in 8m53s
Why: independent review blocked a869453: CLOSED asserted cleanup of other repos without evidence and before this PR's own merge/cleanup; the archived card kept template placeholders.
Evidence: review output /tmp/review-gov-dev-closed.out (VERDICT BLOCK, SELF-held, out of tree).
Impact: docs/superpowers/plans and .task only; no code.
Refs: PR #604
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 11:57:08 +00:00
weichenandCursor 153861c658 Mark development-governance-v2 closed in the master record
ci / svc-realcombo (pull_request) Successful in 2m17s
ci / test (pull_request) Successful in 7m35s
ci / test-pg (pull_request) Successful in 9m21s
Why: Dev PR #602 merged and passed main CI, so all 17 formal repositories are ADOPTED_ACTIVE.
Evidence: Dev main CI run 3687 on f563ed6 (GATE); per-repository merge commits and main CI in the matrix (GATE).
Impact: planning record and task card only.
Refs: https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Dev/pulls/602
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 11:45:13 +00:00
weichenandCursor 0e27c7b5d7 Mark the Dev row PR_OPEN until the merge-time CI record
ci / svc-realcombo (pull_request) Successful in 1m54s
ci / test (pull_request) Successful in 6m55s
ci / test-pg (pull_request) Successful in 7m41s
Why: closure Review: the PR-head CI cited in the master record was bound to an earlier head.
Evidence: GATE for the final head is recorded on the task card before merge.
Impact: planning record only.
Refs: https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Dev/pulls/602
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 10:33:28 +00:00
weichenandCursor 6e7decba87 Keep the master record honest about the pending Dev merge
ci / svc-realcombo (pull_request) Successful in 2m0s
ci / test (pull_request) Successful in 7m0s
ci / test-pg (pull_request) Successful in 7m52s
Why: independent Review blocked claiming Dev adopted and the task closable before PR #602 merges, and the unlinked Backend rerun.
Evidence: Dev PR-head CI run 3682 on 437a32e (GATE); Backend main rerun run 3570 job 5779 success (GATE); make test-governance on 437a32e (SELF).
Impact: planning record and task card only.
Refs: https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Dev/pulls/602
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 10:22:42 +00:00
weichenandCursor 437a32ead2 Mark all formal repositories adopted in the master record
ci / svc-realcombo (pull_request) Successful in 1m56s
ci / test (pull_request) Successful in 6m57s
ci / test-pg (pull_request) Successful in 8m0s
Why: Agent-System-UI and Agent-Squad merged and passed main CI; only this Dev PR remains.
Evidence: main CI statuses on a313d45 (UI) and 9ded893 (Squad) (GATE); task-sync on 32ccecb (SELF).
Impact: planning record and task card only.
Refs: https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Dev/pulls/602
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 10:06:17 +00:00
weichenandCursor 71a0572e00 Update the governance v2 master record with the adoption matrix
ci / svc-realcombo (pull_request) Successful in 2m12s
ci / test (pull_request) Successful in 7m40s
ci / test-pg (pull_request) Successful in 8m39s
Why: Phase 6 adoption PRs merged across the formal repositories; the master record still showed PLANNED rows.
Evidence: merge commits and main CI per repository (GATE, Gitea statuses); make test-governance 421 tests OK on 2b2268f (SELF).
Impact: planning record and task card evidence only.
Refs: docs/superpowers/plans/2026-10-16-development-governance-v2-master.md
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 09:44:31 +00:00
weichenandCursor 2b2268fd87 Close the Guidelines adoption record with CI and Review results
Why: Guidelines PR #9 passed the closure Review and its candidate HEAD CI.
Evidence: governance CI run 3644 on 7cafc7d (GATE); closure Review APPROVE (REPLAY).
Impact: planning record only.
Refs: https://git-home.u1680832.nyat.app:30319/weichen/Development-Guidelines/pulls/9
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 09:31:21 +00:00
weichenandCursor e3f05d4e9c Record the Guidelines review repairs and owner exception decision
Why: Guidelines PR #9 review repairs ran through the shared executor; repair-r2 fail-stopped and was redone as r3.
Evidence: docs/superpowers/plans/evidence/guidelines-adoption/03-04 (SELF): governance check --guidelines-self and agent-exec validate on 7cafc7d.
Impact: planning record and evidence only.
Refs: docs/superpowers/plans/2026-10-17-guidelines-governance-adoption.md
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 09:24:43 +00:00
weichenandCursor efa3d48a9b Freeze the adoption case script and record the r1 fail-stop
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 08:52:32 +00:00
weichenandCursor 2a200f07ff Record the Development-Guidelines governance adoption card and evidence
Why: Development-Guidelines stores no process records (CONTRIBUTING.md), so its Phase 6 adoption card and evidence live with the governance master record in Dev.
Evidence: docs/superpowers/plans/evidence/guidelines-adoption/00-02 (SELF): governance check --guidelines-self, agent-exec validate, adoption cases ALL PASS.
Impact: planning records only.
Refs: docs/superpowers/plans/2026-10-16-development-governance-v2-master.md
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 08:38:34 +00:00
weichen 853df82add Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=dc01517de1cfb86abbd26dfb7932023763019d5d.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-17 06:52:40 +00:00
weichenandCursor 67acf498ee Record P5-B retirement and refresh the governance master record
Why: the Python executor was retired through the shared executor and Phase 5/7 states changed (DM #17/#18 merged, Phase 6 pilot started).
Evidence: make test-governance 421 tests OK (SELF, card evidence); git grep finds no live Python executor reference.
Impact: task card and master record only.
Refs: .task/feature-dev-shared-executor-switch.md; DM PR #17, #18, #19
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 06:52:34 +00:00
weichen 2dec70e5ef Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=682a4e8263fe007cb102fc9deaf71bda514ee387.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-17 05:39:39 +00:00
weichenandCursor fb88e77038 Refresh the governance master record through Phase 5
Why: The master record still showed Phases 0-4 as PLANNED after they merged.

Evidence: Dev main aee351a/682a4e8, Guidelines main 2688fd2, DM main 183e764, PR #585/#595/#596/#597.

Impact: Plan document only.

Refs: development-governance-v2
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 04:46:44 +00:00
agent-exec-transport d2aec965e1 agent-exec transport 4300342755664db5bf38e5c1e7288997/f624ed357fe5 2026-10-17 03:50:13 +00:00
agent-exec-transport ad48fa0404 agent-exec transport 5223ef9080804127831db740ad18446b/aa76b5b5c26e 2026-10-17 03:29:00 +00:00
weichenandCursor 208f4e8db7 Record owner decisions on executor distribution and CI credentials
ci / test-pg (pull_request) Failing after 1m26s
ci / svc-realcombo (pull_request) Successful in 1m47s
ci / test (pull_request) Successful in 7m23s
Why: Phase 5-7 depend on how repositories obtain the shared executor and how CI reads private submodules.
Evidence: Owner answers on 2026-10-17; DM secret list shows SUBMODULE_TOKEN (SELF).
Impact: Governance master plan only.
Refs: docs/superpowers/plans/2026-10-16-development-governance-v2-master.md
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-17 01:20:36 +00:00
agent-exec-transport b013be1eb3 agent-exec transport e07a99259f354adca2d4abddc1b30e6f/51f9e8e4e347 2026-10-16 14:30:50 +00:00
agent-exec-transport 0a1e777f3c agent-exec transport bc30a0b526264165a2926961625b9d47/c97a45ca27e9 2026-10-16 13:57:51 +00:00
weichenandCursor d46dec31de Correct governance-v2 status and add the cross-repo master record
ci / test-pg (pull_request) Successful in 8m26s
ci / svc-realcombo (pull_request) Successful in 1m55s
ci / test (pull_request) Successful in 5m53s
Why: the task card claimed all units complete while confirmed blocking defects remain in triage and the Guidelines contract.

Evidence: review of task.sh triage (count-based JOIN, local-only scan) and Guidelines PR #7 diff; CI runs 3417/3419 apply only to superseded objects.

Impact: initiative stops accepting requirements; status uses the PLANNED..CLOSED model; remaining phases tracked in one master record.

Refs: PR #585, Guidelines PR #7
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-16 12:16:21 +00:00
weichen 714d641be8 Document stock repos adoption matrix and new project admission spec
Why:
Provide phased rollout roadmap (Phases 1-5) for stock repositories and mandatory defaults for new projects under governance v2.

Evidence:
Specification documented in docs/superpowers/specs/2026-10-16-stock-repos-adoption-matrix.md.

Impact:
Clarifies U6 and U7 governance deliverables for multi-repo rollout without ambiguity.

Refs:
feature/development-governance-v2
2026-10-16 08:42:37 +00:00
weichen 24185ac066 Document shared executor architecture audit for governance v2
Why:
Audit differences between Agent-System-Dev agent_exec.py and Development-Manager runner.go to clarify layer responsibilities for governance v2.

Evidence:
Architecture specification document created in docs/superpowers/specs/.

Impact:
Provides guidance for U3 shared executor convergence without duplicating logic across repositories.

Refs:
feature/development-governance-v2
2026-10-16 07:16:07 +00:00
weichen d58d5bc1dd Review design docs and freeze cockpit contract decisions
Why: user approved the four design documents and authorized implementation
(/goal); the plan's section-7 tradeoffs gate the I1 public DTO and had to be
frozen before any implementation unit starts. A read-only audit of the RDM
backend (Agent-System-RDM main 5df66106) supplied the source facts.

Evidence: audit findings recorded in rollout section 7 (tree is doc->section
only, no confidence field, no persisted conflict entity, per-project event seq
complete); review fixes folded into the read-model contract (statReasons,
structuralGap, AssertionSummary); precheck receipt READY imported via
task-resume.

Impact: unlocks I1 implementation in the RDM repo; design deliverable ready
for PR/CI/merge; no business code, pins, database or deployment touched.

Refs: .task/feature-document-visualization-plan.md
2026-10-16 06:25:19 +00:00
weichen 5466f2cddb Document visualization cockpit design 2026-10-16 06:03:17 +00:00
weichen 6b2173b9dc Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=dc86a023605d00fccca1b9679b4cdad96373bdee.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-15 10:33:58 +00:00
weichenandCursor 265bcdcbba Warn when a seeded model key does not become active
Why: Settings plaintext loses to secret_keys, so replacing the env key did not change the key a conversation actually sent.
Evidence: python3 -m unittest tests.test_svc.SvcDbRecoveryTests.test_seed_replaces_old_system_secret tests.test_svc.SvcDbRecoveryTests.test_seed_warns_when_old_secret_stays_active tests.test_svc.SvcDbRecoveryTests.test_seed_puts_without_credentials_when_auth_off (SELF).
Impact: Embedded databases now compare the active system secret fingerprint after seeding, and the backend gitlink carries the adoption fix.
Refs: fix/model-key-secret-overlay
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-15 10:33:28 +00:00
weichen 5d7f6c79af Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=919f75cf7b39ca357e212a08a0ba5ba3d9a79b51.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-15 08:21:50 +00:00
weichenandCursor 196d6f3cfd Merge authoritative main into the task branch
Why: include the current integration baseline before verification.
Evidence: fetched origin/main=692735e91d6a9ab07ddd3686feb60a56b270728a.
Impact: integrate upstream changes without rewriting task history.
Refs: task-sync
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-15 05:55:51 +00:00
weichenandCursor 8e5b44bc2c Seed the four-model setup on later service starts
Why: The dev service is an rdm build, so startup skipped model seeding and kept the old MiniMax chat model. Later starts need the saved env file applied even without an admin key command.

Evidence: seed and rdm launcher tests passed. The live dev database now uses the four-model chat route and keeps the original MiniMax endpoint as reserve.

Impact: Restart of a service with envfile set rewrites system model settings. HTTP seeding is unchanged for builds that can mint an admin key. MiniMax is stored separately because fallbacks cannot switch gateways.

Refs: .task/feature-four-model-vision.md
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-15 04:14:22 +00:00
weichen 05e45a9044 Plan project execution agent routing
Why: Turn the approved multi-CLI routing design into independently testable Cursor implementation units without another manual plan gate.

Evidence: The plan self-review found R1-R10 coverage, stable interfaces, five review-focus tests, and no placeholders or whitespace errors.

Impact: Authorizes U1-U5 execution through fresh Cursor Agent runs while the host retains scope, verification, integration, and delivery control.

Refs: docs/superpowers/specs/2026-10-15-project-agent-execution-design.md
2026-10-15 01:51:04 +00:00
weichen 5ff0a4d510 Design project-level execution agent routing
Why: Let each project route expensive implementation work across available Agent CLIs while the host model retains planning and delivery control.

Evidence: The specification passed placeholder, consistency, scope, path, and whitespace self-checks; implementation and runtime validation remain NOT_RUN.

Impact: Defines a review-only R1-R10 design for Markdown configuration, adapters, run-everything execution, receipts, recovery, and host fallback without enabling the new route.

Refs: .task/feature-goal-first-delivery.md
2026-10-15 01:45:15 +00:00
weichenandCursor 1a5afe219d Point the service at four-model vision routing
Why: Chat, lightweight, fallback and vision settings need a seed path, and the backend now sends current-turn images only to models declared capable of seeing them.

Evidence: The backend change is cfde38d. The seed test covers fallback and vision settings. A local image conversation on each builtin profile returned the pictured content from the expected model, and removing the chat model from the capable list switched that turn to the vision model.

Impact: New runs can use the four builtin profiles and image input. Secrets stay in the ignored env file. The live 8788 process is unchanged.

Refs: .task/feature-four-model-vision.md
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 17:51:29 +00:00
weichenandCursor 1cf2f533f7 Compile selected plugins into the svc deploy binary
Why: deploy needs to choose registered plugins and ship them inside one agent-system, then refuse the release when they are not active.
Evidence: python3 -m unittest tests.test_svc_plugins tests.test_svc_user_help tests.test_svc tests.test_svc_u2 (SELF, 63 passed, 1 skipped). Real compose build and make test-lifecycle are NOT_RUN.
Impact: --with is mutually exclusive with --from rdm and --from release. Existing non-interactive deploys stay without plugins unless plugins= is already recorded. Changing the plugin id set on a live service requires --allow-source-switch.
Refs: .task/feature-svc-plugin-compose.md modules/documents/docs/proposals/2026-10-14-svc-plugin-compose-deploy.md
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-14 16:08:13 +00:00
weichen 11d3b10b97 Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=4f84c2e1630cd0311643529fae1c3a99f1dd5d64.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-14 05:28:00 +00:00
weichen 1d42933aa1 Record U3 implementation candidate and close obsolete account help
Why: Operators need the approved no-password initialization and owner-confirmed recovery contract, and stage 6 reviewers need an exact component/evidence map.

Evidence: SELF task-card precheck and make test-governance receipts; component receipts listed in the task card with separate source identities.

Impact: svc rejects obsolete credential commands before storage binding, help points to protected delivery and recovery proposals, and the task card records stage 6 scope with formal pin/CI dependencies still pending.

Refs: IAM U3 r1 Documents c236d309; Backend 3e01614; RDM 265d33e; Frontend a961b19
2026-10-14 05:05:21 +00:00