Commit Graph
209 Commits
Author SHA1 Message Date
haelyra 40ad6c45a5 Merge reviewed PR #3638
# Conflicts:
#	.claude-plugin/marketplace.json
#	.claude-plugin/plugin.json
#	.gemini/GEMINI.md
#	AGENTS.md
#	README.md
#	README.zh-CN.md
#	SOUL.md
#	docs/ja-JP/skills/agent-payment-x402/SKILL.md
#	docs/tr/AGENTS.md
#	docs/zh-CN/AGENTS.md
#	docs/zh-CN/README.md
#	docs/zh-CN/skills/agent-payment-x402/SKILL.md
#	skills/agent-payment-x402/SKILL.md
2026-11-05 23:23:58 -05:00
haelyra acb2ac57a4 Merge reviewed PR #3838 2026-11-05 23:11:09 -05:00
wellkilo 612645c60d fix(skills): remove reserved word from DevFleet skill name 2026-11-01 19:31:07 -08:00
Tawhidul Islam 2007d7d4ab docs(i18n): link ECC-Tools repo directly to avoid relative 404 2026-11-01 11:55:07 +06:00
Tawhidul Islam 6b9f9134ed docs(i18n): fix relative paths and syntax in translated docs 2026-11-01 11:48:09 +06:00
haelyra e4f2f88a32 docs(tinystruct): validate example login inputs before authentication
Add null, blank and example-specific UTF-16 length checks to the English and Japanese login snippets before AuthService. Preserve credential bytes, authentication-failure behavior and the existing successful-session flow. Label the 256/1024 limits as application examples rather than tinystruct defaults.

Compile and execute exact extracted methods against controlled request/auth/session stubs with ephemeral official checksum-verified Temurin17. Baseline: 8 pass,20 fail. Candidate:28 pass,0 fail. Tagged Request API and Java17 target verified. Markdownlint, Unicode and diff checks pass. Root independently reviewed both documents. No full HTTP host, real authentication service, cookie-policy or envelope changes claimed; registry rebound remains root-owned.
2026-10-29 19:40:29 -07:00
haelyra e4b8b8bf01 docs(tinystruct): qualify symlinked static-root protection
Correct the English and Japanese static-file guidance against tinystruct v1.7.37 commit 089ec19022f3bb5d87f1e83e30b2034b24f7e77f. The configured-root exclusion uses lexical normalized paths before symlink resolution, and matching static candidates return before the later project-root-file check. Recommend real dedicated public directories without claiming an upstream security repair.

Verified the exact tagged HttpServer blob 58ff6ae082f7569e73207c9cb4614f680c9d3de7 and eight disposable POSIX filesystem path controls. Java is unavailable, so no Java or HTTP runtime verification is claimed. Changed Markdownlint, Unicode safety and diff checks pass. Parent independently reviewed both documents and the source evidence. Registry rebinding remains with the combined integration.
2026-10-29 17:44:04 -07:00
haelyra ca24fb12c0 docs: clarify compact fallback and tinystruct transport dependencies
Verify context fallback order against transcript-context and passing 55-case workflow suite. Ground CLI injection guidance in tinystruct v1.7.37 Action.getArguments, CommandLine and ApplicationManager at 089ec19022f3bb5d87f1e83e30b2034b24f7e77f. Markdown lint and Pi projection check pass; preserve explicit Pi exclusions.
2026-10-29 17:25:46 -07:00
haelyra 969786b850 docs: integrate verified tinystruct 1.7.37 guidance
Preserve PR #3758 source head deec267f07. Correct the static-root policy against tagged upstream 089ec19022f3bb5d87f1e83e30b2034b24f7e77f: current directory and ancestors are rejected, while configured siblings are permitted. Independent EN/JA source review and Markdown lint passed.
2026-10-29 17:03:51 -07:00
haelyra 6d7d4920c8 fix: close final integration security and portability gaps 2026-10-29 12:57:39 -07:00
haelyra 44e508922a fix: integrate x402 replay guard with bounded retention and audited test dependencies 2026-10-29 11:42:39 -07:00
haelyra 49098b1259 maint: integrate reviewed contribution #3753 2026-10-29 11:28:10 -07:00
haelyra 414e2add02 maint: integrate reviewed contribution #3763 2026-10-29 11:28:07 -07:00
haelyra b21be0281b maint: integrate reviewed contribution #3800 2026-10-29 11:28:04 -07:00
ameandClaude Opus 5.5 2af8f933a5 docs(i18n): fix broken links in translated skills and READMEs
Translated skills in docs/ja-JP and docs/zh-CN link to rules/ and
references/ subfiles that only exist in the English skill, so those
links 404. Point them to the English originals under skills/.

Also fix the LICENSE badge links in docs/zh-CN and docs/zh-TW READMEs
and the scripts/hooks link in docs/ja-JP/hooks/README.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 19:54:50 +05:00
ameandClaude Opus 5.5 241d42152c docs: fix broken session storage example link in longform guide
examples/sessions was removed in d70bab85, so the link 404s.
Point it to the Session File Format section of commands/save-session.md
in the English guide and the es, ja-JP, tr and zh-CN translations.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 19:27:44 +05:00
Dan 9c6499d770 fix(skills): copy pooled buffer bytes before return in golang-patterns
The sync.Pool example returned buf.Bytes(). That slice points into the
pooled buffer. The deferred Reset and Put give the buffer to the next
Get, so another goroutine can overwrite the result while the caller
still uses it.

Return bytes.Clone(buf.Bytes()) instead, and add a short note. Same code
fix in the five translations. pi/core regenerated with
scripts/build-pi-core.js.

Tested: 64 goroutines calling the example under go test -race (Go 1.27).
Old code: DATA RACE and wrong results. New code: passes.
node scripts/build-pi-core.js --check passes.

Replaces the golang part of closed PRs #3351 and #3405, which were not
merged.
2026-10-27 14:38:31 -04:00
Cursor AgentandLeo Mercier 5d92c03063 docs(roundhouse-x402): address open review comments on the bridge and 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>
2026-10-27 15:33:43 +00:00
@James deec267f07 docs: qualify CLI-first guidance and add FileHandler details in tinystruct-patterns
Limit the CLI-first testing guidance to transport-neutral and Mode.CLI actions
in How It Works, When to Use, Best Practices and Red Flags, since actions with
an HTTP mode are rejected from the CLI and must be tested over HTTP.

Also document how FileHandler resolves a relative pattern, what limit, count
and %g mean, the enable steps, and list its level, formatter and encoding
properties in the config example. The ja-JP translation is updated to match.
2026-10-27 21:08:30 +08:00
@James 153b185e02 docs: correct and extend tinystruct-patterns logging configuration
Fix the FileHandler description: pattern is optional and defaults to
%h/java%u.log, with the parent directory created if missing. Also document
logging.enabled, the accepted logging.level values and aliases, custom
Handler/Formatter classes, the logger-level versus handler-level gates, and
that the configuration is read once at startup. Add a Red Flags row for
debug messages that never appear. The ja-JP translation is updated to match.
2026-10-27 20:44:20 +08:00
@James 4f0c087661 docs: update tinystruct-patterns skill for tinystruct 1.7.37
Bump the pinned upstream version to 1.7.37 and document what changed in
the framework since 1.7.34:

- Logging: the 'handlers' property (default ConsoleHandler) and the
  opt-in FileHandler with its pattern/limit/count/append options
  (1.7.36).
- Static files: HttpServer now serves only server.static.dirs /
  server.static.dir (default 'static') and rejects traversal, hidden
  files and project-root files (1.7.37).
- Dual-mode wording: only Mode.DEFAULT actions are reachable from both
  CLI and HTTP; actions bound to Mode.CLI or an HTTP method are rejected
  from the other transport (ApplicationManager.call).
- Login example now checks credentials instead of storing a hard-coded
  user id in the session.
- Red Flags rows for the new failure modes.

The ja-JP translation is updated to match. The frontmatter description
is unchanged.
2026-10-27 20:40:20 +08:00
Isaac KarrerandClaude Opus 5.5 9ccdb06d01 docs(skills): point flox-environments at flox/flox-skills
flox/flox-agentic is archived; the Flox agent skills now live in
flox/flox-skills, which consolidates the former flox-services,
flox-builds, flox-containers, flox-sharing, and flox-cuda skills into
a single flox skill alongside floxify and flox-debug.

Update the Related Skills link and skill list in the English and
Japanese copies, and refresh the skill-triggers registry digest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 15:18:53 -05:00
Christopher FerjoandClaude Opus 5.5 c11288086c fix(skills): release x402 claims that land after a timeout
A claim write that times out can still land. When the guard fails
closed the handler never ran, so a late claim would make every retry
look like a replay of work that never happened; delete it once it
lands. Type the snippet so it passes tsc --strict against the real
packages, and close idle keep-alive sockets in the test on Node 18.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-25 17:44:03 -07:00
Christopher FerjoandClaude Opus 5.5 46baaeddf0 fix(skills): claim x402 payments in onAfterVerify, fail closed
Claim from the verified payload and matched requirements in the
resource server's onAfterVerify hook, so a forged header can no longer
reserve a legitimate payment's key, and an invalid payment takes no
claim. Fail closed on a store error or timeout by returning an abort
(a throwing hook is skipped and would run the handler unguarded);
document fail-open as an explicit, idempotent-only choice. Cover
Permit2 (BigInt nonce) and keep claims until validBefore/deadline.

The test now drives the real @x402/express middleware with payments
signed by the real @x402/evm client and a stand-in facilitator that
checks EIP-3009 signatures with viem, so verification, the hook, the
handler and settlement run in their real order. Adds exact-pinned,
test-only devDependencies and refreshes the registry digest.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-25 17:25:46 -07:00
Christopher FerjoandClaude Opus 5.5 8f7672406c fix(skills): keep x402 replay claims until the authorization expires
The signer picks the EIP-3009 validBefore and verification does not cap
it at maxTimeoutSeconds, so a fixed 900 s TTL could drop the claim for
a still-valid authorization whose settlement failed, and a copy would
run the handler again. Expire claims at validBefore + 60 s (900 s
floor, one-year ceiling) with SET NX EXAT, using node-redis's current
option form. Also wrap messageBytes for createHash so the snippet
typechecks.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-25 17:13:51 -07:00
Christopher FerjoandClaude Opus 5.5 ef5a0805a4 fix(skills): cap pending replay claims when the store stops replying
The claim timeout stops a request from waiting but does not cancel the
command, so a connected-but-silent Redis could accumulate abandoned SETs.
commandsQueueMaxLength bounds them; past the cap, claims reject at once
and the guard fails open. The test asserts the cap and counts unhandled
rejections in its summary.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-25 17:13:51 -07:00
Christopher FerjoandClaude Opus 5.5 e24bffde26 fix(skills): harden x402 seller replay guard; add executable test
- Connect to Redis in the background with an error listener and the
  offline queue disabled, so an unavailable store never blocks startup
  or crashes the process; bound each claim with a 250 ms timeout.
- Include the asset in EVM claim keys (EIP-3009 nonces are per token).
- Cap the payment header at 16 KB before storing anything, and note that
  the path needs the same rate limits as any unauthenticated write.
- State the TTL rule: longer than maxTimeoutSeconds plus the slowest
  handler run.
- tests/ci/agent-payment-x402-seller-guard.test.js runs the guard block
  from all three documents: concurrent copies, key equivalence (EVM
  re-encoding, asset, Solana fee-payer slot), offline and hanging store,
  oversized and missing headers.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-25 17:13:51 -07:00
Christopher FerjoandClaude Opus 5.5 9bd8c1146e docs(skills): add seller replay guard to agent-payment-x402
x402 middleware verifies, runs the handler, then settles. Verification
does not consume the authorization, so concurrent copies of one signed
payment each run the handler; only one settles. Document a claim-once
guard keyed on the EIP-3009 (from, nonce) or the SVM signed message,
with an atomic insert before the payment middleware, failing open.

Mirrored in ja-JP and zh-CN.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-25 17:13:51 -07:00
Eneko Ruiz 3a26147843 docs: repair Japanese guide image URLs
(cherry picked from commit 34574239f8)
2026-10-20 17:40:57 -04:00
Eneko Ruiz 014fcae682 docs: repair localized brand voice schema links
(cherry picked from commit fa932aa35e)
2026-10-20 17:40:57 -04:00
ethereal49 f7c6809bd7 fix(commands): address Santa Loop review feedback
(cherry picked from commit 3a0e3313d5)
2026-10-20 17:38:05 -04:00
ethereal49 4aa28ccac5 fix(commands): honor Codex model configuration in Santa Loop
(cherry picked from commit 2109d97b40)
2026-10-20 17:38:04 -04:00
Zhengyu Chenandhaelyra 90606c8315 docs: correct MODULE_NOT_FOUND plugin cache path (#3586)
* docs: correct MODULE_NOT_FOUND plugin cache path

Point the install command at cache/ecc/ecc/<version>.
The cache/ecc directory itself has no package.json.

* docs: explain the MODULE_NOT_FOUND version placeholder

Tell readers to replace <version> with the version from claude plugin list
before running the install command.

* docs: quote plugin cache version placeholder

---------

Co-authored-by: haelyra <49814733+haelyra@users.noreply.github.com>
2026-10-20 17:28:23 -04:00
Affaan Mustafa 8293d0da8f fix(commands): drop unrendered LITE_MODE_FLAG token from codeagent-wrapper calls (#3640)
The multi-backend, multi-frontend, multi-plan, multi-execute and multi-workflow commands were copied from ccg-workflow's command templates, which carry {{LITE_MODE_FLAG}} and {{GEMINI_MODEL_FLAG}} for that project's installer to substitute. ECC has no substitution step, so bash passed the literal token to codeagent-wrapper as a positional argument, the backend name landed in the working-directory slot, and every call exited 1. Remove the tokens from the five commands and the ja-JP, tr and zh-CN docs copies so the wrapper receives a plain --backend invocation. A regression test scans every multi-* command and translated copy for codeagent-wrapper lines that still contain a {{TEMPLATE}} token.

Fixes #3595
2026-10-19 18:41:07 -04:00
Leo Mercier de49fe4c33 docs(roundhouse-x402): address review feedback
- agent-payment-x402 (en/ja-JP/zh-CN): move Roundhouse out of the quoted
  upstream facilitator list into a separate sentence; clarify disclosure
- roundhouse-x402: explain ${VAR} header expansion (Claude Code .mcp.json)
  and mcp-remote fallback for clients without expansion; drop CLI
  --header example; add untrusted-output and MCP tool-allowlist notes
2026-10-19 19:38:18 +01:00
Leo Mercier 7976f16bc4 feat(skills): add Roundhouse x402 discovery skill and facilitator listing
- Add skills/roundhouse-x402 for catalog, ERC-8004 identity, MCP, rh-x402 CLI, and optional Base facilitator
- List Roundhouse alongside CDP/PayAI in agent-payment-x402 (EN + ja-JP + zh-CN) with affiliation disclosure
2026-10-19 18:22:23 +01:00
haelyra bded8387eb fix: preflight and document snapshot storage capability 2026-10-11 12:34:15 -04:00
haelyra 1ec5b328c6 fix: normalize root overrides and report unverified snapshot staging 2026-10-11 12:05:00 -04:00
haelyra 3fa6e30502 fix: preserve rollback version state and bounded runtime workflows 2026-10-11 11:45:41 -04:00
haelyra 4ce5ae0119 fix: preserve search scope and installed cache discovery 2026-10-11 10:25:44 -04:00
haelyra be230bd85c feat: integrate reviewed adapters, conversion and GateGuard improvements 2026-10-10 17:53:23 -04:00
haelyra 603164ae79 feat(review): integrate consent-gated independent Codex review 2026-10-10 17:47:27 -04:00
haelyra 4b612a73f3 Merge PR #3462: add Arabic locale while preserving Bengali distribution 2026-10-10 17:38:04 -04:00
haelyra 644c7cae8d Merge PR #3431: correct hooks permission settings paths 2026-10-10 17:35:51 -04:00
montjeffrey 92947a68df Merge upstream/main into feat/gateguard-fewer-round-trips
Resolve six conflicts:
- hooks/hooks.metadata.json: keep this branch's gateguard description and
  fingerprint, add upstream's hookify-runtime entries.
- package.json: keep both gateguard-report.js and github-coordination.js.
- scripts/hooks/gateguard-fact-force.js, tests/hooks/gateguard-fact-force.test.js,
  skills/gateguard/SKILL.md: upstream added a simpler session denial cap; this
  branch already has the fuller one (cap threaded through
  markCheckedAndCountDenial, malformed-value warning, miss and target notes),
  so keep it. Upstream's taskset and su wrapper handling, fail-closed
  recursion limit and soft-hyphen sanitising merged cleanly and their tests pass.
- manifests/context-packs/skill-triggers@1.json: take upstream's file and
  recompute registryDigest for the merged registry.
2026-10-09 20:38:25 -04:00
haelyra 5981dd7092 fix: complete reviewed integration workflows and safety checks 2026-10-09 18:54:39 -04:00
haelyra 5bf248d51d merge: preserve source-verified tinystruct documentation 3231 2026-10-09 17:04:47 -04:00
haelyra d38daabd98 merge: preserve Ruby reviewer source 3227 with nil and false semantics 2026-10-09 17:04:15 -04:00
haelyra 206ad23125 merge: preserve payment source 2575 with tested origin and approval boundaries 2026-10-09 16:27:03 -04:00
haelyra 64b235a663 merge: preserve tested Bun isolate guidance source 2968 2026-10-09 16:08:32 -04:00