feat: Command autosuggestion and completion engine#1
Merged
sairintechnologycom merged 20 commits intoJun 18, 2026
Conversation
Implement Phase E: Control Room MVP primitives for supervised human-agent task rooms. Introduces `niyam workspace` CLI commands, workspace models, timelines, approvals, and evidence exports. Built on existing mission and portal foundations without adding browser sandbox or external services. Co-Authored-By: Claude <noreply@anthropic.com>
… release readiness
…oning and retry policy
… supply-chain hardening
…y, Fleet Dispatch, Agent Analytics)
- Replaced mock browser backend with Playwright for real execution. - Added API endpoints for workspace timeline and interactive approvals. - Mounted static directory for serving browser screenshots. - Updated the Portal UI to include a Control Room tab with a visual filmstrip timeline and interactive approval controls. - Created niyam-capabilities.html to visualize the AgentOps capability map. - Updated uv.lock and pyproject.toml with the playwright dependency.
…in features - Upgraded the generated GitHub Actions and Azure DevOps pipeline templates with supply-chain hardening. - Added OpenSSF Scorecard Action to the GitHub workflow for repository posture analysis. - Integrated Syft for automated SBOM generation. - Added keyless (GitHub OIDC) and key-based (Azure) cryptographic signing of Evidence Packs and SBOMs using Cosign. - Added SLSA Level 3 build provenance attestation for the generated SBOM. - Added comprehensive documentation on supply-chain hardening and updated CI integration docs. - Wrote new unit tests for ci_generators to ensure the hardened templates are scaffolded correctly. - Marked P1 roadmap item 'CI/CD and supply-chain hardening' as complete.
- Implemented niyam mission contract-schema to export the Pydantic schema. - Verified schema includes risk, approvals, retries, and evidence. - Made playwright an optional dependency to prevent CLI crashes. - Updated roadmap to reflect completion of all P1 items.
This commit introduces a centralized command registry and suggestion engine to the Niyam CLI. It provides context-aware prefix matching, typo correction, alias resolution from .niyam/config.yaml, and shell completion scripts for Bash, Zsh, Fish, and PowerShell. The top-level 'Unknown command' handler has been updated to use the suggestion engine to show 'Did you mean' options.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduces a central command registry, typo correction, shell completion generation, and alias resolution.