Skip to main content

RiskDemandMgmt CLI

riskdemand-cli is the Windows 10/11 command-line client for RiskDemandMgmt and requires Python >= 3.12. It is a thin HTTP/JSON client: authentication, permissions, validation, revisions, workflow state, and every business rule remain on the server.

Install and upgrade

After a release is available on official PyPI, install it in an isolated pipx environment:

pipx install riskdemand-cli
pipx upgrade riskdemand-cli
rdm --help

Repository version 0.1.2 is unreleased. Publishing it to PyPI requires separate exact release authorization; the released 0.1.1 history remains unchanged.

Read-only diagnostics

rdm doctor --help
rdm doctor --json

Doctor is read-only. It never repairs state, authenticates, logs out, changes a file, issues or revokes a token, or calls a business write API. Interpret its overall result as:

  • pass / exit 0: the runtime, binding, instance, and authentication checks pass;
  • action_required / exit 0: the user still needs to set up or log in, or the token expired;
  • fail / exit 1: a real runtime, local-state, network, TLS, server, or protocol failure occurred.

Manual authentication boundary

The user runs these commands in their own terminal and enters credentials only into the interactive prompt:

rdm setup <server-url>
rdm auth login

Agent must never handle a username, password, or token. Agents may use JSON commands after the user completes authentication, subject to the canonical Skill's confirmation and permission rules.

Requirement links and write results

Successful requirement-associated results contain data.links.web_detail; requirement items in lists and tasks use item-level links.web_detail. The CLI generates this URL from the currently bound instance. It may be presented unchanged, but must not be synthesized, joined, or rewritten. It is navigation metadata, not proof of visibility or edit permission; Web authentication and server-side permissions remain authoritative after opening it.

Interpret the six business write commands—create, update, attachment upload/link/delete, and submit—using only existing fields, in this order:

  1. ok=true and data.recovered_replay=true: confirmed after recovery.
  2. Any other ok=true: directly confirmed.
  3. error.details.outcome=needs_review or error.details.reuse_request_id=true: the result is unknown; stop and do not automatically retry the business write. Reuse the same create request ID only if the user later explicitly asks to recover it.
  4. Any other ok=false: report the failure and do not automatically retry the business write.

One bundled Skill, installed manually

The distribution contains one canonical Skill. The user locates it in the pipx environment and manually copies it to an existing .agents or .claude Skill directory; the CLI and the Agent do not modify those directories:

$pipxVenvs = pipx environment --value PIPX_LOCAL_VENVS
$skillSource = Join-Path $pipxVenvs "riskdemand-cli\skills\riskdemandmgmt-cli\SKILL.md"
Test-Path -LiteralPath $skillSource

Compatibility and authority

Compatibility is determined by the server-advertised protocol_version, not by matching the CLI package version to a system release Tag. The server remains authoritative for authentication, scopes, object permissions, validation, revisions, state transitions, and all high-impact action boundaries.

Documentation

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

riskdemand_cli-0.1.2.tar.gz (42.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

riskdemand_cli-0.1.2-py3-none-any.whl (48.6 kB view details)

Uploaded Python 3

File details

Details for the file riskdemand_cli-0.1.2.tar.gz.

File metadata

  • Download URL: riskdemand_cli-0.1.2.tar.gz
  • Upload date:
  • Size: 42.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for riskdemand_cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5c287e5436d1505c0b48ad9e69b703182212707b1e365fc6a6c4d8d3741a0284
MD5 ac3729ca987749b0b2802b31b81df272
BLAKE2b-256 0e2f170299e18a19d2b50467caced22bd5cd0991d3acaeca5142c34245adb638

See more details on using hashes here.

Provenance

The following attestation bundles were made for riskdemand_cli-0.1.2.tar.gz:

Publisher: cli-publish.yml on kevinwnk04/AI-DemandMgmtSystem

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file riskdemand_cli-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: riskdemand_cli-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 48.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for riskdemand_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a7904e56a4920193ace4b0939ceb3b7abbd2ecb95450541c0ef6ff676244c7a9
MD5 77ea916760444f749b317ecb7394d0a4
BLAKE2b-256 b37dcf8730517a63d823de4288564c87423b67815981ba2c40df324f17ec69af

See more details on using hashes here.

Provenance

The following attestation bundles were made for riskdemand_cli-0.1.2-py3-none-any.whl:

Publisher: cli-publish.yml on kevinwnk04/AI-DemandMgmtSystem

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page