Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ All notable changes to RawClaw are documented in this file.

### Fixed

- Include the existing Hermes adapter in the shared `--source` help roster.
- Use exact ID equality in OpenCode's registered session lookup instead of prefix matching.
- Preserve JSON escapes in Claude Code and Codex catalog working directories and transcript paths with a native serializer; session-ID/event extraction and Antigravity metadata retain their existing limitations.
- Corrected consolidated-index warnings that incorrectly promised a per-project fallback during prewarm and cached tag-refresh checks.
Expand Down
11 changes: 11 additions & 0 deletions docs/design/decision-references.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

Source: created here as a catalog of verified upstream material; the linked immutable files own the patterns.

## Hermes source help roster (2026-11-18)

Source: created here as a factual documentation-adaptation record; linked immutable `MoonCaves/rawclaw@2e391b6af9901fb2e260a7552f05b68621437719` files own the facts ([MIT](https://github.com/MoonCaves/rawclaw/blob/2e391b6af9901fb2e260a7552f05b68621437719/LICENSE)).

- Builtin roster/order: [sources.go26–33](https://github.com/MoonCaves/rawclaw/blob/2e391b6af9901fb2e260a7552f05b68621437719/internal/sources/sources.go#L26-L33) registers Claude, Codex, Antigravity, Goose, Pi, OpenCode, Hermes; [source.go80–101](https://github.com/MoonCaves/rawclaw/blob/2e391b6af9901fb2e260a7552f05b68621437719/internal/source/source.go#L80-L101) preserves insertion order.
- Hermes identity/default construction: [hermes.go23–36](https://github.com/MoonCaves/rawclaw/blob/2e391b6af9901fb2e260a7552f05b68621437719/internal/source/hermes/hermes.go#L23-L36) and [hermes.go50–57](https://github.com/MoonCaves/rawclaw/blob/2e391b6af9901fb2e260a7552f05b68621437719/internal/source/hermes/hermes.go#L50-L57) supply `hermes`, default roots and registration without an opt-in callback.
- Discovery/default eligibility: [scopes.go40–69](https://github.com/MoonCaves/rawclaw/blob/2e391b6af9901fb2e260a7552f05b68621437719/internal/scopes/scopes.go#L40-L69) selects registered sources and checks nonnil opt-in callbacks; [goose.go58–87](https://github.com/MoonCaves/rawclaw/blob/2e391b6af9901fb2e260a7552f05b68621437719/internal/source/goose/goose.go#L58-L87) supplies the Goose opt-in caveat.
- Existing surrounding help wording: [cli_options.go174](https://github.com/MoonCaves/rawclaw/blob/2e391b6af9901fb2e260a7552f05b68621437719/internal/cli/cli_options.go#L174-L174) supplies the unchanged default-search statement and Goose caveat; the adaptation appends the already implemented Hermes ID in builtin order.

This list adaptation documents existing behavior; it adds no discovery/default choice and has no literal full-help donor. Original `1d99790` REJECT remains preserved. Revised commit `594efa09c9f32e432d2deb5efa233df5e13b1319` received normal pre-push gate APPROVE for the exact range `2e391b6af9901fb2e260a7552f05b68621437719..594efa09c9f32e432d2deb5efa233df5e13b1319` (diff `ad04fba1da8a`) and was published as draft PR #171. That receipt covers only the exact range above; every subsequent diff, including this note correction, requires its own normal gate evaluation before push and publication.

## OpenCode registered full-ID lookup equality (2026-11-18)

Source: `MoonCaves/rawclaw` at immutable revision `e0420b85a30f2b4f562d72e531bcab64f23b6aa9`, [MIT](https://github.com/MoonCaves/rawclaw/blob/e0420b85a30f2b4f562d72e531bcab64f23b6aa9/LICENSE).
Expand Down
2 changes: 1 addition & 1 deletion internal/cli/cli_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func bindRootFlags(root *cobra.Command, opts *Options) {
f.BoolVar(&opts.All, "all", false, "cover every project: the search default already, and the widener for bare browse and --stats")
f.BoolVar(&opts.List, "list", false, "list all searchable projects (with session counts) and exit")
f.StringVar(&opts.Role, "role", "", "only this author role (user|assistant)")
f.StringVar(&opts.Source, "source", "", "only this runtime (claude|codex|antigravity|goose|pi|opencode); default searches all (goose discovery is opt-in: pass --source goose or set RAWCLAW_GOOSE=1)")
f.StringVar(&opts.Source, "source", "", "only this runtime (claude|codex|antigravity|goose|pi|opencode|hermes); default searches all (goose discovery is opt-in: pass --source goose or set RAWCLAW_GOOSE=1)")
f.StringVar(&opts.Sort, "sort", "", "result order (newest|oldest)")
f.BoolVar(&opts.IncludeTools, "include-tools", false, "also match/show tool calls + tool-only hits")
f.BoolVar(&opts.IncludeSubagents, "include-subagents", false, "also search delegated subagent threads")
Expand Down
Loading