Commit Graph
59 Commits
Author SHA1 Message Date
thanhnvandClaude Opus 4.8 f6d28a3163 feat(harness): Git Bash + graceful degradation for Windows agentic bridge
Wide-deployment Windows path without WSL2. The agentic bridge already runs
on native Python + PowerShell; the only bash dependency is the H4/H2 gate
scripts, which run under Git Bash (Git for Windows) — much lighter than WSL2.

- h4_scan now returns a status (ok|blocked|timeout|unavailable). Timeout stays
  FAIL-CLOSED (block/deny). "unavailable" (no bash / gate missing) DEGRADES the
  turn to observed_only and does NOT block the developer — never silently
  certifies without a working gate.
- bash interpreter is configurable via CASAN_AGENTIC_BASH; gates use it.
- doctor reports bash_available / gates_runnable + a remediation warning, and
  stays green (degraded, not failed) when bash is absent.
- tests: +4 no-bash cases (degrade to observed_only, tool still allowed,
  non-certified finalize, injection still blocked when bash present). 34/34.
- docs: Windows guide + security guide now point to Git Bash, not WSL2, and
  document the timeout-vs-unavailable distinction.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-23 20:52:02 +07:00
thanhnvandClaude Opus 4.8 4bb184b935 feat(harness): implement Plan-20 transparent agentic client bridge
Wave 0 + Wave 1 core of the transparent agentic-client integration: a
developer types prompts normally in Claude Code / Codex while every
certified turn still carries a full H1->H7 trace and an H6 record.

- agentic_bridge.py: stdlib-only lifecycle state machine (begin/pre-tool/
  post-tool/telemetry/finalize/abort + report/doctor). Single-model
  invariant (never calls a model), fail-closed at the side-effect point,
  admission TTL + canonical-project/session binding, atomic state under
  .specify/state/agentic-sessions/, secret redaction, null-not-zero H6.
- agentic-lifecycle.schema.json: client-agnostic JSON contract.
- adapters/claude-code + adapters/codex: thin hook renderers + config
  templates that call the core bridge.
- phase-agentic-bridge-tests.sh: C1-C12 acceptance + threat suite (30/30).
- devkit templates/{claude,codex} + windows/install-agentic.ps1
  (install/doctor/uninstall with manifest, path-safe).
- docs/casan Windows + security/bypass guides; plan status -> IMPLEMENTED.
- harden generate-agentops-dashboard.py aggregation against null H6 costs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-23 20:44:07 +07:00
thanhnv 6faf589694 docs(devkit): ship Windows adoption guides 2026-07-21 23:51:03 +07:00
thanhnv 7b2ba60a3a feat(devkit): enforce governed prompt adoption 2026-07-21 23:40:26 +07:00
thanhnv 4d5dca9400 feat(control-panel): embed H6 telemetry in goal view 2026-07-21 23:38:59 +07:00
thanhnv 4b6819f578 update report h6 2026-07-20 23:47:09 +07:00
thanhnv f462079435 feat: casan chat optz 2026-07-19 12:14:12 +07:00
thanhnv 709b6cccd6 feat: appove and go 2026-07-19 09:37:16 +07:00
thanhnv 13fae3e6c3 fix template, remove okr, use casan.* 2026-07-18 16:45:31 +07:00
thanhnv ffff800295 feat(control-panel): add oidc account switching 2026-07-18 14:05:35 +07:00
thanhnv 03ddeb7123 fix(control-panel): sign strict goal approvals via oidc 2026-07-18 13:59:15 +07:00
thanhnv c0a6dbc25f fix: build patches from complete target context 2026-07-18 13:44:20 +07:00
thanhnv 850be145d7 fix: keep h2 patch repair on direct codex 2026-07-18 12:20:22 +07:00
thanhnv 1e5cfb341c fix: complete streamed patch repair responses 2026-07-18 12:14:02 +07:00
thanhnv 659ed09839 fix: make h2 patch repair failures diagnosable 2026-07-18 12:04:32 +07:00
thanhnv 61a8253679 feat: route codex patch repair through responses api 2026-07-18 11:53:24 +07:00
thanhnv 4f8a53bda9 fix: strengthen goal patch repair routing 2026-07-18 11:36:03 +07:00
thanhnv f23fb98953 fix: validate and size governed patch outputs 2026-07-18 11:29:37 +07:00
thanhnv e17a373da6 fix: prioritize direct providers for goal patch recovery 2026-07-18 10:32:06 +07:00
thanhnv 049f0c9b04 feat: visualize governed goal progress live 2026-07-18 10:19:26 +07:00
thanhnv efb5a62f29 fix: keep goal failure reasons gate-specific 2026-07-18 10:04:55 +07:00
thanhnv 1ffe5fe3df fix: retry invalid goal patch contract once 2026-07-18 09:57:05 +07:00
thanhnv 9785e13c82 feat: export aggregate Prometheus metrics 2026-07-18 09:25:56 +07:00
thanhnv e50714d622 feat: add tenant isolation pre-audit evidence 2026-07-18 09:04:39 +07:00
thanhnv b921f25c57 feat: require rootless production sandbox runners 2026-07-18 00:19:53 +07:00
thanhnv 407d373b4e feat: gate upgrades with compatibility matrix 2026-07-18 00:17:45 +07:00
thanhnv d129ba60ef fix: require Vault audit signing in production 2026-07-18 00:15:38 +07:00
thanhnv 00963119f4 feat: add verified state backup and restore drill 2026-07-18 00:14:22 +07:00
thanhnv 881ee01691 feat: prepare CASAN paid PoC release package 2026-07-18 00:07:04 +07:00
thanhnv a2cca645dc feat: apply reviewed goal patches 2026-07-12 00:21:50 +09:00
thanhnv 159022c73f feat: create new project added 2026-07-11 22:42:42 +09:00
thanhnv 193a449829 feat: updade workspace 2026-07-11 15:56:31 +09:00
thanhnv 4fc72332f5 optz: Goal orchestrator 2026-07-11 12:18:59 +09:00
thanhnv b56f7d357e feat: harden control panel authentication 2026-07-10 23:48:12 +09:00
thanhnv 48b1186439 feat: orchestrate goals with local and cloud models 2026-07-10 23:35:30 +09:00
thanhnv 1345d4c930 feat: add live H1-H7 trace explorer 2026-07-10 23:17:23 +09:00
thanhnv 7cb592a32f feat: add local provider account connector 2026-07-10 23:05:24 +09:00
thanhnv adce7717f7 feat: connect chat to managed model providers 2026-07-10 17:40:44 +09:00
thanhnv b0ced79af5 feat: govern chat model selection by policy 2026-07-10 17:09:28 +09:00
thanhnv f8215cd2eb feat: onboard service desk as second CASAN project 2026-07-10 17:00:35 +09:00
thanhnv 040af64191 feat: enforce live supply chain provenance gates 2026-07-10 16:47:45 +09:00
thanhnv aa284e9bd4 feat: add production deployment handoff controls 2026-07-10 16:41:14 +09:00
thanhnv 7cea023dce feat: chat + optmz control panel 2026-07-10 16:26:30 +09:00
thanhnv d882a9dc23 feat: plan 18 2026-07-10 11:28:14 +09:00
thanhnv fafccc47ad feat: complete llm sourcegen plan 2026-07-09 00:59:28 +09:00
thanhnv c800f7edf7 feat: harden chat state by tenant 2026-07-08 23:38:22 +09:00
thanhnv b3b0544ba8 feat: certify codegen chat drafts through loop 2026-07-08 23:20:54 +09:00
thanhnv 780fe86273 feat: escalate chat approvals through inbox 2026-07-08 23:09:43 +09:00
thanhnv a029a51e72 feat: add command center chat loop widget 2026-07-08 22:58:02 +09:00
thanhnv 36af576f15 feat: add chat replay verification 2026-07-08 22:45:12 +09:00