Deliver the regulations knowledge base initiative #614

Merged
weichen merged 19 commits from feature/regulations-kb into main 2026-10-18 13:05:12 +00:00
Owner

Why: Deliver the regulations knowledge base plan (docs/superpowers/plans/2026-10-18-regulations-knowledge-base-plan.md) U1–U9 across component repositories and pin the composition in Dev.
Evidence: Task card .task/archive/feature-regulations-kb.md (same document as this description): component main CI (GATE) for KB #1–#6, Backend #212, Documents #113, RDM #434/#437/#438/#439, Frontend #109/#110; SELF make test and make test-regulations-kb on 0f6310a; Dev CI on the final head.
Impact: U1 corpus inventory and U7 citation contract specs; gitlinks backend 56a7f9f, documents 5bb4877, frontend 50ec836, ui 5c2b103; new opt-in gate make test-regulations-kb (not part of make test). Live search/MinerU/embedding calls NOT_RUN pending owner approval; deployment, release and business/legal acceptance are separate later gates.
Refs: docs/superpowers/plans/2026-10-18-regulations-knowledge-base-plan.md, docs/superpowers/specs/2026-10-18-regulations-citation-contract.md

Why: Deliver the regulations knowledge base plan (docs/superpowers/plans/2026-10-18-regulations-knowledge-base-plan.md) U1–U9 across component repositories and pin the composition in Dev. Evidence: Task card .task/archive/feature-regulations-kb.md (same document as this description): component main CI (GATE) for KB #1–#6, Backend #212, Documents #113, RDM #434/#437/#438/#439, Frontend #109/#110; SELF make test and make test-regulations-kb on 0f6310a; Dev CI on the final head. Impact: U1 corpus inventory and U7 citation contract specs; gitlinks backend 56a7f9f, documents 5bb4877, frontend 50ec836, ui 5c2b103; new opt-in gate make test-regulations-kb (not part of make test). Live search/MinerU/embedding calls NOT_RUN pending owner approval; deployment, release and business/legal acceptance are separate later gates. Refs: docs/superpowers/plans/2026-10-18-regulations-knowledge-base-plan.md, docs/superpowers/specs/2026-10-18-regulations-citation-contract.md
weichen added 2 commits 2026-10-18 09:18:12 +00:00
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-regulations-kb.md; R0=b5e23daed2f0ea46261979de1d62e4de0cfa88f9.

Impact: task metadata only; the feature workspace starts at b5e23daed2.

Refs: .task/feature-regulations-kb.md
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
f61737bc3e
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>
weichen added 1 commit 2026-10-18 09:21:38 +00:00
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
4252c91952
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>
weichen added 1 commit 2026-10-18 10:11:52 +00:00
Record cross-repository progress of the regulations initiative
ci / svc-realcombo (pull_request) Successful in 1m56s
ci / test (pull_request) Successful in 7m11s
ci / test-pg (pull_request) Successful in 8m1s
3dff54d928
Why: Keep the initiative card current with merged component PRs.
Evidence: Gitea PR states read via API (merged SHAs listed).
Impact: Card only.
Refs: https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Dev/pulls/614
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen added 1 commit 2026-10-18 10:42:52 +00:00
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
06dd79cf9a
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>
weichen added 1 commit 2026-10-18 11:05:32 +00:00
Register U4, U6, provider and U7 frontend merges on the task card
ci / svc-realcombo (pull_request) Successful in 2m13s
ci / test (pull_request) Successful in 8m44s
ci / test-pg (pull_request) Successful in 9m51s
326897ceb4
Why: Keep the cross-repository delivery register current.
Evidence: KB #4 6c3fbbe, RDM #434 703e41d, KB #5 d6d7056, Frontend #109 2d65a81.
Impact: Card only.
Refs: https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Dev/pulls/614
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen added 11 commits 2026-10-18 12:50:14 +00:00
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=ba81d638a6c845d0acde6896f4001bed096ba26c.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
Why: bind the task validation checkpoint to the integration baseline.

Evidence: SELF recursive component checks; sync_base=ba81d638a6c845d0acde6896f4001bed096ba26c; before_record=fd2c13f4d883b1bff29d6ab0f82d64483e31ca24.

Impact: task metadata only.

Refs: .task/feature-regulations-kb.md
Why: The U8 Dev composition needs SELF evidence for the full Dev suite and the regulations gate.
Evidence: make evidence rows for make test (two honest failures from uninitialized nested submodules and umask 077, then exit 0) and the regulations gate (exit 0).
Impact: Task card only.
Refs: docs/superpowers/plans/2026-10-18-regulations-knowledge-base-plan.md U8
Co-authored-by: Cursor <cursoragent@cursor.com>
Why: All plan units U1-U9 are merged in their component repositories; the card must reflect delivery, verification and remaining NOT_RUN items before the final window.
Evidence: Component main CI statuses (GATE) and local make test / make test-regulations-kb receipts (SELF) on the card.
Impact: Task card only; initiative stops accepting requirements.
Refs: docs/superpowers/plans/2026-10-18-regulations-knowledge-base-plan.md
Co-authored-by: Cursor <cursoragent@cursor.com>
Why: Final window requires a fresh task-sync record.
Evidence: make task-sync via make evidence (sync_base a5f3ce5).
Impact: Task card only.
Refs: policy/delivery.md
Co-authored-by: Cursor <cursoragent@cursor.com>
Record final composed test evidence
ci / svc-realcombo (pull_request) Successful in 2m49s
ci / test (pull_request) Failing after 6m8s
ci / test-pg (pull_request) Successful in 9m47s
e9d3b241bb
Why: Earlier receipts predate the main merge and frontend re-pin; key checks were rerun on the current head.
Evidence: make test exit 0 and make test-regulations-kb exit 0 at 0f6310a via make evidence.
Impact: Task card only.
Refs: docs/superpowers/plans/2026-10-18-regulations-knowledge-base-plan.md U8
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen added 1 commit 2026-10-18 12:50:23 +00:00
Mark the empty child registry row as not required
ci / svc-realcombo (pull_request) Successful in 2m51s
ci / test (pull_request) Successful in 8m20s
ci / test-pg (pull_request) Successful in 9m56s
3dc1b6d641
Why: task-pr-check --final requires 必需 to be 是 or 否.
Evidence: make task-pr-check FINAL=1 reported the invalid value.
Impact: Task card only.
Refs: scripts/task_pr_check.py
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen added 1 commit 2026-10-18 12:50:30 +00:00
Fold-close the task card before merge
ci / svc-realcombo (pull_request) Successful in 2m47s
ci / test (pull_request) Successful in 8m20s
ci / test-pg (pull_request) Successful in 10m6s
f5b5568308
Why: close the task card inside its own PR so landing it needs no post-merge backfill or separate close PR.
Evidence: .task/feature-regulations-kb.md -> .task/archive/feature-regulations-kb.md; status 已完成(合入前闭合); PR #614 https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Dev/pulls/614.
Impact: task metadata only; the card is archived within PR #614 and lands with its merge commit.
Refs: task.sh close --self
weichen changed title from [WIP] Regulations knowledge base initiative to Deliver the regulations knowledge base initiative 2026-10-18 12:51:03 +00:00
weichen merged commit 11e40e79c7 into main 2026-10-18 13:05:12 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Dev#614