Commit Graph
1475 Commits
Author SHA1 Message Date
weichen 0d84792d67 Merge pull request 'Close the model A/B task card after PR #296' (#298) from feature/card-close-20261010-ab into main
ci / test (push) Successful in 2m17s
2026-10-10 03:01:43 +00:00
weichen c9ac7686c4 Merge the A/B card-close branch with current main
ci / test (pull_request) Successful in 2m16s
2026-10-10 02:58:10 +00:00
weichen a43bc3743d Merge pull request 'Pass the PG DSN via environment instead of the command line (G1-7)' (#297) from feature/g1-7-dsn-env into main
ci / test (push) Successful in 2m20s
2026-10-10 02:43:05 +00:00
weichen 8c010f6000 Close 1 merged task card: feature/agent-model-ab
ci / test (pull_request) Successful in 2m21s
Why: The model A/B branch merged into main via #296 (the final item of the
quality improvement plan); its task card must be backfilled and archived to
prevent bookkeeping debt.

Evidence: SELF - merge 63a2485 verified via git log --merges against
origin/main; card backfilled with the PR link.

Impact: .task/feature-agent-model-ab.md moved to .task/archive/ with status
backfilled; no code or submodule change.

Refs: task.sh close semantics (replicated from a temp worktree because the
main checkout is occupied by a parallel writer's branch).
2026-10-10 02:39:53 +00:00
weichen a6d434e432 Pass the PG DSN via environment instead of the command line (G1-7)
ci / test (pull_request) Successful in 2m18s
Why: the plan section 3.4 observed the local dev service carrying the
credential-bearing DSN as a serve --dsn argument, visible to any
process on the host (ps / /proc/<pid>/cmdline) — including scripts
generated by agents. The base config layer already supports
AGENT_SYSTEM_DSN, so the launcher can move the secret out of the
argument vector without touching the binary.

Evidence: bash -n clean; make test-governance 104/104 green; an
end-to-end probe with a stub binary and a legacy exec= carrying
--dsn ...secret... shows the migration stripping the flag
(MIGRATED:yes), the process args free of the secret
(NO-LEAK-IN-CMDLINE), and AGENT_SYSTEM_DSN present in the process
environment (DSN_IN_ENV:yes). New/rebuilt launches never put the DSN
in argv; legacy persisted configs are migrated on first reuse.

Impact: scripts/svc.sh only — rebuild path sets DSN_ENV instead of
--dsn, reuse path strips --dsn from stored exec= once and logs the
migration, launch injects AGENT_SYSTEM_DSN alongside the existing
guard vars. CLI --dsn still wins inside the binary (config
precedence), so manual invocations are unchanged.

Refs: plan G1-7 (line 356) and section 3.4 (2026-10-09 ps
observation); backend config AGENT_SYSTEM_DSN.
2026-10-10 02:39:19 +00:00
weichen 63a2485ec0 Merge pull request 'Model A/B: opus-5-5 eliminates invented numbers (selection report)' (#296) from feature/agent-model-ab into main
ci / test (push) Successful in 2m20s
2026-10-10 02:35:14 +00:00
weichen 8f96b92071 Record the model A/B make-test evidence
ci / test (pull_request) Successful in 2m19s
2026-10-10 02:26:17 +00:00
weichen 112d9e40c9 Complete the model A/B comparison and record the selection report
Why: Ruling 5's final item. With the user-provided lmuai endpoint
(claude-opus-5-5) and the P5 build unchanged, the same golden task set ran
both sides to completion (6/6 turns each).

Evidence: SELF - B report .task/model-ab/ab-opus.json (2793s) vs A baseline
.task/phase05-eval/after-p5.json; smoke through the live instance confirmed
the provider switch (after fixing the active-secret shadowing: overlayKey
prefers the secret table, so provider changes need /api/secrets rotation).

Impact: Selection report in the card - opus-5-5 eliminates invented numbers
(7 -> 0, the program's core metric), restores independent verification via
lightweight=deepseek-v4-flash; MiniMax stays as the fast/fallback tier.
Recommended default documented for the owner.
2026-10-10 02:24:56 +00:00
weichen 66c9edfe05 Record the second quota-blocked A/B attempt after the flash-tier probe
Why: A small max_tokens probe passed (small pre-deduction), suggesting the
account might have been topped up; redeploying with chat=claude-sonnet-4-6
and lightweight=deepseek-v4-flash showed full-turn pre-deduction (CNY 0.62)
still exceeds the CNY 0.48 balance - 6/6 turns quota-failed again.

Evidence: SELF - .task/model-ab/ab-sonnet-quota-blocked-r2.json + evidence
row; settings confirmed chat=claude-sonnet-4-6, lightweight=deepseek-v4-flash
on the instance before the run.

Impact: Still blocked on user-only payment input. Estimated CNY 50-100 covers
multiple full comparison runs on dmxapi; alternatively any OpenAI-compatible
provider key via ~/.secrets/abmodel or .env.dev SVC_MODEL_*.
2026-10-10 01:19:29 +00:00
weichen 4f97587c9a Record the model A/B pipeline validation and the quota block
Why: Ruling 5 authorized the strong-model comparison with uncapped budget.
The A/B infrastructure is proven end to end (qa7 on remote main, seeded
claude-sonnet-4-6 via the user's existing dmxapi aggregator key, eval/live
ran the full golden set), but the account holds CNY 0.49 against a CNY 0.62
per-request pre-deduction - all six turns failed with insufficient quota,
captured honestly in the report.

Evidence: SELF - .task/model-ab/ab-sonnet-quota-blocked.json + evidence row;
smoke test of the dmxapi streaming endpoint succeeded before the run.

Impact: Task blocked on user input only (top up dmxapi or provide another
provider key). No code changes; worktree retained for immediate resumption.
2026-10-10 01:04:47 +00:00
weichen 47be266062 Record the task card for feature-agent-model-ab
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-agent-model-ab.md; R0=43f8e27b74e5e2213e2099ba04e5a69fe398586f.

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

Refs: .task/feature-agent-model-ab.md
2026-10-10 00:52:59 +00:00
weichen 43f8e27b74 Merge pull request 'Close merged task cards (feature/card-close-20261010-004524Z)' (#295) from feature/card-close-20261010-004524Z into main
ci / test (push) Successful in 2m14s
2026-10-10 00:50:02 +00:00
weichen fedd55c1eb Close 1 merged task card(s) and archive them
ci / test (pull_request) Successful in 2m14s
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: feature-agent-quality-phase05.md(PR#294) — merges verified via git log --merges against origin/main.
Impact: .task/*.md moved to .task/archive/ with status backfilled; no code or submodule change.
Refs: task.sh close (card-autoclose-r1)
2026-10-10 00:45:24 +00:00
weichen 83d1cb20f6 Merge pull request 'Quality phase05: hard-fact gate, fact checks, lazy search (Backend #123)' (#294) from feature/agent-quality-phase05 into main
ci / test (push) Successful in 2m14s
2026-10-10 00:45:01 +00:00
weichen df257cd1a3 Close out phase05 with merge links and final evidence
ci / test (pull_request) Successful in 2m15s
2026-10-10 00:35:55 +00:00
weichen 3ed2d6b1c8 Record the sync checkpoint
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=57b293d00945173f61e3a5f7bef8153053f49395; candidate=c7a981ed3b09f44610d9674c01409f13300fd08c.

Impact: task metadata only.

Refs: .task/feature-agent-quality-phase05.md
2026-10-10 00:35:00 +00:00
weichen c7a981ed3b Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=57b293d00945173f61e3a5f7bef8153053f49395.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-10 00:34:38 +00:00
weichen 9a2b697ecf Point the backend gitlink at the merged phase05 head 2026-10-10 00:34:36 +00:00
weichen 57b293d009 Merge pull request 'Consume the G2-2 slash-and-intents backend (Backend #122)' (#292) from feature/g2-2-slash-intents into main
ci / test (push) Successful in 2m15s
2026-10-10 00:27:14 +00:00
weichen d1a00e0c9a Record the phase05 live eval and result summary 2026-10-10 00:25:37 +00:00
weichen f8228d1f9e Record the sync checkpoint
ci / test (pull_request) Successful in 2m14s
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=d9786f0f4128bbee43e27bdcc1534e320aae1711; candidate=2f87563937d1a75f74e8e9682a9e8bd1ec1546b8.

Impact: task metadata only.

Refs: .task/feature-g2-2-slash-intents.md
2026-10-10 00:24:15 +00:00
weichen 2f87563937 Merge authoritative main into the task branch
Why: include the current integration baseline before verification.

Evidence: fetched origin/main=d9786f0f4128bbee43e27bdcc1534e320aae1711.

Impact: integrate upstream changes without rewriting task history.

Refs: task-sync
2026-10-10 00:23:54 +00:00
weichen ffdcc59fea Record make test evidence at the G2-2 bump head 2026-10-10 00:23:51 +00:00
weichen 89e88b3965 Bump backend to the G2-2 slash-and-intents merge (Backend #122)
Why: G2-2 lands plugin slash aliases (EXT-10②) and the intent
declaration surface — the bus binds plugin-spec Slash fields into the
shared alias table (four entrances, one audit envelope), extensions
declare intents via AddIntent, and the system.intent builtin routes
natural language through the bus deterministically (longest-phrase
containment). The umbrella carries the backend gitlink forward.

Evidence: Backend #122 head 9c4edc4 CI success, merged as 9a531a6;
full backend suite 32/32 packages green; lib pin Agent-Command 4f583ca
(PR #6).

Impact: umbrella gitlink only.

Refs: plan G2-2; Backend #122; Agent-Command #6.
2026-10-10 00:21:51 +00:00
weichen b6bdceb6ed Record the phase05 make-test and sync evidence 2026-10-10 00:07:39 +00:00
weichen 5ea06c51c9 Record the sync checkpoint
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=d9786f0f4128bbee43e27bdcc1534e320aae1711; candidate=1e60e4d507880c9269e3f9641b01539e9f10a3bd.

Impact: task metadata only.

Refs: .task/feature-agent-quality-phase05.md
2026-10-10 00:06:43 +00:00
weichen 1e60e4d507 Fill the phase05 task card scope 2026-10-10 00:05:08 +00:00
weichen ff3a9d4726 Point the backend gitlink at the phase05 head
Why: The Dev combination must test the gate narrowing, fact checks and lazy
search registration.

Evidence: SELF - gitlink equals backend feature/agent-quality-phase05 head.

Impact: Pointer only.
2026-10-10 00:05:08 +00:00
weichen d715e95de1 Record the task card for feature-agent-quality-phase05
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-agent-quality-phase05.md; R0=d9786f0f4128bbee43e27bdcc1534e320aae1711.

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

Refs: .task/feature-agent-quality-phase05.md
2026-10-09 23:55:54 +00:00
weichen d9786f0f41 Merge pull request 'Close merged task cards (feature/card-close-20261009-234849Z)' (#291) from feature/card-close-20261009-234849Z into main
ci / test (push) Successful in 2m12s
2026-10-09 23:53:26 +00:00
weichen d0e3e2e728 Close 1 merged task card(s) and archive them
ci / test (pull_request) Successful in 2m14s
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: feature-agent-quality-phase04.md(PR#290) — merges verified via git log --merges against origin/main.
Impact: .task/*.md moved to .task/archive/ with status backfilled; no code or submodule change.
Refs: task.sh close (card-autoclose-r1)
2026-10-09 23:48:49 +00:00
weichen b7489d4431 Merge pull request 'Quality phase04: working-method prompts, compose demotion (Backend #121)' (#290) from feature/agent-quality-phase04 into main
ci / test (push) Successful in 2m14s
2026-10-09 23:48:27 +00:00
weichen 5428ea648f Record the task card for feature-g2-2-slash-intents
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-g2-2-slash-intents.md; R0=4713f04c94eb2512152e412fd010f846caa10021.

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

Refs: .task/feature-g2-2-slash-intents.md
2026-10-09 23:45:42 +00:00
weichen d78f3bedf5 Record the phase04 final green make-test evidence (SSE flake rerun)
ci / test (pull_request) Successful in 2m12s
2026-10-09 23:43:49 +00:00
weichen c03ddc2652 Close out phase04 with merge links and final evidence 2026-10-09 23:41:55 +00:00
weichen c14193353f Record the sync checkpoint
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=4713f04c94eb2512152e412fd010f846caa10021; candidate=d5185c5ff32d909a823237b5c264b1e3007c3476.

Impact: task metadata only.

Refs: .task/feature-agent-quality-phase04.md
2026-10-09 23:41:02 +00:00
weichen d5185c5ff3 Point the backend gitlink at the merged phase04 head 2026-10-09 23:40:39 +00:00
weichen 80a35b888b Record the phase04 live eval and result summary 2026-10-09 23:35:48 +00:00
weichen dd18b9fd6f Record the phase04 make-test and sync evidence 2026-10-09 23:15:31 +00:00
weichen 27246370b7 Record the sync checkpoint
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=4713f04c94eb2512152e412fd010f846caa10021; candidate=8b09cdc411fa59b8a53a82c746c7ba42913574a0.

Impact: task metadata only.

Refs: .task/feature-agent-quality-phase04.md
2026-10-09 23:14:35 +00:00
weichen 8b09cdc411 Point the backend gitlink at the phase04 head
Why: The Dev combination must test the working-method prompt set and the
compose demotion.

Evidence: SELF - gitlink equals backend feature/agent-quality-phase04 head.

Impact: Pointer only.
2026-10-09 23:12:58 +00:00
weichen 2cbb00befa Record the task card for feature-agent-quality-phase04
Why: establish the authorized task workspace and its initial baseline.

Evidence: preserved precheck receipt in .task/feature-agent-quality-phase04.md; R0=4713f04c94eb2512152e412fd010f846caa10021.

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

Refs: .task/feature-agent-quality-phase04.md
2026-10-09 23:09:09 +00:00
weichen 4713f04c94 Merge pull request 'Close merged task cards (feature/card-close-20261009-230217Z)' (#289) from feature/card-close-20261009-230217Z into main
ci / test (push) Successful in 2m32s
2026-10-09 23:06:58 +00:00
weichen 3ab92b8c0f Close 1 merged task card(s) and archive them
ci / test (pull_request) Successful in 2m11s
Why: branches merged into main had left their task cards open; backfill status and archive to prevent bookkeeping debt.
Evidence: feature-agent-quality-phase03.md(PR#288) — merges verified via git log --merges against origin/main.
Impact: .task/*.md moved to .task/archive/ with status backfilled; no code or submodule change.
Refs: task.sh close (card-autoclose-r1)
2026-10-09 23:02:17 +00:00
weichen 8033c53be3 Merge pull request 'Quality phase03: workspace tools + markdown-source pipeline (Backend #120)' (#288) from feature/agent-quality-phase03 into main
ci / test (push) Successful in 2m12s
2026-10-09 18:36:09 +00:00
weichen 9134f8462c Close out phase03 with merge links
ci / test (pull_request) Successful in 2m13s
2026-10-09 18:31:17 +00:00
weichen 497dfd3738 Record the phase03 final evidence 2026-10-09 18:31:08 +00:00
weichen 60114463a4 Record the sync checkpoint
Why: bind the task validation checkpoint to the latest integration baseline.

Evidence: SELF recursive component checks; sync_base=02f2c1bcfb1b8ac936e357b90fa7a2973f4ce0c0; candidate=d610523a95d9a19c5d5b416e27a23a7324a710f4.

Impact: task metadata only.

Refs: .task/feature-agent-quality-phase03.md
2026-10-09 18:30:10 +00:00
weichen d610523a95 Point the backend gitlink at the merged phase03 head
Why: Backend #120 merged; the Dev combination tests the merged head.

Evidence: SELF - gitlink equals backend origin/main head.

Impact: Pointer only.
2026-10-09 18:29:46 +00:00
weichen c4b581d6f9 Record the phase03 live eval and result summary 2026-10-09 18:24:50 +00:00