Skip to content

fix(agent): close lifecycle and governance conformance gaps - #331

Merged
bitifirefly merged 1 commit into
developfrom
fix/phase-two-conformance
Nov 14, 2026
Merged

bitifirefly merged 1 commit into
developfrom
fix/phase-two-conformance

Conversation

@bitifirefly

Copy link
Copy Markdown
Collaborator

Changes

  • Bind chat drafts, attachments, submit/stop callbacks and late results to the current actor/application/view lifecycle.
  • Correct generation dispatch boundaries, persistence-only recovery, tool/message association and SSE/moderation handling.
  • Protect effective credential changes and unresolved quota with an additive database migration and shared locking.
  • Preserve structured errors through the LangChain client/hook/product page and distinguish effective actions from backend support.
  • Update public integration/governance documentation; no site-specific configuration or internal evidence is included.

Validation

  • Dev Node 24.22.2 / pnpm 10.34.9: 229 suites, 2192 tests pass, including isolated PostgreSQL/HTTP/RLS regression.
  • Root/API/shared types, changed-file formatting, 11 guards, and shared/API/Web production builds pass.
  • Lint: zero errors; 11 pre-existing warnings, no new warnings compared with the baseline.
  • Full public source hashes match the validated snapshot; source and commit-range publication scans pass.
  • Existing containers and active build artifacts preserved. Stage validation of this candidate is pending and will follow develop integration.

Deployment

  • Apply the additive 20261114170000_protect_pending_agent_credentials_and_quota.sql before updating the matching API/Web; do not rewrite old migrations.
  • Stage migration, production-mode PM2 build, HTTPS automatic checks, representative dual-API checks and user manual acceptance remain separate gates.
  • No production deployment, version tag or Release is included.

@bitifirefly
bitifirefly merged commit a6cb6b1 into develop Nov 14, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant