Commit 74493fe
Copilot/sub pr 10 (#20)
* fix: complete 4-lane remediation — tests, governance, security, CORS
Lane 1 (Testing): Add vitest infrastructure with MCP test cases
covering JSON-RPC protocol, tool success/error paths, and defensive
parsing.
Lane 2 (Governance): Add GitHub Actions CI/CD (ci.yml, deploy-worker,
governance gates), org governance scripts (audit, enforce, remediate),
ISSUE_TEMPLATE, release.yml, and governance-baseline templates.
Lane 3 (Security): Add .gitleaks.toml for secret scanning, security
docs (access broker runbook, secret rotation checklist, scan report),
.gitignore hardening.
Lane 4 (Code + UI): CORS OPTIONS + credentials support, MCP server
expanded from 6 to 28 tools across 8 domains, integrations and
validators updates, UI disputes widget and API client fixes.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: address PR review feedback across 10 files
- package.json: remove trailing space on kv:seed script line
- ci.yml: add npm test step, fix secret allowlist to catch bracket
notation (secrets['NAME']) in addition to dot notation
- reusable-governance-gates.yml: same bracket notation fix
- chittycompliance-dispatch.sh: replace string interpolation with
jq -nc for all JSON payloads to prevent injection
- org-governance-adversarial-review.sh: add defensive // [] for
missingFiles and missingTriggers jq expressions
- connect.ts: proper AuthVariables typing instead of @ts-expect-error
- integrations.ts: normalize KV cache key with encodeURIComponent
- wrangler.toml: default PLAID_ENV to sandbox, production override
in [env.production.vars]
- org-governance-pr-integration-loop.sh: add author verification
against governance automation allowlist before auto-approve
- .gitignore: exclude timestamped governance report artifacts
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Initial plan
* fix: address unresolved review comments — error info leakage, type safety, and MCP tests
Co-authored-by: chitcommit <208086304+chitcommit@users.noreply.github.com>
* fix: wire mcpAuthMiddleware in tests, fix empty-body parse error, rename GET test
Co-authored-by: chitcommit <208086304+chitcommit@users.noreply.github.com>
* Wire mcpAuthMiddleware in tests and return JSON-RPC parse error on empty body (#15)
* Address MCP review feedback in test harness and parsing
* Initial plan (#16)
Co-authored-by: openai-code-agent[bot] <242516109+Codex@users.noreply.github.com>
* Resolve MCP merge conflicts while preserving JSON-RPC parse safeguards (#17)
* Initial plan
* chore: resolve mcp merge conflicts
---------
Co-authored-by: openai-code-agent[bot] <242516109+Codex@users.noreply.github.com>
---------
Co-authored-by: Codex <242516109+Codex@users.noreply.github.com>
* Harden MCP request validation and tighten parse-error tests (#19)
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Codex <242516109+Codex@users.noreply.github.com>1 parent 408e854 commit 74493fe
2 files changed
Lines changed: 21 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
201 | 207 | | |
202 | 208 | | |
203 | 209 | | |
204 | 210 | | |
205 | | - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
206 | 215 | | |
207 | 216 | | |
208 | 217 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
45 | | - | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
244 | 245 | | |
245 | 246 | | |
246 | 247 | | |
247 | | - | |
| 248 | + | |
248 | 249 | | |
249 | 250 | | |
250 | 251 | | |
| |||
254 | 255 | | |
255 | 256 | | |
256 | 257 | | |
257 | | - | |
258 | | - | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
259 | 264 | | |
260 | 265 | | |
261 | 266 | | |
| |||
0 commit comments