Skip to content

Commit 4c9b556

Browse files
committed
feat: add manifest-driven action commands and nqctl act
1 parent 129ea0f commit 4c9b556

File tree

16 files changed

+3890
-22
lines changed

16 files changed

+3890
-22
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@ All notable changes to this project are documented in this file.
1212
- Expanded distribution readiness documentation and release tracking with concrete private-index release verification notes.
1313
- Updated `nqctl capabilities` to expose rich `parameters.items[*]` metadata (`get_cmd`, `set_cmd`, validators, safety) for agent-driven planning of `get`/`set`/`ramp`.
1414
- Updated `nqctl capabilities` to remove top-level parameter `description` output and keep descriptions on `get_cmd`/`set_cmd` only.
15+
- Updated manifest generation to import all callable `nanonis_spm.Nanonis` methods; non-`Get`/`Set` methods now populate root `actions` entries with `action_cmd` metadata and action safety mode.
16+
- Added `nqctl act <action_name> --arg key=value` with policy-aware action execution and action metadata in `nqctl capabilities` (`action_commands.items[*]`).
1517
- Updated GitHub-release install examples in `README.md` to use `<version>` placeholders.

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ python -m pip install ".[nanonis]"
5858
1. Optionally copy `.env.example` to `.env`.
5959
2. Set runtime values in `config/default_runtime.yaml`.
6060
3. Unified parameter specs are in `config/parameters.yaml`.
61+
- `parameters`: scalar `get`/`set` mappings.
62+
- `actions`: non-`Get`/`Set` backend methods with `action_cmd` metadata.
6163
4. Regenerate from `nanonis_spm.Nanonis` with `scripts/generate_parameters_manifest.py`.
6264
5. Trajectory monitor defaults are in `config/default_trajectory_monitor.yaml`.
6365

@@ -89,6 +91,12 @@ Explicit guarded ramp:
8991
nqctl ramp bias_v 0.10 0.25 0.01 --interval-s 0.10
9092
```
9193

94+
Invoke one manifest action command:
95+
96+
```powershell
97+
nqctl act Scan_Action --arg Scan_action=0 --arg Scan_direction=1
98+
```
99+
92100
Inspect effective policy:
93101

94102
```powershell

0 commit comments

Comments
 (0)