Skip to content

armgit / ECC

Public Imported from GitHub
0

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

fix: remove malformed copilot-setup-steps.yml and fix hooks.json regex

anthropic-code-agent[bot]264b44f6179d
diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml
deleted file mode 100644
index f9593bbf5..000000000
--- a/.github/workflows/copilot-setup-steps.yml
+++ /dev/null
@@ -1,18 +0,0 @@
-steps:
- - name: Setup Go environment
- uses: actions/[email protected]
- with:
- # The Go version to download (if necessary) and use. Supports semver spec and ranges. Be sure to enclose this option in single quotation marks.
- go-version: # optional
- # Path to the go.mod, go.work, .go-version, or .tool-versions file.
- go-version-file: # optional
- # Set this option to true if you want the action to always check for the latest available version that satisfies the version spec
- check-latest: # optional
- # Used to pull Go distributions from go-versions. Since there's a default, this is typically not supplied by the user. When running this action on github.com, the default value is sufficient. When running on GHES, you can pass a personal access token for github.com if you are experiencing rate limiting.
- token: # optional, default is ${{ github.server_url == 'https://github.com' && github.token || '' }}
- # Used to specify whether caching is needed. Set to true, if you'd like to enable caching.
- cache: # optional, default is true
- # Used to specify the path to a dependency file - go.sum
- cache-dependency-path: # optional
- # Target architecture for Go to use. Examples: x86, x64. Will use system architecture by default.
- architecture: # optional
diff --git a/hooks/hooks.json b/hooks/hooks.json
index 334231816..e2d6f0623 100644
--- a/hooks/hooks.json
+++ b/hooks/hooks.json
@@ -37,7 +37,7 @@
"hooks": [
{
"type": "command",
- "command": "node -e \"let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{try{const i=JSON.parse(d);const p=i.tool_input?.file_path||'';if(/\\.(md|txt)$/.test(p)&&!/(README|CLAUDE|AGENTS|CONTRIBUTING|CHANGELOG|LICENSE|SKILL)\\.md$/i.test(p)&&!/\\.claude[\\/\\\\]plans[\\/\\\\]/.test(p)&&!/(^|[\\/\\\\])(docs|skills)[\\/\\\\]/.test(p)){console.error('[Hook] WARNING: Non-standard documentation file detected');console.error('[Hook] File: '+p);console.error('[Hook] Consider consolidating into README.md or docs/ directory')}}catch{}console.log(d)})\""
+ "command": "node -e \"let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{try{const i=JSON.parse(d);const p=i.tool_input?.file_path||'';if(/\\.(md|txt)$/.test(p)&&!/(README|CLAUDE|AGENTS|CONTRIBUTING|CHANGELOG|LICENSE|SKILL)\\.md$/i.test(p)&&!/\\.claude[/\\\\\\\\]plans[/\\\\\\\\]/.test(p)&&!/(^|[/\\\\\\\\])(docs|skills)[/\\\\\\\\]/.test(p)){console.error('[Hook] WARNING: Non-standard documentation file detected');console.error('[Hook] File: '+p);console.error('[Hook] Consider consolidating into README.md or docs/ directory')}}catch{}console.log(d)})\""
}
],
"description": "Doc file warning: warn about non-standard documentation files (exit code 0; warns only)"