[WRONG BRANCH] feat(skills,security,credentials): Phases 20.57–20.59 skill, security, and credential control planes - #4728
Conversation
- Add canonical AgentSkill manifest, types, and persistence layer using bun:sqlite - Implement deterministic static instruction scanner with 20+ security rules - Implement risk assessment model with hard escalations and policy engine - Implement review and approval workflow with content-bound hash integrity - Add Agent Adapter SDK with Codex, Claude Code, OpenCode, and Universal adapters - Add safe scope and path resolver preventing path traversal and symlink escapes - Implement transactional deployment engine with pre-deployment snapshots, staging, atomic replacement, and post-write verification - Implement drift detection and 3-way conflict resolution engine - Implement skills.sh marketplace connector with offline fallback catalog - Add restricted SSH transport with strict host-key pinning and secret broker refs - Integrate Phase 20.56 capability factory bridge for generated skills - Add agent self-service constrained tools - Expose complete REST management API endpoints and route registry declarations - Add ocx/pao skill CLI surface with subcommands and machine-readable output - Build visual Skill marketplace, registry, editor, and deployment matrix GUI - Add unit, integration, and security test suites covering all seed demos Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…credential runtime Add the authorized security-agent control plane (scope, policy, human-approval, fixture recon, evidence) and the provider access / credential runtime (AES-256-GCM vault, fixture health, OAuth gateway, policy-governed leases). Both are feature-flagged off by default, hash-routable in the GUI without changing frozen NAV, and never return plaintext secrets on list APIs. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
⏳ DRAFT
What to do
Review readiness checklist
0/4 boxes ticked. Its title has been prefixed with |
리뷰 · 우선순위 52 / 80이 PR은 OpenCodeX 런타임 위에 스킬 제어면(Phase 20.57), 보안 에이전트 제어면(20.58), 자격증명/볼트 런타임(20.59) 세 덩어리를 한 번에 올리는 초안입니다. GUI 사이드바의 고정 지금 자격증명 면은 이미 있는 보안 면은 fixture 정찰, 기본 거부, R3 차단, 막힌 행동 목록을 넣어 “라이브 공격 도구 없음”을 분명히 합니다. 그래도 관리 API·DB·캠페인·승인 게이트가 통째로 생기고, 플래그 기본 off, baseRefName - 타깃이 메인테이너의 판단이 필요한 지점
너의 추천 이 댓글은 grok-bot이 작성했습니다 |
Summary
Adds three opt-in control planes on top of the existing OpenCodeX runtime. Frozen GUI
NAVis unchanged: Skills, Security, and Credentials are hash-routable (#skills,#security,#credentials) only.SECURITY_RUNTIME_ENABLED(default off). No live offensive tooling.CREDENTIAL_RUNTIME_ENABLED(default off). List/detail APIs never return plaintext secrets. No live provider health, quota, or OAuth network calls on the default path. Does not implement account registration, CAPTCHA/Turnstile/Cloudflare bypass, credential stuffing, or unauthorized session acquisition.Persistence is bun:sqlite under
$OPENCODEX_HOME(skills/security.sqlite/credentials.sqlite). Management routes are declared insrc/server/management/route-registry.ts. CLI:ocx skills,ocx security,ocx credentials(aliascreds).Verification
bun x tsc --noEmit(root)bun x tsc -b --pretty false(gui)bun test tests/credentials tests/security tests/cli/cli-registry.test.ts tests/server/management-route-registry.test.ts ./gui/tests/sidebar-rows.test.ts ./gui/tests/claude-desktop-locale.test.ts— passtests/gui/routing-intelligence-ui.test.tsand related) — passbun scripts/file-size-ratchet.tsbun scripts/structure-ssot.ts/bun run structure:indexbun scripts/privacy-scan.tsbun run skill:surface:checkGUI: pages render under
#skills,#security, and#credentials. SidebarNAVstill has the ten frozen rows only (dashboard, codex-set, providers, models, subagents, logs, usage, storage, remote, integrations). No live dashboard screenshot in this description; reviewer can open those hashes locally with the corresponding feature flags.Checklist
structure/security-control.md,structure/credential-runtime.md,structure/manifest.json, regeneratedstructure/INDEX.md)CREDENTIAL_MASTER_KEY; secrets redacted from list APIs, audit, and GUI; mutating credential/security APIs refuse when the flag is off)🤖 Generated with Claude Code
Review readiness checklist
This PR stays in draft until every box below is ticked. Tick all four boxes once the requirements are met:
All CI tests are green on my local testing.
I pushed my PR to the latest dev commit.
I resolved all correct Codex and CodeRabbit findings.
My PR is ready for review.
Summary by CodeRabbit