Repository navigation
feat: integrate 68 reviewed ECC contributions with maintainer repairs - #3882
Conversation
…miter Bash decodes $'...' quoting, so <<$'E\x4fF' ends at an EOF line. The splitter kept the escape, ended the body at a literal E\x4fF line, and exposed the rest of the body as commands. The delimiter word is now read by readWord(), which decodes $'...' as Bash does, \' included.
…nline A list that starts at a number other than 1 cannot interrupt a paragraph, so 'Paragraph\n2. <!-- c --> [x](y)' is one paragraph whose comment is inline and whose link is real. The marker opened a comment block and hid the link. After a paragraph line, such a marker now leaves the comment inline. After a blank line, a list line or a '1.', it still opens a block.
…s UTF-8 Bash reads \xHH and \NNN in $'...' as bytes, so <<$'\xc3\xa9' ends at an é line. Each escape became its own character (é), which ended the body at the wrong line. The bytes of the delimiter are now collected and decoded as UTF-8.
…ntinuation An indented line such as ' continued' after '1. first' continues the list item, so the '2.' after it starts the next item, and a comment there opens a block. The paragraph check took the indented line for a paragraph line and left the comment inline.
…thout spreading Invalid UTF-8 in a $'...' delimiter became U+FFFD, which a body line could match although Bash compares raw bytes. Such a delimiter now matches no line, so its body runs to the end of the command, as in Bash. The bytes were also spread into one push() call, which threw for a delimiter of 200,000 characters. The hook then failed open. The bytes are now collected as buffers and concatenated once.
…a shell
pipelineSources() read the literal output of the commands that feed a shell, but a brace group or subshell producer has no words of its own, so nothing it printed reached the check. { echo 'git commit --no-verify -m x'; } | sh and (echo 'git push --no-verify'; printf x) | bash passed the guard, while echo 'git commit --no-verify -m x' | sh is blocked. shell-scan now keeps the source text of a closed scope, and pipelineSources() reads the commands in it that write to the group's output, as it already does for a plain producer.
…receives them
The commands in a group write one stream into the pipe, so a bypass split across them, as in { printf 'git pu'; printf 'sh --no-verify'; } | sh, was read as two harmless fragments. groupSources() now adds the outputs joined in order next to the separate ones. The group handling moves out of pipelineSources() to keep it under the complexity limit.
…eds a shell printf writes \n, \t and the other whitespace escapes of its format as the characters they name, but the producer text kept them as a backslash and a letter. printf 'git push --no-verify\n' | sh was read as the flag --no-verifyn and passed, with or without a group around it. printfText() now decodes the whitespace escapes and \\. Numeric escapes stay encoded, as for $'...' in shell-scan.
…ined
echo writes a newline unless -n is given, so { echo 'git pu'; echo 'sh --no-verify'; } | sh feeds sh two separate lines. The joined read glued them into git push --no-verify and blocked the group. echoText() and printf's %s\n branch now end their text with the newline they write, while echo -n and printf without one still join directly.
… printf %s arguments echo takes -n, -e and -E only before its first operand, so echo 'git commit -m x' -n prints git commit -m x -n and runs the bypass when it is piped into sh. The producer text removed the -n wherever it stood and lost the flag. printf '%s' reuses its format for every argument without a separator, so printf '%s' 'git pu' 'sh --no-verify' writes git push --no-verify, but the arguments were joined with newlines. Both passed on main as well.
… bash reads them A carriage return is part of a bash word and line, so after an LF delimiter a line ending in \r no longer ends the body early and exposes the body as commands. In an expanded body, a line ending in an escaping backslash is joined with the next before it is compared, so `EO\` and `F` end an unquoted <<EOF and the command after it is checked. A # after an escaped blank, as in `echo foo\ # && npm run dev`, is part of the word, not a comment.
…rts a comment Bash removes a backslash-newline before it reads the line, so the character before the pair decides whether a following # starts a word. `echo \` then `# <<EOF` on the next line is a comment, and the command after it runs; `echo foo\` then `#bar` stays one word. Count the backslashes before a blank instead of remembering the last escape, which also took the continuation for an escaped character.
Opt-in entry for @mnemosyne_os/mcp (MIT): local memory from the Mnemosyne OS desktop app, plus an agent status card on the user's canvas and a view of the other live agent sessions on the same worktree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Addresses the CodeRabbit review: the catalog description now states that tool results, memory included, go to the MCP client. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add a skill for Platform Factory (pf), a daemonless deterministic OCI builder with native SBOM/provenance, covering the detect/plan/freeze/ build/verify/run workflow and a companion Claude Code freeze-guard plugin. Registered in package.json, install-modules.json, agent.yaml and the skill-triggers manifest; catalog counts regenerated (311 -> 312). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
pf build/launch produce .platform-factory/image, not ./oci-image (that is the low-level oci-builder example). Use the project output in verify/run. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ry skill Verified against a real pf binary: `pf freeze` is deprecated in favour of `pf project freeze`, and a project starts with `pf init` (pf.yaml). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…h/deploy Add rule 6: state registry, image reference and action and wait for explicit approval before pf publish/deploy/launch --publish; never add --yes alone; keep tool permissions narrow. Note that launch --publish also starts the workload. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…t of config Drop the private monorepo link, point the CLI at npm @roundhouseai/x402@0.6.0, and link the public MCP server. The mcp-remote example expands ROUNDHOUSE_API_KEY and refuses to configure when that key is missing. Co-authored-by: Leo Mercier <leo@crowdform.co.uk>
…est and address review feedback
Adds a trySymlink helper that logs the existing skip notice and returns false on EPERM/EACCES/ENOSYS, and uses it where tests created symlinks unguarded. Non-admin Windows accounts without Developer Mode now skip these cases instead of failing.
Uses trySymlink for the committed-symlink .venv fixture so non-admin Windows accounts skip the case instead of failing with EPERM.
… facilitator Pin mcp-remote 0.15.2, refuse a prefix-only API key, and stop non-expanding clients from overriding the bearer variable. Record the live Base mainnet kinds, the current fee payer, and the unmerged upstream docs PR. Update the Turkish catalog count to 312 skills. Co-authored-by: Leo Mercier <leo@crowdform.co.uk>
ECC Tools / PR Harness AuditCommit: No harness issues detected (success) Scanned 25 changed config file(s) and found no harness issues. Changed config files:
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / Security EvidenceCommit: Security evidence gate passed (success) No security-sensitive scanner-evidence gap detected. Mode: enforce Scanned 326 changed file(s). No missing scanner-evidence signal was detected. Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / PR Risk TaxonomyCommit: PR taxonomy review recommended (neutral) Detected 7 PR taxonomy bucket(s): Security Evidence, Harness Drift, Install Manifest Integrity, CI/CD Recommendation, Cost/Token Risk, Skill Quality, Agent Config Review. Scanned 326 changed file(s). Roadmap taxonomy buckets: Security EvidenceSecurity-sensitive changes should carry explicit scanner, code-scanning, or focused regression evidence. Signals:
Paths:
Harness DriftHarness-facing changes can drift across Claude Code, Codex, OpenCode, and shared adapter surfaces. Signals:
Paths:
Install Manifest IntegrityInstall manifests, plugin metadata, and shipped skills should stay synchronized with user-facing setup guidance. Signals:
Paths:
CI/CD RecommendationCI, dependency, coverage, and contract signals should be routed into follow-up checks or verification work. Signals:
Paths:
Cost/Token RiskAI routing, usage, and token-budget changes should include budget or usage-limit evidence. Signals:
Paths:
Skill QualitySkill, agent, command, and rule guidance should carry examples, triggers, validation, or reference evidence. Signals:
Paths:
Agent Config ReviewAgent, command, skill, MCP, and local instruction changes should be reviewed as executable agent configuration. Signals:
Paths:
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / Reference Set ReadinessCommit: Reference set readiness gaps detected (neutral) Reference evidence present for 4/7 areas (57%) across 326 changed file(s). This check is based on files changed in this PR. Repository-level readiness is still reported by
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / Hosted Promotion ReadinessCommit: Hosted promotion readiness passed (success) No hosted promotion evidence gaps detected across 326 changed file(s); 1 corpus scenario had matching evidence. This check compares PR file changes against the evaluator/RAG promotion corpus in
Retrieval and model promotion planci-failure-diagnosisTop retrieval candidates:
Model prompt seed: Decide whether Model-backed promotion judging contract
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / PR Config AuditCommit: Changed-config issues require attention (action_required) Scanned 25 config file(s) present at this commit across 25 changed config path(s) and found 12 issue(s). Changed config files:
Top findings:
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / PR Harness AuditCommit: No harness issues detected (success) Scanned 25 changed config file(s) and found no harness issues. Changed config files:
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / Security EvidenceCommit: Security evidence gate passed (success) No security-sensitive scanner-evidence gap detected. Mode: enforce Scanned 327 changed file(s). No missing scanner-evidence signal was detected. Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / PR Risk TaxonomyCommit: PR taxonomy review recommended (neutral) Detected 7 PR taxonomy bucket(s): Security Evidence, Harness Drift, Install Manifest Integrity, CI/CD Recommendation, Cost/Token Risk, Skill Quality, Agent Config Review. Scanned 327 changed file(s). Roadmap taxonomy buckets: Security EvidenceSecurity-sensitive changes should carry explicit scanner, code-scanning, or focused regression evidence. Signals:
Paths:
Harness DriftHarness-facing changes can drift across Claude Code, Codex, OpenCode, and shared adapter surfaces. Signals:
Paths:
Install Manifest IntegrityInstall manifests, plugin metadata, and shipped skills should stay synchronized with user-facing setup guidance. Signals:
Paths:
CI/CD RecommendationCI, dependency, coverage, and contract signals should be routed into follow-up checks or verification work. Signals:
Paths:
Cost/Token RiskAI routing, usage, and token-budget changes should include budget or usage-limit evidence. Signals:
Paths:
Skill QualitySkill, agent, command, and rule guidance should carry examples, triggers, validation, or reference evidence. Signals:
Paths:
Agent Config ReviewAgent, command, skill, MCP, and local instruction changes should be reviewed as executable agent configuration. Signals:
Paths:
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / Reference Set ReadinessCommit: Reference set readiness gaps detected (neutral) Reference evidence present for 4/7 areas (57%) across 327 changed file(s). This check is based on files changed in this PR. Repository-level readiness is still reported by
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / Hosted Promotion ReadinessCommit: Hosted promotion readiness passed (success) No hosted promotion evidence gaps detected across 327 changed file(s); 1 corpus scenario had matching evidence. This check compares PR file changes against the evaluator/RAG promotion corpus in
Retrieval and model promotion planci-failure-diagnosisTop retrieval candidates:
Model prompt seed: Decide whether Model-backed promotion judging contract
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / PR Config AuditCommit: Changed-config issues require attention (action_required) Scanned 25 config file(s) present at this commit across 25 changed config path(s) and found 12 issue(s). Changed config files:
Top findings:
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / PR Harness AuditCommit: No harness issues detected (success) Scanned 25 changed config file(s) and found no harness issues. Changed config files:
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / Security EvidenceCommit: Security evidence gate passed (success) No security-sensitive scanner-evidence gap detected. Mode: enforce Scanned 326 changed file(s). No missing scanner-evidence signal was detected. Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / PR Risk TaxonomyCommit: PR taxonomy review recommended (neutral) Detected 7 PR taxonomy bucket(s): Security Evidence, Harness Drift, Install Manifest Integrity, CI/CD Recommendation, Cost/Token Risk, Skill Quality, Agent Config Review. Scanned 326 changed file(s). Roadmap taxonomy buckets: Security EvidenceSecurity-sensitive changes should carry explicit scanner, code-scanning, or focused regression evidence. Signals:
Paths:
Harness DriftHarness-facing changes can drift across Claude Code, Codex, OpenCode, and shared adapter surfaces. Signals:
Paths:
Install Manifest IntegrityInstall manifests, plugin metadata, and shipped skills should stay synchronized with user-facing setup guidance. Signals:
Paths:
CI/CD RecommendationCI, dependency, coverage, and contract signals should be routed into follow-up checks or verification work. Signals:
Paths:
Cost/Token RiskAI routing, usage, and token-budget changes should include budget or usage-limit evidence. Signals:
Paths:
Skill QualitySkill, agent, command, and rule guidance should carry examples, triggers, validation, or reference evidence. Signals:
Paths:
Agent Config ReviewAgent, command, skill, MCP, and local instruction changes should be reviewed as executable agent configuration. Signals:
Paths:
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / Reference Set ReadinessCommit: Reference set readiness gaps detected (neutral) Reference evidence present for 4/7 areas (57%) across 326 changed file(s). This check is based on files changed in this PR. Repository-level readiness is still reported by
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / Hosted Promotion ReadinessCommit: Hosted promotion readiness passed (success) No hosted promotion evidence gaps detected across 326 changed file(s); 1 corpus scenario had matching evidence. This check compares PR file changes against the evaluator/RAG promotion corpus in
Retrieval and model promotion planci-failure-diagnosisTop retrieval candidates:
Model prompt seed: Decide whether Model-backed promotion judging contract
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / PR Config AuditCommit: Changed-config issues require attention (action_required) Scanned 25 config file(s) present at this commit across 25 changed config path(s) and found 12 issue(s). Changed config files:
Top findings:
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
ECC Tools / PR Harness AuditCommit: No harness issues detected (success) Scanned 25 changed config file(s) and found no harness issues. Changed config files:
Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission. |
Resolve both sides of the source_doc containment check with fs.realpathSync.native (falling back to fs.realpathSync). With the JS realpath, a repo root reached through a Windows 8.3 short name stays in short form while an in-repo symlink whose target uses the long-path form resolves to the long form, so a legitimate in-repo doc was reported as "resolves outside repository root". Escapes outside the repo are still rejected. Adds a cross-platform regression test that models differing JS and native realpath results: in-repo docs are accepted through a short-form root and an outside target is still rejected. It fails on the previous implementation. Not required for the affaan-m#3882 Windows CI fix; kept as a separate commit so it can be taken or dropped on its own.
|
@haelyra Fix for the failing Cause: Windows runners'
Merge #3901 into this branch, or cherry-pick |
|
Supply-Chain Watch pre-check for this integration, ahead of the post-merge watch on The #3901 tree passes every watch step locally. That tree is
The current watch on The five scheduled runs before it passed on the same commit, and neither the lockfile entry nor the package's attestation (integrated 2026-10-28) has changed. The publish attestation's key, Not verified: I haven't run the check with npm 10.8.2 on Node 20, the versions the workflow uses. So I can't rule out that the failure is specific to that npm version. If it keeps happening, moving the watch to Node 22 would also clear the |
GitHub Windows runners use an 8.3 short path for os.tmpdir() (C:\Users\RUNNER~1\...). git rev-parse --show-toplevel returns the long path, but JS fs.realpathSync does not expand 8.3 short names, so isGitWorkTreeRoot compared unequal for a valid worktree and source preparation fell through to the registry branch and threw. Prefer fs.realpathSync.native (falling back to realpathSync for injected fakes) in isGitWorkTreeRoot and findRegistrySource. Fail-closed behavior is unchanged. Adds cross-platform and Windows-only regression tests. Fixes the windows npm/full lane on affaan-m#3882.
This integrates reviewed fixes for hook execution, shell parsing, secret redaction, installer ownership, package-manager detection and cross-harness delivery, alongside focused workflow and localization guidance. It preserves the complete histories of 68 contributor PR heads and applies bounded maintainer repairs against main
b38be6a7f6350964d59328b52f0624e1d1d552d1.Final source:
b2cb4b399bb6a390802e96abcc6af8df88ac1fd2.Repairs and compatibility
Verification
Final exact-head CI, default CodeQL and Supply-Chain Watch are pending; this remains a draft until they pass.
Independent exact-commit reviews cover all source admissions and the final security/workflow deltas. Actual affected workflows include isolated install/repair/uninstall, local Git and fake-Claude scenarios, official OpenCode permission/shell controls, PowerShell argument roundtrips, Godot headless examples, public OpenAlex reads and localhost SDK fixtures. Package-manager/install, Python and Rust checks have saved terminal evidence.
Two medium CodeQL warnings remain documented: an existing Windows batch-test fixture and intentional execution of trusted project formatters with the trusted launcher environment. No alerts were dismissed, and no zero-alert claim is made. Malicious formatter code or launcher environment is outside that existing execution trust boundary.
Native authenticated model/MCP parity, native Grok certification, new sandbox tiers, durable ExecutionCapsules, Fleet dispatch and release/tag/registry promotion retain separate gates. This advances M0 reliability/distribution and bounded M1 guidance while preserving ECC authority over policy, canonical state, capabilities, receipts and evidence.
Complete original heads preserved
#3824, #3855, #3827, #3857, #3881, #3814, #3822, #3829, #3835, #3849, #3858, #3870, #3663, #3670, #3671, #3672, #3675, #3862, #3864, #3865, #3866, #3832, #3833, #3834, #3838, #3839, #3863, #3874, #3871, #3876, #3872, #3873, #3813, #3820, #3818, #3819, #3811, #3817, #2496, #3598, #3638, #3747, #3830, #3848, #3853, #3860, #3581, #3585, #3612, #3613, #3616, #3787, #3627, #3648, #3836, #3869, #2856, #3540, #3739, #3808, #3812, #3709, #3743, #3823, #3737, #3650, #3673, #3854.
All 68 heads are ancestors of the final source; no nonadmitted original head is included. #3106 is a separate continuation and is excluded here. Merge with an ancestry-preserving merge commit. The maintainer coordinator will verify the exact resulting main CI, CodeQL and fresh Supply-Chain Watch before counting these originals resolved or posting contributor completion comments.