Commit Graph

1725 Commits

  • feat(installer): add --locale flag for translated docs installation
    Adds `--locale <code>` support to the ECC installer so users can install
    localized reference docs (agents, commands, skills, rules) into
    `~/.claude/docs/<locale>/` alongside the existing English installation.
    
    Changes:
    - manifests/install-modules.json: add 8 locale doc modules (docs-ja-JP,
      docs-zh-CN, docs-ko-KR, docs-pt-BR, docs-ru, docs-tr, docs-vi-VN,
      docs-zh-TW), each with kind="docs" and defaultInstall=false
    - manifests/install-components.json: add 8 locale: components mapping to
      the new modules
    - scripts/lib/install-manifests.js: add locale: family prefix,
      SUPPORTED_LOCALES, LOCALE_ALIAS_TO_COMPONENT_ID (with aliases like
      ja=ja-JP, zh=zh-CN, ko=ko-KR), and listSupportedLocales()
    - scripts/lib/install/request.js: add --locale flag to parseInstallArgs(),
      resolve locale alias → component ID in normalizeInstallRequest(), throw
      on unsupported locale codes
    - scripts/lib/install-targets/claude-home.js: map docs/<locale>/ source
      paths to ~/.claude/docs/<locale>/ destination (side-by-side, no overwrite
      of English files)
    - scripts/install-apply.js: import listSupportedLocales, add --locale
      usage line and available locales list to --help output
    
    Usage examples:
      ./install.sh --locale ja                    # Japanese docs only
      ./install.sh --profile core --locale zh-CN  # core profile + zh-CN docs
      ./install.sh typescript --locale ja         # legacy + locale (errors)
  • feat(ja-JP): add skill sub-reference translations (angular, remotion, etc.)
    Translated 85 skill sub-reference files to achieve full parity with
    the English source:
    
    - skills/angular-developer/references/ — 35 files (all references)
    - skills/remotion-video-creation/rules/ — 28 files (all rules)
    - skills/tinystruct-patterns/references/ — 5 files
    - skills/openclaw-persona-forge/references/ — 6 files
    - skills/skill-comply/prompts/ — 3 files
    - skills/lead-intelligence/agents/ — 4 files
    - skills/brand-voice/references/ — 1 file
    - skills/frontend-slides/ — 2 files
    - hooks/memory-persistence/README.md — 1 file
    
    English source parity: 0 missing files (excluding rules/zh/, internal
    docs, and experimental examples absent from zh-CN)
  • fix(ja-JP): translate frontmatter description to Japanese in 3 skills
    - skill-scout: translate description field
    - tinystruct-patterns: translate description field
    - ui-to-vue: translate description field
  • fix(ja-JP): address review feedback and add 5 missing skills
    - Fix Chinese term '提炼' → '蒸留' in commands/rules-distill.md
    - Fix '重大な所見' (Critical→重大) in agents/opensource-sanitizer.md
    - Fix non-transactional persistence in swift-actor-persistence/SKILL.md:
      add rollback logic so cache stays consistent if disk write fails
    - Clarify anti-pattern wording: 'configurable file URL' → 'externally
      mutable after init' to remove internal inconsistency (P2)
    - Fix broken relative link in videodb/reference/api-reference.md:
      ../../../../../skills/... → ./editor.md
    - Add 5 previously missing SKILL.md translations:
      skill-scout, tinystruct-patterns, ui-to-vue, vite-patterns,
      windows-desktop-e2e
  • docs: fix zh-CN parity — add 44 missing files to ja-JP
    Add files present in zh-CN but missing from ja-JP:
    - commands: claw, context-budget, devfleet, docs, projects, prompt-optimize, rules-distill (7 files)
    - skills: regex-vs-llm-structured-text, remotion-video-creation, repo-scan, research-ops,
      returns-reverse-logistics, rules-distill, rust-patterns, rust-testing, skill-comply,
      skill-stocktake, social-graph-ranker, swift-actor-persistence, swift-concurrency-6-2,
      swift-protocol-di-testing, swiftui-patterns, team-builder, terminal-ops, token-budget-advisor,
      ui-demo, unified-notifications-ops, video-editing, videodb (+reference/*), visa-doc-translate,
      workspace-surface-audit, x-api (37 files)
    
    Result: ja-JP now has 517 files vs zh-CN 412 files.
    zh-CN parity: 0 missing files (complete parity achieved).
  • docs: add missing Japanese translations to complete zh-CN parity (ja-JP)
    Add remaining files to match zh-CN documentation structure:
    - hooks/README.md — hooks architecture and customization guide
    - examples/ — 8 project CLAUDE.md templates (general, user, django, go, harmonyos, laravel, rust, saas-nextjs)
    - CHANGELOG.md — version history
    - the-openclaw-guide.md — OpenClaw guide (471 lines)
    
    Total: 11 files, 2362 insertions
    ja-JP now has full parity with zh-CN directory structure.
  • docs: add native Japanese translation of ECC documentation (ja-JP)
    Translate everything-claude-code repository to Japanese including:
    - 17 root documentation files
    - 60 agent documentation files
    - 80 command documentation files
    - 99 rule files across 18 language directories (common, angular, arkts, cpp, csharp, dart, fsharp, golang, java, kotlin, perl, php, python, ruby, rust, swift, typescript, web)
    - 199 skill documentation files
    
    Total: 455 files translated to Japanese with:
    - Consistent terminology glossary applied throughout
    - YAML field names preserved in English (name, description, etc.)
    - Code blocks and examples untouched (comments translated)
    - Markdown structure and relative links preserved
    - Professional translation maintaining technical accuracy
    
    This translation expands ECC accessibility to Japanese-speaking developers and teams.
    
    Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
  • docs: sync roadmap after AgentShield corpus expansion
    Records AgentShield PR #82 and moves the next AgentShield roadmap slice to hosted evidence-pack workflow depth.
  • docs: sync roadmap after AgentShield remediation workflows
    Records AgentShield PR #81 and advances the next AgentShield roadmap slice after remediation workflow phases landed.
  • docs: sync roadmap after AgentShield corpus recommendations
    Syncs the ECC 2.0 GA roadmap after AgentShield PR #80 landed corpus accuracy recommendations.
  • docs: sync AgentShield adapter roadmap
    Record AgentShield #68/#69 in the ECC GA roadmap and update the next enterprise slice.
  • ci: gate observability on release safety evidence
    Add release-safety evidence coverage to observability readiness and refresh rc.1 publication gate docs.
  • docs: gate ECC progress sync readiness
    Make the ECC 2.0 GitHub/Linear/handoff/roadmap progress-sync model part of the local observability readiness gate instead of leaving it as roadmap prose only.
    
    - add `docs/architecture/progress-sync-contract.md` for GitHub, Linear, handoff, roadmap, and work-items sync
    - add a `Tracker Sync` check to `scripts/observability-readiness.js`
    - update observability tests with passing and missing-contract coverage
    - update observability and GA roadmap docs so the local readiness gate is now 18/18 and records #1848 supply-chain hardening evidence
    
    Validation:
    - node tests/scripts/observability-readiness.test.js (9 passed, 0 failed)
    - npm run observability:ready -- --format json (18/18, ready true)
    - npx markdownlint-cli 'docs/architecture/progress-sync-contract.md' 'docs/architecture/observability-readiness.md' 'docs/ECC-2.0-GA-ROADMAP.md'
    - git diff --check
    - node tests/docs/ecc2-release-surface.test.js (18 passed)
    - node tests/run-all.js (2378 passed, 0 failed)
    - GitHub CI for #1849 green across Ubuntu, Windows, and macOS
    
    No release, tag, npm publish, plugin tag, marketplace submission, or announcement was performed.
  • docs: add supply-chain incident response playbook
    Add a repo-level supply-chain incident response playbook for npm/GitHub Actions package-registry incidents, anchored on the May 2026 TanStack compromise and prior Shai-Hulud-style npm incidents.
    
    - add `docs/security/supply-chain-incident-response.md` with exposure checks, immediate response steps, workflow rules, publication rules, and escalation triggers
    - link the playbook from `SECURITY.md`
    - reject `pull_request_target` workflows that restore or save shared dependency caches
    - add a regression test for the new `pull_request_target + actions/cache` guardrail
    
    Validation:
    - node tests/ci/validate-workflow-security.test.js (12 passed, 0 failed)
    - node scripts/ci/validate-workflow-security.js (validated 7 workflow files)
    - npx markdownlint-cli 'SECURITY.md' 'docs/security/supply-chain-incident-response.md'
    - npx markdownlint-cli '**/*.md' --ignore node_modules
    - git diff --check
    - node tests/run-all.js (2377 passed, 0 failed)
    - GitHub CI for #1848 green across Ubuntu, Windows, and macOS
    
    No release, tag, npm publish, plugin tag, marketplace submission, or announcement was performed.
  • docs: refresh rc1 release readiness evidence
    Add the May 13 rc.1 publication evidence refresh and update the release-readiness/GA roadmap gates after #1846.
    
    - record current queue, security-gate, harness audit, adapter, observability, Node, markdownlint, release-surface, npm publish-surface, and ecc2 Rust evidence
    - update the publication-readiness checklist with the May 13 evidence artifact
    - normalize zh-CN CLAUDE list markers so markdownlint passes
    
    Validation:
    - node tests/docs/ecc2-release-surface.test.js
    - node tests/docs/harness-adapter-compliance.test.js
    - node tests/docs/stale-pr-salvage-ledger.test.js
    - npx markdownlint-cli '**/*.md' --ignore node_modules
    - git diff --check
    - node tests/run-all.js (2376 passed, 0 failed)
    - npm run harness:audit -- --format json (70/70)
    - npm run harness:adapters -- --check
    - npm run observability:ready -- --format json (16/16)
    - node tests/scripts/npm-publish-surface.test.js
    - cd ecc2 && cargo test (462 passed, 0 failed)
    
    No release, tag, npm publish, plugin tag, marketplace submission, or announcement was performed.
  • ci: require npm audit signature checks
    Require npm registry signature verification wherever workflow npm audit checks run.
    
    - add npm audit signatures to CI Security Scan and maintenance security audit jobs
    - teach the workflow security validator to reject npm audit without signature verification
    - keep the repair and Copilot prompt tests portable across Windows path/case and CRLF frontmatter behavior
    
    Validation:
    - node tests/run-all.js (2376 passed, 0 failed)
    - CI current-head matrix green on #1846
  • feat: add GitHub Copilot prompt support
    Adds GitHub Copilot VS Code instruction and prompt files for ECC workflows, with VS Code prompt frontmatter/settings aligned to current docs and tests covering the surface.
    
    Co-authored-by: Girish Kanjiyani <girish.kanjiyani5040@gmail.com>
    Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
  • docs: tighten agent capability posture
    Remove shell access from two agents that do not need it and reword PyTorch autograd guidance that AgentShield flagged as encoded-payload-like text. AgentShield remains B/75 while findings drop 316->310 and high findings drop 26->21. Local tests passed 2369/2369; full GitHub Actions matrix green.
  • fix: close block-no-verify bypass holes
    Backport Jamkris's fix for case-insensitive core.hooksPath overrides and the git commit -tn template-path false positive. Verified locally on current main with 25/25 block-no-verify tests and node tests/run-all.js passing 2369/2369.
  • docs: add prompt defense baselines
    Add compact prompt-defense baselines to active ECC prompt surfaces and copied CLAUDE examples. AgentShield prompt-defense findings are now zero; local tests passed 2366/2366.
  • ci: harden workflow install boundaries
    - run non-test workflow installs with npm ci --ignore-scripts where lifecycle scripts are not needed\n- reject plain npm ci in workflows with write permissions\n- reject actions/cache in id-token: write workflows to reduce OIDC publish cache-poisoning risk
  • feat: add homelab config skills (VLAN segmentation, Pi-hole DNS, WireGuard VPN) (#1838)
    * feat: add homelab config skills (VLAN, Pi-hole, WireGuard)
    
    Adds three homelab configuration skills, extracted from the stale PR #1413
    with the same safety treatment applied to the previously accepted batch:
    
    - homelab-vlan-segmentation: IoT/guest/trusted/server VLAN design for UniFi,
      pfSense/OPNsense, and MikroTik. All firewall rules add isolation, not remove
      protections. Added change-window guidance and AP trunk port clarification.
    
    - homelab-pihole-dns: Pi-hole install, blocklists, DNS-over-HTTPS, local DNS
      records, troubleshooting. Docker is now the lead install method; bare-metal
      uses inspect-first pattern before running the installer script.
    
    - homelab-wireguard-vpn: WireGuard server, peer config, split tunnel, DDNS.
      Replaced broad iptables FORWARD ACCEPT with scoped directional rules
      (wg0→eth0 forward + established return only). Credentials moved to env
      files with explicit notes against inline secrets and version control.
    
    Continues the contribution from PR #1413; the eight skills/agents from
    that PR are already in main via #1729 and #1731.
    
    * docs: harden homelab skill pack
    
    ---------
    
    Co-authored-by: Affaan Mustafa <affaan@dcube.ai>