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
1 change: 1 addition & 0 deletions packaging/command-migration-plan.v0.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"target_command": "orro",
"migration_phase": "owned-thin-wrapper",
"removed_commands": {
"lock": "engine-lock",
"sketch": "advise --mode sketch",
"trace": "advise --mode trace",
"next": "auto --dry-run",
Expand Down
7 changes: 5 additions & 2 deletions scripts/check_orro_removed_command_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
ROOT = Path(__file__).resolve().parents[1]
PLAN_PATH = ROOT / "packaging/command-migration-plan.v0.json"
DOC_SUFFIXES = {".md", ".rst", ".txt"}
ALLOWED_PATH_PARTS = {"fixtures", "migration", "compatibility"}
ALLOWED_PATH_PARTS = {".venv", "fixtures", "migration", "compatibility"}


def fail(message: str) -> None:
Expand Down Expand Up @@ -57,7 +57,10 @@ def scan(pattern: re.Pattern[str]) -> list[str]:


def self_test() -> None:
pattern = violation_pattern({"next": "auto --dry-run", "report": "status --latest"})
commands = removed_commands()
assert commands["lock"] == "engine-lock"
pattern = violation_pattern(commands)
assert pattern.search("orro lock --json")
assert pattern.search("orro next")
assert pattern.search("orro report run")
assert not pattern.search("orro status --latest")
Expand Down
10 changes: 5 additions & 5 deletions scripts/check_orro_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ def check_help_discoverability() -> None:
# tiered so the product is discoverable rather than hidden behind `delegate`.
authoritative_commands = [
"setup",
"skill",
"init",
"advise",
"scout",
Expand All @@ -133,16 +134,15 @@ def check_help_discoverability() -> None:
"check",
"demo",
"status",
"tidy",
"task",
"lock",
"workspace",
"auto",
"team",
"doctor",
"engine-lock",
]
for command in authoritative_commands:
require_contains("wrapper help", help_text, command)
authoritative_line = " " + ", ".join(authoritative_commands)
require_contains("wrapper help", help_text, "Authoritative commands:")
require_contains("wrapper help", help_text, authoritative_line)
require_contains("wrapper help", help_text, "Start here:")
require_contains("wrapper help", help_text, "orro demo")
require_contains("wrapper help", help_text, "orro flow <goal>")
Expand Down
19 changes: 14 additions & 5 deletions src/orro_wrapper/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,24 @@ def parse_args(argv: list[str]) -> argparse.Namespace:
advise routes the goal itself: bug-shaped -> trace advisory, new work -> sketch advisory (--mode overrides)
ship push a ship-ready branch and optionally open a PR (evidence-gated); merge approval stays human

Removed aliases (2.27.0): sketch/trace -> advise --mode ..., next -> auto --dry-run, report -> status <run-dir> | --latest
Automation:
auto, team

Project legibility:
status roadmap items with evidence-bound state + off-plan runs + workspace summary
tidy inventory (default) and safe cleanup of run worktrees (--apply)
task persistent per-item task worktree lifecycle (begin + optional open hook)
workspace begin
persistent per-item task worktree lifecycle (begin + optional open hook)
workspace tidy
inventory (default) and safe cleanup of run worktrees (--apply)

Setup / advanced:
setup, init, advise, auto, team, engine-lock, lock, advisory-provenance-check
Setup / diagnostics:
setup, skill, init, doctor, engine-lock, advisory-provenance-check

Removed aliases:
sketch/trace -> advise --mode ..., next -> auto --dry-run, report -> status <run-dir> | --latest, lock -> engine-lock

Authoritative commands:
setup, skill, init, advise, scout, flow, flowplan, proofrun, proofcheck, advisory-provenance-check, handoff, ship, review, check, demo, status, workspace, auto, team, doctor, engine-lock

Try it in 30s (no AI adapter):
orro demo
Expand Down
Loading