Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
cli: bundled-skill reads its own --asset=<path> (EQUALS_READERS)
garrytan6d6309215c56
diff --git a/src/cli/flag-equals.ts b/src/cli/flag-equals.tsindex 5bc6513770..b3ed20a945 100644--- a/src/cli/flag-equals.ts+++ b/src/cli/flag-equals.ts@@ -76,6 +76,8 @@ export const EQUALS_READERS: Readonly<Record<string, readonly string[]>> = {'beliefs replay-purges': ['--archived-at', '--purge-mirror', '--from-url-env'],// core/consent.ts:126 via consentGateOrExit (book-mirror.ts:431, args :440, effects paid); book-mirror reads no --max-* itself.'book-mirror': ['--max-usd', '--max-cost'],+ // cli/commands/bundled-skill.ts:51 reads --asset <p> and --asset=<p>, and refuses an empty value itself.+ 'bundled-skill': ['--asset'],// capture.ts:96 regex; every other = form is refused by capture's own parser (capture.ts:132).capture: ['--request-id', '--expected-revision'],// check-resolvable.ts:120 parseFlags.diff --git a/test/cli-flag-equals.test.ts b/test/cli-flag-equals.test.tsindex 8e1f4c413b..6df74663bf 100644--- a/test/cli-flag-equals.test.ts+++ b/test/cli-flag-equals.test.ts@@ -284,6 +284,7 @@ describe('#7619 split rules', () => {test('EQUALS_READERS keys and the = readers in src match in both directions', () => {const MODULE_OWNERS: Record<string, readonly string[] | string> = {// owners+ 'src/cli/commands/bundled-skill.ts': ['bundled-skill'],'src/cli/commands/doctor.ts': ['doctor'],'src/commands/beliefs-replay-purges.ts': ['beliefs replay-purges'],'src/commands/beliefs.ts': ['beliefs', 'beliefs changes'],