Help us shape the future of Go! Take the 2026 Go Developer Survey

scope

package
v0.25.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package scope implements `hadron scope` — named search scopes ("lenses") over a set of memories (spec 049 Phase 2; hadron-cli#578).

A scope is a LENS, never a grant: the server intersects its memories with what the caller may read and discloses the remainder as a count only. The precedence ladder that turns a bare name into a scope is the SERVER's (App > Agent > organization, never unioned) — this package never matches a name itself; it calls scopeExplain and passes the resolved id on. Keeping that rule is what lets the portal and MCP behave identically.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdScope

func NewCmdScope(f *cmdutil.Factory) *cobra.Command

NewCmdScope builds the `hadron scope` command group.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL