Skip to content
Merged
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
8 changes: 8 additions & 0 deletions docs/guides/operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ See [round decisions](knowledge/knowledge-retrieval-trace.md#round-decisions).
| Execute one packaged task | CLI `benchmarks run`; Python `apps.workflows.benchmark_operations.run_task` | Experiment-executing | Application launches the task entry, supplies the execution callback and preserves arguments and exit status. The task owns its device, measurement and assessment protocol |
| Run and grade a public-suite task | CLI `benchmarks external list` / `run` / `selfcheck`; Python `apps.workflows.external_benchmark` | Experiment-executing / local records | Lands a reference control, candidate patch or agent command in a [Φ-Bench task](../benchmarks/public-benchmarks.md) and scores it with the suite's own grader. Docker delegates to the suite runner; `rootless` replays the image layout under proot and records its fidelity |
| Find relevant cases, skills and records | CLI `find` | Read-only standalone / local records with `--session` | Find returns hits with read commands. A scoped read records a delivery for the round |
| Browse the L0 Knowledge directory | CLI `knowledge navigation` | Read-only | Lists the seven Task entries and supporting material grouped on the installed generation |
| Inspect the package catalog | CLI `knowledge list` / `knowledge show`; catalog API | Read-only | Filtered inventory and existing catalog scripts. Uses the installed package's tier/repo/backend/scenario filters and IDs |
| Enter an inference task or discover/read skills | CLI `skills enter` / `list` / `show` / `resource` / `reference` | Read-only | `enter` loads one primary owner's complete procedure before evidence search. `list`/ `show` inspect skill metadata and instructions. `resource`/`reference` resolve paths for your file reader. |
| Retrieve and cite external round knowledge | CLI `find --session`, then `read --session DIR --search-ref REF --locator LOCATOR` | Local evidence-writing | Requires an explicit `--cannbot-platform` at start and an approved project grant. Retains search and read metadata. Cite a delivered receipt with `round --knowledge-ref`. See [round retrieval](../benchmarks/optimization-benchmarks.md#include-cannbot-in-the-round) |
Expand Down Expand Up @@ -148,6 +149,13 @@ in a selected checkout or store.
backend, engine or kernel path is compatible. compatibility stays unverified.
- **Example:** inferrsi doctor --repo . --repo-type vllm_omni --backend ascend --device-ids 0 --device-model 910B3

### Browse the installed Knowledge directory

Run `inferrsi knowledge navigation` in an installation with a sealed Knowledge
generation. The JSON includes the generation ID, each Task's `enter_args`, and
each supporting entry's pinned `read_args`. Use `skills enter` for the full Task
procedure and `catalog-select` to select supporting evidence with the Agent.

### List and inspect package records

`knowledge list` lists installed records in ID order. `--tier`, `--repo-type`,
Expand Down
7 changes: 6 additions & 1 deletion src/inferrsi/apps/cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,11 @@ def main(
from .atomic_knowledge import AtomicKnowledgeCLI

atomic = AtomicKnowledgeCLI.for_request(bundled_seal)
if args.command == "knowledge" and args.knowledge_action == "navigation":
if atomic is None:
raise ValueError("Knowledge navigation requires a sealed installed library")
_print(atomic.navigation())
return 0
lookup_record = atomic.records.catalog_record if atomic is not None else get_knowledge
catalog_records = atomic.records.catalog_records() if atomic is not None else None
if args.command == "knowledge":
Expand Down Expand Up @@ -884,11 +889,11 @@ def main(
_print_find(result)
return 0
if args.command == "catalog-select":
from ...knowledge.atomic.catalog import open_catalog_selection
from ...knowledge.catalog_selection import encoded
from ..workflows.catalog_selection import (
complete_catalog_selection,
confirm_catalog_evidence,
open_catalog_selection,
prepare_catalog_selection,
)

Expand Down
3 changes: 2 additions & 1 deletion src/inferrsi/apps/cli/arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -1011,8 +1011,9 @@ def parser(*, parser_class=argparse.ArgumentParser, historical=False,
reference.add_argument("name")
reference.add_argument("path")

knowledge = commands.add_parser("knowledge", help="List or inspect installed catalog records")
knowledge = commands.add_parser("knowledge", help="Browse installed Knowledge and records")
actions = knowledge.add_subparsers(dest="knowledge_action", required=True)
actions.add_parser("navigation", help="Show the sealed L0 task and reference directory as JSON")
listing = actions.add_parser("list", help="List installed catalog records by filter")
_catalog_filters(listing)
listing.add_argument("--limit", type=int, default=10)
Expand Down
Loading
Loading