Commit Graph
945 Commits
Author SHA1 Message Date
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 3a9f2f9580 docs: clarify context fallback and tinystruct transport dependencies 2026-10-29 17:27:56 -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 6b8c757e54 fix(skills): validate TypeScript example arrays and request identifiers
Verify and address PR #3809 discussions 4419228221, 4419257840 and 4419257844. Iterate string-array assertions through sparse positions, validate the declared example identifier grammar before request construction, and refresh Turkish/Chinese reviewer references. Regenerate the canonical Pi copy.

Compile and execute the actual typed fixture; keep published validation bodies aligned and prove invalid identifiers never call fetch. RED: 28 pass, 2 fail. GREEN: 30 pass, 0 fail. Strict tsc, changed ESLint/Markdownlint, Unicode/agent/skill validators and deterministic Pi checks pass. Parent independently reviewed all six paths. Registry rebinding is deferred to the combined integration.
2026-10-29 17:25:42 -07:00
haelyra a43dd3501a feat(skills): integrate validated TypeScript patterns and distribution 2026-10-29 17:03:52 -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
haelyraandAbhiramMandala f29e33271b feat(skills): port reviewed TypeScript patterns onto current catalog
Carry forward AbhiramMandala’s canonical TypeScript guidance from PR #3142, reviewed source head 643f61d604. Rebuild current-main counts, Pi projection and trigger digest without replacing existing registry entries.

Use bracket access under the documented noPropertyAccessFromIndexSignature baseline. Type-check and execute the actual fixture, compare published function bodies, and preserve deterministic undefined, sparse-array and concurrency regressions.

Validation: 26 focused checks; strict TypeScript compile; all repository validators; affected ESLint and Markdownlint; deterministic Pi rebuild; real npm pack; disposable Claude, Codex and Copilot install/repair/uninstall with exact skill bytes and preserved user files. Parent independently reviewed the complete staged diff.

Co-authored-by: AbhiramMandala <abhirammandala02@gmail.com>
2026-10-29 17:02:32 -07:00
haelyra 6d7d4920c8 fix: close final integration security and portability gaps 2026-10-29 12:57:39 -07:00
haelyra 0d92059410 fix: close installed workflow and review publication gaps before integration 2026-10-29 11:58:01 -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 54f137e7a4 maint: integrate reviewed contribution #3790 2026-10-29 11:35:58 -07:00
haelyra a98821fff9 maint: integrate reviewed contribution #3779 2026-10-29 11:34:15 -07:00
haelyra ac736a7b8c maint: integrate reviewed contribution #3751 2026-10-29 11:30:27 -07:00
haelyra 7d052a7958 maint: integrate reviewed contribution #3750 2026-10-29 11:29:21 -07:00
haelyra 8616566726 maint: integrate reviewed contribution #3749 2026-10-29 11:28:27 -07:00
haelyra 9eb2f191c0 maint: integrate reviewed contribution #3789 2026-10-29 11:28:13 -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
haelyra c12fe451cd maint: integrate reviewed contribution #3799 2026-10-29 11:28:01 -07:00
haelyra 8fc06b13cb maint: integrate reviewed contribution #3562 2026-10-29 11:26:56 -07:00
haelyra 9aed578c67 fix: integrate symlink-aware GateGuard exemptions from #3726 2026-10-29 11:20:48 -07:00
haelyra c337d7c057 feat: integrate reviewed module governance with Windows path assertions 2026-10-29 11:19:41 -07:00
haelyra 9b296f4cab docs: preserve latest contributor migration safeguards and workflow assertions 2026-10-29 11:17:59 -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
ivaseeq 344953d3e2 docs: resolve ECC rule source under QWEN_HOME 2026-10-29 04:12:33 +03:00
ivaseeq 4c58ea1f69 docs: honor QWEN_HOME in common rule copy instructions 2026-10-29 03:50:34 +03:00
ivaseeq 6288fe6e47 docs: explain Qwen extension common rule supplement 2026-10-29 03:33:40 +03:00
Tomoya.FujitaandClaude Fable 5.1 aa63399ebd feat(skills): add issue-review skill and /issue-review command
Add a GitHub issue counterpart to the PR mode of /code-review. The
canonical workflow lives in skills/issue-review and walks nine phases:
fetch the issue with gh, build project context, classify type and
completeness, verify the claim against the code at HEAD, search for
duplicates and prior fixes, assess severity and decision, write a
review artifact with a draft reply, publish only on explicit flags,
and print a one-screen summary.

Issue text is treated as untrusted data: embedded instructions are
never followed, pasted code is never run, and arbitrary links are not
fetched. Writing to GitHub is opt-in via --comment or --label and the
workflow never closes, reopens, or assigns issues.

commands/issue-review.md is the thin slash-command shim. The new
structural test guards the frontmatter, required sections, phase
order, safety invariants, and registration on every surface.

Register the skill and command in package.json, agent.yaml, the
operator-workflows install module, the quick reference, the
command-agent map, and the README; regenerate the command registry
and sync catalog counts to 312 skills and 98 commands.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Tomoya.Fujita <fujita.tomoya@triorb.co.jp>
2026-10-29 09:23:41 +09:00
Shubham Padkonde b805cdfae8 fix(work-items): preserve native ownership during GitHub sync 2026-10-28 12:52:50 +05:30
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
@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
Dante ad149f236e docs: add prepared verifier and accepted effect evaluation 2026-10-27 03:36:40 +08:00
Dante c4942d873e docs: add public feedback goal fidelity evaluation 2026-10-27 03:35:11 +08:00
Dante a9eb2fc140 docs: add connector diagnostics gap evaluation 2026-10-27 03:31:22 +08: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
Seekers2001 7b1449ef53 feat(governance): port optional module and context workflows
Integrate contributor PRs #3533, #3534, and #3535 on current main. Preserve the read-only module audit, canonical glossary and ADR ownership, and opt-in install closure. Refresh only the manual trigger manifest registry binding and coverage after adding the skill.
2026-10-25 17:51:30 -04:00
Dante e06c9d276b docs: integrate four reviewed workflow guidance PRs
Sources: #3689 #3691 #3692 #3693. Preserve Claude marketplace migration guidance, tool-result boundaries, scoped workflow authority, and bounded batch preparation. Regenerate the Pi projection and recompute the shared registry digest on one main head.
2026-10-25 17:50:53 -04:00
Gaurav Dubey dcb947a4e1 fix(gateguard): judge exempt globs against real target location
Port #3656 onto current main, preserving both the contributor fix and the unrelated current changelog entry. Includes the follow-up glob normalization from 2c11fd74.
2026-10-25 17:47:30 -04:00
haelyra 071e1fea6d fix(integration): address reviewer portability and guidance 2026-10-20 18:40:59 -04:00