Skip to content

docs(box): remove stale lifecycle command guidance - #103

Merged
zastrowm merged 1 commit into
strands-agents:mainfrom
ikenyal:docs/remove-stale-lifecycle-commands
Oct 12, 2026
Merged

zastrowm merged 1 commit into
strands-agents:mainfrom
ikenyal:docs/remove-stale-lifecycle-commands

Conversation

@ikenyal

@ikenyal ikenyal commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

Description

The Box crate README still describes rm and reset, but the current CLI only exposes run and policy generate-schema. This can lead readers to try commands that no longer exist. I would like to remove the stale paragraph and keep the existing lifecycle guidance.

This removes only that paragraph. It does not change a CLI command, configuration key, or runtime behavior.

Related Issues

Fixes #102

Type of Change

Documentation update

Testing

  • just check passed on macOS arm64 with Rust 1.98.1. It ran format checks, clippy, and cargo test --workspace --all-features.
  • The documented_commands test and both documented_inputs tests passed. These check the README synopsis and configuration keys; they do not detect the removed prose paragraph.
  • Manual CLI checks: --help lists run and policy; policy --help lists generate-schema. rm and reset each return an unknown-subcommand error with exit code 2.
  • The scoped documentation audit and independent review found no new issue. Existing whole-page prose-check findings and vendored shell warnings are unchanged.
  • Linux-only and ignored tests were not run. No external model or AWS call was made.
Initial test run and repeat checks

The first full run failed catalog_page_limit_accepts_256_pages_and_refuses_a_257th on a response timeout, and the_first_catalog_of_256_pages_costs_at_most_three_times_one_of_128_pages on its timing ratio. Both passed alone with the README restored to the unchanged base. A final just check passed with no code or test-limit changes.

  • I ran the relevant suites (just check, or cargo test --workspace --all-features)
  • If I touched Rust, I ran cargo fmt --all and cargo clippy --workspace --all-targets --all-features -- -D warnings

The conditional Rust item is not applicable: no Rust file changed. just check still ran the format and clippy gates with the repository's lint allowances.

Checklist

  • I have read the CONTRIBUTING document
  • I have reviewed and understand every line of code in this PR, including any generated by AI tools, and I can explain why it works
  • My change is focused and reasonably small; I have split unrelated work into separate PRs
  • I have added any necessary tests that prove my fix is effective or my feature works
  • I have updated the documentation accordingly
  • My changes generate no new warnings

No new test is needed for this documentation-only deletion. The existing documentation tests and manual CLI checks cover the retained guidance and the absent commands.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

## Problem

The Box crate README describes rm and reset. The current CLI refuses both commands.
The manual CLI checks with rm and reset each returned an unknown-subcommand error
and exit code 2. A reader can follow instructions for commands that do not exist.

## Solution

Remove the obsolete paragraph. Keep the existing guidance on run, caller-owned
configuration, and the box directory. No interface or runtime code changes.

## Tests

just check passed on macOS arm64 with Rust 1.98.1. It ran format checks, clippy,
and cargo test --workspace --all-features. The documented_commands test
the_readme_synopsis_names_every_verb_and_only_real_verbs passed. Both
documented_inputs tests passed. Manual CLI help checks showed run, policy,
and policy generate-schema. Manual rm and reset checks returned exit code 2.
The scoped documentation review found no new issue.

The first full run failed catalog_page_limit_accepts_256_pages_and_refuses_a_257th
on a response timeout and
the_first_catalog_of_256_pages_costs_at_most_three_times_one_of_128_pages
on its timing ratio. Both passed alone with the README restored to HEAD.
The final full run passed with no code or test-limit changes.

Linux-only and ignored tests were not run. No external model or AWS call was made.
Existing warnings in the vendored shell remain; no source code changed.
@ikenyal
ikenyal marked this pull request as ready for review October 12, 2026 08:23
@zastrowm
zastrowm merged commit 223e395 into strands-agents:main Oct 12, 2026
11 of 15 checks passed
@zastrowm

Copy link
Copy Markdown
Member

Thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] Box crate README describes removed rm/reset commands

2 participants