Skip to content

OSS-152 OSS-155 OSS-168: CLI reads cover both kinds, delete finds the kind, -t - reads to EOF, errors show the request id - #59

Open
adityamishra-hydradb wants to merge 8 commits into
mainfrom
adityamishra/oss-152-155-168-cli-kinds-stdin
Open

adityamishra-hydradb wants to merge 8 commits into
mainfrom
adityamishra/oss-152-155-168-cli-kinds-stdin

Conversation

@adityamishra-hydradb

@adityamishra-hydradb adityamishra-hydradb commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

For humans

This PR fixes five CLI problems from three tickets. They touch the same command plumbing, so they are in one PR.

  • OSS-152: slow-command | hydradb ingest -t - failed with No input received from stdin. when the first byte came after 0.1 s. Now -t - reads the pipe until it closes.
  • OSS-168: list, query and relations without --kind showed knowledge only. The docs say "both". Now they show knowledge and memories, and --kind all is accepted.
  • OSS-155:
    • API errors now show the request id, so a user can quote it to support.
    • delete without --kind now finds the kind from the ids. Before, it used knowledge, while ingest -t stores a memory, so ingest then delete deleted nothing.
    • A config file that is not valid JSON is now an error that names the file. Before, the CLI ignored it, and the next config set overwrote it and lost the saved API key.
    • --kind all is covered by OSS-168.

Changes that users will notice

  1. list, query, relations without --kind return more rows. They now include memories. To keep the old output, pass --kind knowledge.
  2. delete without --kind does 2 extra list calls to find the kind, then deletes from the one kind that holds the ids. It deletes nothing, and asks for --kind, when an id is stored both as knowledge and as a memory, when the ids are split across the two kinds, or when neither kind lists the ids. The list shows an item only after it is indexed (a few seconds after ingest), so to delete an item at once after ingest, pass --kind. With --kind, delete works as before.
  3. ingest -t - with a terminal on stdin is now an error. Before, it waited for typed input. Pipe the text in, or use --text 'note'.
  4. A corrupt ~/.hydradb/config.json now stops every command that reads it with a clear error. hydradb logout removes the file. Environment variables still work when they are set.
  5. JSON errors can have one more key, request_id. Human errors get one more line, request id: ....

Overlap: outside PR hydra-db/hydradb-cli PR 22 also changes the stdin read. This PR keeps the 0.1 s check for input the user did not ask for (no -t), because an open pipe that never closes would hang there. Only the explicit -t - waits for EOF.

For agents

  • commands/canonical.py _resolve_text_input: -t - -> TTY is an error; else read_stdin_to_eof() (new, utils/common.py, blocking sys.stdin.read()). The implicit case (no -t) still uses read_stdin_safe() (0.1 s select).
  • commands/_impl.py: READ_KINDS = {knowledge, memory, all}; _read_kind() maps None -> "all" for do_query, do_list, do_relations. do_relations with all: type=knowledge, then type=memory if no relations (measured: the API's /context/relations?type=all reads knowledge only, meta.source_type=knowledge). subgraph is unchanged (VALID_KINDS).
  • do_delete(kind=None) -> _kind_holding(): context.list(kind=k, ids=batch of 100) for both kinds; one kind -> delete with it; both / split / none -> print_error, no DELETE sent. The explicit-kind no-op message now names the other kind. A knowledge-then-memory fallback for unlisted ids was tried (bb8accc) and reverted (4f8b8db) after Mira and Devin review: no API read shows the kind of an unindexed item (/context/status takes no type), so the CLI cannot rule out an id stored as both kinds.
  • Request ids also reach: per-file failed rows of ingest <files> (request_id key / request id: note), the 200 no-op delete (HydraDB.last_request_id, outside the payload), and the partial-delete error (now JSON on stderr in -o json). Ids in delete errors are Rich-escaped in human mode only.
  • config.py: env overrides are read before the file (get_database, get_collection, get_graph_collection), so set variables do not need a readable file. A non-UTF-8 file is a named error too.
  • Side observation (API, not this repo): on prod, ingesting knowledge dup3 then memory dup3 left dup3 in neither listing; /context/status said processing for 5+ min, then errored. So on prod an id did not exist as both kinds; the "both kinds" refusal is covered by unit tests only.
  • hydra/errors.py: HydraDBClientError.request_id; request_id_from(headers, body) reads x-request-id, else meta.request_id. Filled in translate_sdk_error (ApiError, ParsingError) and client._read_body (hand-rolled routes). output.print_error(..., request_id=) adds the JSON key or a separate dim line. handle_api_error and the login 401 pass it.
  • config.py _read_config_file: invalid JSON, unreadable, or non-object -> print_error naming the path; save_config therefore never overwrites a bad file. clear_config does not read the file.
  • Tests: tests/test_cli_commands.py (TestStdinDashReadsToEof, TestReadsDefaultToBothKinds, TestDeleteFindsTheKind, TestErrorsCarryTheRequestId), tests/test_config.py::TestCorruptConfig, tests/e2e/sim/test_simulated.py (test_api_error_carries_the_request_id over every family x HTTP error x mode; test_ingest_dash_waits_for_a_slow_pipe with the real binary). Existing delete count tests and the sim delete family now pass --kind knowledge, because they test the write path, not the lookup.
  • Docs: README (query/list/relations/delete/--text -/errors), CHANGELOG Unreleased, CONTRACT command row.

Proof

A = base main @ 5a5842d. B = this PR @ 1c1fe1f.

Environment: prod (https://api.hydradb.com), our test org, own database dogfood-fix-oss-152 (split layout), 2026-12-05 08:49 to 08:52 UTC. The database was deleted after the run (08:55:29Z). The A/B script ran every scenario with the A binary, then with the B binary. Raw output: ~/hydradb/dogfood/sdk/proof/oss-152-155-168/final2/{A,B}.txt, script ab.sh.

Seed: memories mem-lunch ("The Hydra team lunch is on Friday at noon in the Blue room..."), mem-atlas, dup1 and others; knowledge kn-zephyr, kn-onboard.

1. A/B on the real repro

OSS-152: -t - and slow pipes

Scenario A (base @5a5842d) B (PR @1c1fe1f)
(sleep 0.3; echo note) | hydradb ingest -t - ... ✗ Error: No input received from stdin. exit 1 ✓ Memory added, slowpipe-b (queued)
(sleep 2; echo note) | hydradb -o json ingest -t - ... {"success": false, "error": "No input received from stdin."} exit 1 exit 0
-t - with a terminal on stdin (script -qec ... </dev/null) prompts Reading from stdin (Ctrl+D to finish)... ✗ Error: --text - reads piped input, but stdin is a terminal. ... exit 1, no wait

OSS-168: reads without --kind

Scenario A (base @5a5842d) B (PR @1c1fe1f)
hydradb -o json list --page-size 100 total 2, memory rows 0 (kn-onboard, kn-zephyr) total 12, memory rows 10, knowledge 2
list --kind all --kind must be one of: knowledge, memory. Got 'all'. exit 1 total 12 (same as default)
query "When is the Hydra team lunch?" 2 chunks, types knowledge_base, lunch memory not found (request_id 39001f23-ae36-4959-a865-4597e2cecec3) 10 chunks, types knowledge_base + memory, lunch memory found (fd72a566-c187-41da-89b1-3b6493ee05c2)
query ... --kind all refused, exit 1 lunch memory found (fbe5f0da-531b-434a-8260-3c15d96cf086)
relations mem-lunch (a memory) 0 relations, 0 auxiliary 4 relations, 5 auxiliary
relations mem-lunch --kind all refused, exit 1 4 relations, 5 auxiliary

OSS-155

Scenario A (base @5a5842d) B (PR @1c1fe1f)
HYDRADB_API_KEY=hdb_wrong hydradb -o json list {"success": false, "error": "Authentication failed (HTTP 401): ..."} same plus "request_id": "197a3e3d-ac49-415a-9c44-62db09ed4dd9"
same, human mode error line only error line plus request id: e8029d58-ce40-445f-a987-ac3374dff643
-o json list -d <missing db> (404) no request id "request_id": "ea935aaf-cac2-4211-9fc7-77c28c3ff033"
ingest -t ... --source-id kindtest (memory), wait until listed, delete kindtest -y ✗ Error: Nothing deleted: no matching knowledge source(s) for kindtest-a. exit 1 ✓ Deleted 1 memories exit 0
delete kn-zephyr --kind memory -y (wrong kind) Nothing deleted: no matching memories for kn-zephyr. same plus If it is a knowledge source, pass --kind knowledge, or omit --kind to find it. and request_id
corrupt ~/.hydradb/config.json ({"api_key": "keep-me", ), hydradb list ✗ Error: No database specified. ... ✗ Error: Config file .../config.json is not valid JSON (Expecting property name ...: line 1 column 24 (char 23)). Fix the file, or remove it with 'hydradb logout' ...
then hydradb config set database x file overwritten: { "database": "x", "tenant_id": "x" } (api_key lost) refused; file unchanged: {"api_key": "keep-me",

2. Regression

Unchanged behaviour (prod, same run):

Scenario A (base @5a5842d) B (PR @1c1fe1f)
echo note | ingest -t - (fast pipe) success_count 1 success_count 1
echo note | ingest --source-id x (no -t, implicit pipe) success_count 1 success_count 1
list --kind knowledge total 2 total 2
list --kind memory memory rows only memory rows only
query ... --kind knowledge 2 chunks, knowledge only 2 chunks, knowledge only
relations kn-zephyr (knowledge, default) 2 relations, 3 auxiliary 2 relations, 3 auxiliary (one call)
relations mem-lunch --kind memory 4 / 5 4 / 5
knowledge ingest, wait until listed, delete <id> -y (no --kind) ✓ Deleted 1 knowledge source(s) ✓ Deleted 1 knowledge source(s)
corrupt config + all scope values in env (HYDRADB_API_KEY/DATABASE/COLLECTION/BASE_URL/GRAPH_COLLECTION) works (total 6) works (total 10)

Test totals (.venv/bin/pytest -q -p no:randomly, whole repo):

Suite A (base @5a5842d) B (PR @1c1fe1f)
full repo 1958 passed, 133 skipped 2206 passed, 133 skipped
tests/e2e/sim (real binary vs local simulator) 1480 passed 1677 passed
the new tests for this PR (-k 'StdinDash or BothKinds or FindsTheKind or RequestId or CorruptConfig') run on A's source 38 failed, 14 passed 52 passed
ruff check . / ruff format --check . — clean / 55 files formatted

CI on 1c1fe1f: lint, dco-check, test 3.10 to 3.13, live e2e: all pass.

3. Smoke

Main paths on B, prod, same run: ingest -t (memory) and ingest --kind knowledge -t, list (default, all, knowledge, memory), query (default, all, knowledge), relations (default, all, memory), delete with and without --kind: all behave as in the tables above. The live CI tier (live, real API) passed on 1c1fe1f.

4. Stress

N/A: the change touches no limits, concurrency or batching on the API side. The id lookup batches 100 ids per list call; that is covered by test_more_than_100_ids_are_looked_up_in_pages (150 ids -> list calls of 100 + 50 per kind).

5. Edge cases

Edge case A (base @5a5842d) B (PR @1c1fe1f) Where
delete at once after ingest (not listed yet), no --kind Nothing deleted: no matching knowledge source(s) for fresh-a. Nothing deleted: no knowledge source or memory has the id fresh-b. An item that is still being ingested may not be listed yet: pass --kind to delete it anyway. prod
then delete fresh --kind memory -y ✓ Deleted 1 memories ✓ Deleted 1 memories prod
delete ghost -y (unknown id) knowledge no-op error lookup error, no DELETE sent prod
list --kind both must be one of: knowledge, memory must be one of: all, knowledge, memory prod
id stored as both kinds / ids split across kinds / unlisted ids — refused, no DELETE sent unit tests (TestDeleteFindsTheKind)
knowledge with only auxiliary_relations — kept, no memory call unit test
writer starts 1 s late, real binary and real pipe — text reaches the API test_ingest_dash_waits_for_a_slow_pipe (sim)
every route family x HTTP 400/401/403/404/429/500/503 x json/human — request id in the error test_api_error_carries_the_request_id (sim, 182 cells)
config: not JSON / JSON list / not UTF-8 / a directory silently empty named error, file kept TestCorruptConfig
ids with [ ] in delete errors escaped in JSON (notes\\[draft]) unchanged in JSON, escaped for Rich in human unit test

Reviews

Mira 5/5 on 1c1fe1f; Devin Review completed on 1c1fe1f with no new findings. 10 bot findings over 5 rounds, all fixed and resolved (env overrides, structural relations, request ids on file rows, no-op and partial deletes, non-UTF-8 config, id escaping, and the unsafe delete fallback that was reverted).

🤖 Generated with Claude Code

…kind, stdin to EOF, request ids

- ingest -t - reads piped stdin until EOF (no 0.1 s cut-off); a TTY is an error.
- list/query/relations without --kind cover both kinds (type=all); --kind all accepted.
  relations reads knowledge, then memory, since the API's type=all there reads knowledge only.
- delete without --kind looks the ids up and deletes from the one kind that holds them;
  an id stored as both kinds or ids split across kinds delete nothing.
- API errors carry the request id (json "request_id" key, human "request id:" line).
- A config file that is not valid JSON is an error, and is never overwritten.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: adityamishra-hydradb <[email protected]>
@adityamishra-hydradb

Copy link
Copy Markdown
Contributor Author

@hydra-mira-review review

@adityamishra-hydradb

Copy link
Copy Markdown
Contributor Author

/devin review

@devin-ai-integration

Copy link
Copy Markdown

Starting Devin Review.

Devin Review

@hydra-mira-review

hydra-mira-review Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Mira score 5/5 · 🟢 Good to merge

  • No findings in the code.
  • Confirm outside this PR: API support for combined reads and kind-filtered ID discovery.
  • Read these high-risk changes closely: Find the stored kind before deleting without a kind.

Users can read both record kinds, delete records without choosing a kind, and ingest piped text that starts slowly. Errors now include request IDs, and invalid configuration files produce errors instead of being silently ignored. Tests and documentation cover these changes.

Before this ships · 1 to confirm
  • ❔ API support for combined reads and kind-filtered ID discovery (contract), needed in HydraDB API v2. The wrapper forwards type=all and kind-filtered ID batches; deployed API handling of these requests is not established. Before releasing the CLI, confirm combined query/list results and complete kind-filtered listings for batches of 100 IDs.
How this PR works · 7 changes, 1 high risk, 4 medium risk, 2 low risk

The CLI currently misses stored memories, rejects slow piped input, and hides information needed to diagnose failures. This PR changes read defaults, discovers the kind before deletion, and waits for explicit stdin input to finish. It also preserves request IDs and rejects corrupt configuration before saved credentials can be overwritten.

1. Carry request IDs from API failures to CLI errors · 🟢 low risk · src/hydradb_cli/hydra/errors.py +5

Users can quote the server's request ID when reporting an error. Previously discarded IDs now appear in JSON errors, human errors, and failed file-upload rows.

Risk: Users reporting failed requests could receive missing or incorrect IDs, preventing support from locating the corresponding server request.

Check:

  • Check that a header ID wins over a different body ID, while errors without either retain their previous JSON shape.
  • Check an SDK failure, a direct HTTP failure, and a failed upload row in both output modes.

In errors.py:19-97, client.py:87-107, output.py:92-111 and 4 more.

2. Reject corrupt configuration before reading or saving it · 🟠 medium risk · src/hydradb_cli/config.py

Invalid configuration now stops commands instead of appearing empty and later being overwritten. Each environment-backed getter resolves its override before reading the file.

Risk: Users could be blocked from authenticated commands or configuration recovery if valid files or environment overrides are rejected.

Check:

  • Attempt a save with malformed JSON and confirm the original bytes remain unchanged.
  • Check environment overrides against a corrupt file, then confirm logout removes that file.

In config.py:88-117, config.py:132-166.

3. Wait for explicit piped text until EOF · 🟠 medium risk · src/hydradb_cli/utils/common.py +1

Slow producers can now finish sending text before ingestion starts. Explicit --text - replaces the readiness check with an EOF read and rejects terminal input.

Risk: Piped ingestion could reject delayed text or remain waiting indefinitely when its producer never closes the pipe.

Check:

  • Send multiple chunks after a delay longer than 0.1 seconds and confirm ingestion receives all text after EOF.
  • Check that terminal input fails immediately and omitted --text retains its readiness check.

In common.py:177-197, canonical.py:26-46.

4. Search and list both kinds by default · 🟠 medium risk · src/hydradb_cli/commands/_impl.py +1

Default searches and listings now include memories alongside knowledge. Previously omitted kinds reached the API without type; _read_kind now supplies all and accepts it explicitly.

Risk: Users and scripts could receive incomplete or unexpectedly broader results if kind selection reaches the API incorrectly.

Check:

  • Store one knowledge item and one memory, then compare default reads with each explicit kind.
  • Check that deprecated commands passing a fixed kind retain their previous selection.

In _impl.py:52-56, _impl.py:93-100, _impl.py:172-175 and 3 more.

5. Fall back to memory relations when knowledge has none · 🟠 medium risk · src/hydradb_cli/commands/_impl.py +1

Memory relations become reachable without choosing a kind. Default and all reads now try knowledge first, then memory only when knowledge returns no ordinary or structural relations.

Risk: Users could see empty or incorrect graph results if the fallback chooses the wrong response.

Check:

  • Check memory fallback after an empty knowledge response and stopping after knowledge structural links.
  • Check an ID present in both kinds to confirm knowledge-first behavior is the desired contract.

In _impl.py:994-1030, canonical.py:321-325.

6. Find the stored kind before deleting without a kind · 🔴 high risk · src/hydradb_cli/commands/_impl.py +2

A memory created by text ingestion can now be deleted without specifying its kind. Previously deletion defaulted to knowledge; it now discovers the kind unless explicitly supplied.

Risk: An incorrect kind decision could delete the wrong copy of an item or leave requested records undeleted.

Check:

  • Check a single memory, an ID stored in both kinds, and IDs split across kinds; ambiguous cases must send no delete.
  • Check 150 IDs and a partially indexed batch, including partial-result stdout and request-ID-bearing stderr.

How it works:

  1. _kind_holding lists both kinds in batches of 100 IDs within the selected database and collection.
  2. It refuses overlapping kinds, split kinds, or no matches before sending a delete.
  3. do_delete sends the full cleaned ID list using the kind selected from indexed matches; explicit kinds skip discovery.
  4. The wrapper retains the delete response's request ID separately from its payload.
  5. do_delete includes that ID in no-op and partial-delete errors, preserving the partial result on stdout.
  6. _ids_text preserves literal IDs in JSON and escapes Rich markup in human errors.

What it touches:

  • src/hydradb_cli/commands/canonical.py: delete.
  • src/hydradb_cli/commands/knowledge.py: delete.
  • src/hydradb_cli/commands/memories.py: delete.
  • hydradb delete <ids...>.
  • --kind knowledge, --kind memory, and --yes.
  • Deprecated knowledge and memory deletion commands retain explicit kinds.
  • Deletion targets the discovered kind and permanently removes matching records. Discovery adds two list calls per batch; partial-delete stderr becomes JSON in JSON mode.

In _impl.py:861-988, canonical.py:298-318, client.py:502-521 and 1 more.

7. Supporting changes · 🟢 low risk · tests/test_cli_commands.py +5

Tests cover delayed pipes, kind selection, deletion refusals, corrupt configuration, and request IDs. Documentation describes the new defaults and output fields.

Risk: Regressions could escape coverage or users could follow outdated command behavior.

Check:

  • Confirm existing delete-count tests use explicit kinds so they continue testing deletion results independently of discovery.

In test_cli_commands.py, test_config.py, test_simulated.py and 3 more.

Requirement check · 9 met · from the PR description
  • ✅ Explicit ingest -t - waits for delayed piped input until EOF and rejects terminal input (met). canonical._resolve_text_input rejects terminals and calls read_stdin_to_eof, which uses blocking sys.stdin.read().
  • ✅ Implicit stdin retains the initial 0.1-second readiness check (met). canonical._resolve_text_input still calls read_stdin_safe when text is omitted; that helper retains select.select(..., 0.1).
  • ✅ Default list and query include both kinds, and read commands accept --kind all (met). READ_KINDS accepts all; _read_kind maps omission to it for do_query, do_list, and do_relations.
  • ✅ Relations check knowledge first and fall back to memory when knowledge has no relations (met). do_relations falls back only when both relations and auxiliary_relations are empty.
  • ✅ Delete discovers the kind and refuses overlapping kinds, split kinds, or no matches without deleting (met). _kind_holding checks both listings and exits on those conditions before do_delete calls the delete API.
  • ✅ Explicit delete kinds skip discovery, and no-op errors name the alternative kind (met). do_delete calls _kind_holding only for None; its no-op error suggests the other kind.
  • ✅ API errors expose request IDs in human and JSON output when available (met). translate_sdk_error and _read_body preserve IDs; print_error emits them, including login rejection and delete-result errors.
  • ✅ Unusable configuration names the file and cannot be overwritten by the next save (met). _read_config_file rejects unusable content; save_config reads it before modifying or writing configuration.
  • ✅ Environment overrides remain usable, and logout can remove corrupt configuration (met). Individual getters resolve environment values first; clear_config unlinks the file without reading it.
Diagram of the changed files
graph LR
  canonical["commands/canonical.py"] --> impl["commands/_impl.py"]
  canonical --> common["utils/common.py"]
  impl --> client["hydra/client.py"]
  client --> errors["hydra/errors.py"]
  errors --> common
  common --> output["output.py"]
  impl --> output
Loading
⚠️ Other open PRs change the same code · 8

Merge them in order, or check that they agree.

Comment @hydra-mira-review help for commands.

devin-ai-integration[bot]

This comment was marked as resolved.

…ructural links, request ids on file rows and no-op deletes

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: adityamishra-hydradb <[email protected]>
@adityamishra-hydradb

Copy link
Copy Markdown
Contributor Author

@hydra-mira-review review

@adityamishra-hydradb

Copy link
Copy Markdown
Contributor Author

/devin review

@devin-ai-integration

Copy link
Copy Markdown

Starting Devin Review.

Devin Review

devin-ai-integration[bot]

This comment was marked as resolved.

hydra-mira-review[bot]

This comment was marked as resolved.

…on-UTF-8 config file is a named error

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: adityamishra-hydradb <[email protected]>
@adityamishra-hydradb

Copy link
Copy Markdown
Contributor Author

@hydra-mira-review review

@adityamishra-hydradb

Copy link
Copy Markdown
Contributor Author

/devin review

@devin-ai-integration

Copy link
Copy Markdown

Starting Devin Review.

Devin Review

devin-ai-integration[bot]

This comment was marked as resolved.

…de only

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: adityamishra-hydradb <[email protected]>
@adityamishra-hydradb

Copy link
Copy Markdown
Contributor Author

@hydra-mira-review review

@adityamishra-hydradb

Copy link
Copy Markdown
Contributor Author

/devin review

@devin-ai-integration

Copy link
Copy Markdown

Starting Devin Review.

Devin Review

…tem still being ingested

Found in the prod A/B: an item that is still processing is not listed yet.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: adityamishra-hydradb <[email protected]>
@adityamishra-hydradb

Copy link
Copy Markdown
Contributor Author

@hydra-mira-review review

@adityamishra-hydradb

Copy link
Copy Markdown
Contributor Author

/devin review

@devin-ai-integration

Copy link
Copy Markdown

Starting Devin Review.

Devin Review

… a memory delete

Found in the prod A/B: right after ingest, an item is not listed yet, so the
lookup found nothing and 'ingest' then 'delete' failed. A delete still works on
it, so try each kind in turn and stop at the first that removes something.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: adityamishra-hydradb <[email protected]>
@adityamishra-hydradb

Copy link
Copy Markdown
Contributor Author

@hydra-mira-review review

@adityamishra-hydradb

Copy link
Copy Markdown
Contributor Author

/devin review

@devin-ai-integration

Copy link
Copy Markdown

Starting Devin Review.

Devin Review

devin-ai-integration[bot]

This comment was marked as resolved.

hydra-mira-review[bot]

This comment was marked as resolved.

adityamishra-hydradb and others added 2 commits December 5, 2026 05:30
…or --kind

Reverts bb8accc. With neither listing showing the ids, the CLI cannot tell
a one-kind id from one stored as both kinds (both copies unindexed), and a
knowledge-first delete would remove a copy without asking. No API read shows
an unindexed item's kind (/context/status has no type), so delete nothing and
ask for --kind, as before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: adityamishra-hydradb <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: adityamishra-hydradb <[email protected]>
@adityamishra-hydradb

Copy link
Copy Markdown
Contributor Author

@hydra-mira-review review

@adityamishra-hydradb

Copy link
Copy Markdown
Contributor Author

/devin review

@devin-ai-integration

Copy link
Copy Markdown

Starting Devin Review.

Devin Review

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant