Jesse_Chen
c6d406e76d
fix(consultation): make agentic runtime the default
2026-08-14 17:20:56 +08:00
Jesse_Chen
26606412a2
fix(skill): load verified packages through canonical runtime paths
2026-08-14 17:17:08 +08:00
Jesse_Chen
ae4a6e4720
fix(consultation): ensure final response after tool completion
2026-08-14 17:02:02 +08:00
Jesse_Chen
afc8af5b8e
test(skill): enforce schema owner and receipt immutability
2026-08-14 16:52:35 +08:00
Jesse_Chen
5b8b8ac2d4
test(skill): cover receipt cascade deletion boundaries
2026-08-14 16:41:39 +08:00
Jesse_Chen
c1f1819de1
feat(skill): add immutable package registry and receipts
2026-08-14 16:37:53 +08:00
Jesse_Chen
0fd111d16b
fix(ui): align message motion and composer button radius with DESIGN.md; tolerate unreadable staging revision state
...
Independent Staging Quality Gate / validate (push) Successful in 13m6s
Independent Staging Quality Gate / publish (push) Successful in 8m3s
- Message entry: 300/420ms power3.out -> Standard 180ms cubic-bezier(.22,1,.36,1) (DESIGN.md section 6); update the layout contract test to the shipped values.
- Composer icon button: full radius instead of 8px (DESIGN.md section 5 Button).
- Staging deploy workflow: fall back to container SHA discovery when .state/deployed-revision exists but is unreadable by the deploy user (Gitea pipeline writes it as root).
2026-08-14 09:13:57 +08:00
Jesse_Chen
b4031eff8c
test(database): include rectification regenerations in schema snapshot
Independent Staging Quality Gate / validate (push) Successful in 13m27s
Independent Staging Quality Gate / publish (push) Successful in 7m48s
2026-08-14 00:45:05 +08:00
Jesse_Chen
2e17ccad64
fix(rectification): restore message actions and retry receipts
Independent Staging Quality Gate / validate (push) Failing after 30m22s
Independent Staging Quality Gate / publish (push) Has been skipped
2026-08-14 00:10:22 +08:00
Jesse_Chen
e8952dcc75
fix(rectification): place completion receipt above reply
Independent Staging Quality Gate / validate (push) Successful in 14m18s
Independent Staging Quality Gate / publish (push) Successful in 8m7s
2026-08-13 16:58:22 +08:00
Jesse_Chen
ef591f673e
fix(frontend): restore homepage display typography
Independent Staging Quality Gate / validate (push) Successful in 13m10s
Independent Staging Quality Gate / publish (push) Successful in 7m59s
2026-08-13 16:27:59 +08:00
Jesse_Chen
5800b2ad73
fix(rectification): allow accepted candidate reselection
Independent Staging Quality Gate / validate (push) Successful in 13m4s
Independent Staging Quality Gate / publish (push) Successful in 7m33s
2026-08-13 15:48:17 +08:00
Jesse_Chen
89f96dcfa5
fix(rectification): align activity with real agent work
Independent Staging Quality Gate / validate (push) Successful in 14m58s
Independent Staging Quality Gate / publish (push) Successful in 8m5s
2026-08-13 14:43:54 +08:00
Jesse_Chen
62d12c5c06
fix(rectification): render candidates and keep agent replies natural
Independent Staging Quality Gate / validate (push) Successful in 12m46s
Independent Staging Quality Gate / publish (push) Successful in 8m26s
2026-08-13 13:29:39 +08:00
Jesse_Chen
7a613f26db
fix(ci): isolate staging gate from legacy main listener
Independent Staging Quality Gate / validate (push) Successful in 12m45s
Independent Staging Quality Gate / publish (push) Successful in 2m7s
2026-08-13 13:05:59 +08:00
Jesse_Chen
c8bd8e8a2b
fix(ci): provide Gitea context to deploy dispatch
Staging Backend Quality Gate / validate (push) Successful in 12m15s
Staging Backend Quality Gate / publish (push) Successful in 2m10s
2026-08-13 12:43:18 +08:00
Jesse_Chen
945f8974d4
fix(ci): inject token for staging deploy dispatch
Staging Backend Quality Gate / validate (push) Successful in 12m40s
Staging Backend Quality Gate / publish (push) Failing after 2m5s
2026-08-13 12:23:13 +08:00
Jesse_Chen
013c15a9e9
ci(staging): decouple deployment from main
Staging Backend Quality Gate / validate (push) Successful in 14m50s
Staging Backend Quality Gate / publish (push) Failing after 7m58s
2026-08-13 11:57:24 +08:00
Jesse_Chen
cf7598b337
refactor(frontend): remove generic AI-slop styling
2026-08-13 11:05:00 +08:00
jesse
f6a57db97e
Merge pull request #36 from codex/fix-rectification-home-new-session-20260812
...
Staging Backend Quality Gate / validate (push) Successful in 12m59s
Staging Backend Quality Gate / publish (push) Successful in 8m3s
fix(rectification): start new case from homepage
2026-08-12 21:50:25 +08:00
Jesse_Chen
4deb5c2378
fix(rectification): start new case from homepage
Staging Backend Quality Gate / validate (pull_request) Successful in 24m42s
Staging Backend Quality Gate / publish (pull_request) Has been skipped
2026-08-12 21:21:26 +08:00
jesse
90199b4d9b
Merge pull request 'fix(rectification): preserve assistant turns in dossier' ( #35 ) from codex/fix-rectification-turn-projection-20260812 into main
...
Staging Backend Quality Gate / validate (push) Successful in 14m57s
Staging Backend Quality Gate / publish (push) Successful in 8m10s
fix(rectification): preserve assistant turns in dossier (#35 )
2026-08-12 15:52:28 +08:00
Jesse_Chen
746fdc184b
fix(rectification): preserve assistant turns in dossier
Staging Backend Quality Gate / validate (pull_request) Successful in 17m28s
Staging Backend Quality Gate / publish (pull_request) Has been skipped
2026-08-12 15:33:04 +08:00
jesse
4152103726
Merge pull request #34 : fix(rectification): confirm clear events in same turn
Staging Backend Quality Gate / validate (push) Successful in 13m11s
Staging Backend Quality Gate / publish (push) Successful in 9m59s
2026-08-12 14:40:52 +08:00
Jesse_Chen
7c03c1a4b5
fix(rectification): confirm clear events in same turn
Staging Backend Quality Gate / validate (pull_request) Successful in 17m59s
Staging Backend Quality Gate / publish (pull_request) Has been skipped
2026-08-12 14:18:48 +08:00
jesse
892e43fb23
Merge pull request #33 : fix(rectification): bind evidence to current server turn
...
Staging Backend Quality Gate / validate (push) Successful in 12m11s
Staging Backend Quality Gate / publish (push) Successful in 8m49s
Bind V9 evidence and consent to the server-owned current turn.
2026-08-12 12:30:51 +08:00
Jesse_Chen
c7dfe1c166
fix(rectification): bind evidence to current server turn
Staging Backend Quality Gate / validate (pull_request) Successful in 16m51s
Staging Backend Quality Gate / publish (pull_request) Has been skipped
2026-08-12 12:12:10 +08:00
jesse
8beed38951
Merge pull request #32 : fix(rectification): hydrate persisted case turns
...
Staging Backend Quality Gate / validate (push) Successful in 11m16s
Staging Backend Quality Gate / publish (push) Successful in 7m33s
Restore asynchronously loaded persisted rectification turns and preserve receipt methods.
2026-08-12 11:03:09 +08:00
Jesse_Chen
220828d6f0
fix(rectification): hydrate persisted case turns
Staging Backend Quality Gate / validate (pull_request) Successful in 15m6s
Staging Backend Quality Gate / publish (pull_request) Has been skipped
2026-08-12 10:45:49 +08:00
jesse
31fa6aaa50
Merge pull request #31 from codex/rectification-activity-birth-context-20260812
...
Staging Backend Quality Gate / validate (push) Successful in 10m45s
Staging Backend Quality Gate / publish (push) Successful in 7m31s
fix(rectification): surface real activity context
2026-08-12 10:03:13 +08:00
Jesse_Chen
15a9e3f248
test(rectification): include birth context in entry fixture
Staging Backend Quality Gate / validate (pull_request) Successful in 14m59s
Staging Backend Quality Gate / publish (pull_request) Has been skipped
2026-08-12 09:46:54 +08:00
Jesse_Chen
397b6ef7c2
fix(rectification): surface real activity context
Staging Backend Quality Gate / validate (pull_request) Failing after 12m4s
Staging Backend Quality Gate / publish (pull_request) Has been skipped
2026-08-12 09:28:47 +08:00
jesse
689799102e
Merge pull request #30 : fix(rectification): skip settlement for free turns
...
Staging Backend Quality Gate / validate (push) Successful in 11m53s
Staging Backend Quality Gate / publish (push) Successful in 8m24s
Free opening/read_only turns no longer invoke complete_usage without a reservation.
2026-08-12 03:16:38 +08:00
Jesse_Chen
da384357d0
fix(rectification): skip settlement for free turns
Staging Backend Quality Gate / validate (pull_request) Successful in 15m26s
Staging Backend Quality Gate / publish (pull_request) Has been skipped
2026-08-12 02:58:35 +08:00
jesse
863f65d090
Merge pull request #29 : fix(rectification): pass server case id to agent
...
Staging Backend Quality Gate / validate (push) Successful in 11m48s
Staging Backend Quality Gate / publish (push) Successful in 8m11s
Pass the server-validated Case ID into V9 Agent messages so rectification tools do not guess an invalid case reference.
2026-08-12 02:19:59 +08:00
Jesse_Chen
32b65cfaf3
fix(rectification): pass server case id to agent
Staging Backend Quality Gate / validate (pull_request) Successful in 16m22s
Staging Backend Quality Gate / publish (pull_request) Has been skipped
2026-08-12 02:00:08 +08:00
jesse
db9e7ba2a4
Merge pull request #28 from codex/fix-rectification-session-model-20260811
...
Staging Backend Quality Gate / validate (push) Successful in 11m38s
Staging Backend Quality Gate / publish (push) Successful in 7m18s
fix(rectification): bind default session model
2026-08-12 01:25:01 +08:00
Jesse_Chen
b276bc8a8f
fix(rectification): bind default session model
Staging Backend Quality Gate / validate (pull_request) Successful in 15m48s
Staging Backend Quality Gate / publish (pull_request) Has been skipped
2026-08-12 01:05:36 +08:00
jesse
752c8f4239
Merge pull request #27 : fix(rectification): allow runtime flag reads
...
Staging Backend Quality Gate / validate (push) Successful in 12m9s
Staging Backend Quality Gate / publish (push) Successful in 7m31s
Apply the forward RLS policy migration so admin_runtime can read the published rectification runtime flag.
2026-08-12 00:14:21 +08:00
Jesse_Chen
d19d398221
fix(rectification): allow runtime flag reads
Staging Backend Quality Gate / validate (pull_request) Successful in 17m5s
Staging Backend Quality Gate / publish (pull_request) Has been skipped
2026-08-11 23:49:44 +08:00
Jesse_Chen
139baeb94c
fix(admin): remove email reauth from account reset
Staging Backend Quality Gate / validate (push) Successful in 13m47s
Staging Backend Quality Gate / publish (push) Successful in 8m20s
2026-08-11 21:09:30 +08:00
Jesse_Chen
1e8fc6c208
fix(test): finish v9 postgres gate coverage
Staging Backend Quality Gate / validate (push) Successful in 12m9s
Staging Backend Quality Gate / publish (push) Successful in 8m42s
2026-08-11 19:57:28 +08:00
Jesse
48a4240bdf
docs(research): record ERR-102 502 recurrence before rectification push
Staging Backend Quality Gate / validate (push) Has been cancelled
Staging Backend Quality Gate / publish (push) Has been cancelled
2026-08-11 19:50:23 +08:00
Jesse
bc64ac743d
fix(test): close v9 db fixture pools per URL and seed via admin role
2026-08-11 19:46:11 +08:00
Jesse
5dd0ab66a9
fix(rectification): isolate receipt activity after staging sync
Staging Backend Quality Gate / validate (push) Failing after 11m36s
Staging Backend Quality Gate / publish (push) Has been skipped
2026-08-11 18:22:30 +08:00
Jesse
b04dd1a9e0
merge: sync latest staging into rectification v9
...
# Conflicts:
# docs/BUG_HISTORY.md
2026-08-11 18:08:42 +08:00
Jesse
eddd52d1f3
fix(rectification): harden v9 runtime after adversarial review
2026-08-11 17:57:47 +08:00
Jesse_Chen
c0e9a1c9f1
feat(admin): add safe account reset
Staging Backend Quality Gate / validate (push) Successful in 12m13s
Staging Backend Quality Gate / publish (push) Successful in 7m50s
2026-08-11 17:57:40 +08:00
Jesse
724fb64c1a
test(rectification): cover v9 migration rollout and regressions
...
- New suites: entry routing (13), evidence (11), skill/agent (13), stream (9),
status/security (11) plus shared fake-accounting support.
- Migration static contract tests extended for the v9 agent api migration
(run_phases, dossier/finalize/persist/accept/confirm RPCs, consent gate,
needs_rebaseline guard, runtime flag, identity-foundation boundary).
- database-local-business.test.ts ledger + exact public table set updated
(agentic_rectification_run_phases; BUG-127/BUG-144 boundary).
- rectification-v9-database.test.ts adds the agent-api migration test
(flag seed, turn finalize, run phase receipt, consent rejection).
- rectification-agentic-entry.test.ts rewritten: the old tests locked in the
hasRectificationSession + sessions.find guessing, textStream consumption and
client-side session creation; they now assert the server-owned Case open
flow, fullStream NDJSON, durable turns and exact-session routing.
- consultation-entrypoint / application-billing-contract rectification sections
updated to the caseId-bound billing and open API contracts.
- docs/BUG_HISTORY.md: BUG-162 follow-up with regression record explaining why
the old tests missed the broken entry guessing.
2026-08-11 17:18:08 +08:00
Jesse
ca7484666f
feat(rectification): stream agent execution and redesign entry routing
...
Replace the Direct Agentic textStream relay with a durable V9 agent runtime:
- agentic-rectification.ts: short boundary-only system prompt (no gate->scan
->score->diagnostics copy); pins skills/jyotish-birth-time-rectification;
per-action bounded maxSteps (opening/read-only 6, evidence 8, rescore 12,
accept/confirm 6) with a hard ceiling and repeated-tool-call detection.
- rectification-v9-tools.ts: ten Case-ref tools (read-case, propose/confirm/
revise-evidence, compare-candidates, read-diagnostics, offer-candidates,
accept-candidate, confirm-birth-time, close-case). Inputs are minimal refs
only; RPC-backed evidence ledger, fingerprint cache reuse, receipts, and
accepted!=confirmed semantics; confirm requires gate + grounded consent.
- /api/rectification/agent: caseId/sessionId/requestId/action/message; exact
Case<->Session binding verified server-side; client history never overrides
the durable dossier; pending turn -> completed/failed/retryable; consumes
result.fullStream and emits allowlisted NDJSON only (reasoning/raw/provider
metadata/tool payloads/birth data/scores never forwarded); first-turn real
skill.started/skill.loaded gate with one controlled retry; billing bound to
rectification:case:{caseId}.
- New forward migration 20260813010000_agentic_rectification_v9_agent_api.sql:
case dossier/compute, turn finalize, fingerprint-cached candidate persist,
case-scoped accept, consent-gated confirm, guarded transitions,
needs_rebaseline profile guard, run_phases receipt table, and the
rectification_runtime_version feature flag (v9 default, legacy read-only).
- Frontend: homepage/sidebar entry routing now uses the server Case open API
(openRectificationFromHomepage/openRectificationSession/startNewRectification)
with exact sessionId/caseId and server-owned shouldStartOpening; CTA driven
by entry-summary; chat restores from persisted turns, candidate cards from
the Candidate Snapshot API, activity from real NDJSON + persisted receipts;
direct durable candidate-accept endpoint for the UI cards.
2026-08-11 17:17:56 +08:00