Skip to content

Add local history report#1551

Merged
codeforester merged 1 commit into
mainfrom
enhancement/1538-history-logs-report
Jul 8, 2026
Merged

Add local history report#1551
codeforester merged 1 commit into
mainfrom
enhancement/1538-history-logs-report

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Summary

  • Add basectl history --report for local Markdown activity summaries and --report --format json for deterministic machine-readable output.
  • Summarize recent command history, failure counts, failing command families, and relevant log locations without dumping raw logs.
  • Reapply privacy redaction for secret-looking argv values, environment-style assignments, URL credentials, and home paths.

Validation

  • /Users/rameshhp/.base.d/base/.venv/bin/python -m pytest cli/python/base_history/tests cli/python/base_logs/tests -q
  • /Users/rameshhp/.base.d/base/.venv/bin/python -m pytest cli/python/base_history/tests/test_engine.py lib/python/base_cli/tests/test_python_standards.py -q
  • env BASE_BASH_LIBS_DIR=/Users/rameshhp/work/base-bash-libs/lib/bash bats cli/bash/commands/basectl/tests/history.bats cli/bash/commands/basectl/tests/completions.bats lib/shell/completions/tests/completions.bats cli/bash/commands/basectl/tests/help.bats
  • bash -n cli/bash/commands/basectl/subcommands/history.sh
  • /Users/rameshhp/.base.d/base/.venv/bin/python -m compileall -q cli/python/base_history
  • git diff --check

Fixes #1538

@codeforester codeforester marked this pull request as ready for review July 8, 2026 21:57
@codeforester codeforester requested a review from a team as a code owner July 8, 2026 21:57
@codeforester codeforester force-pushed the enhancement/1538-history-logs-report branch from dc43982 to 8ff0e43 Compare July 8, 2026 22:33
@codeforester codeforester merged commit 3bc3070 into main Jul 8, 2026
26 checks passed
@codeforester codeforester deleted the enhancement/1538-history-logs-report branch July 8, 2026 22:37
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.

Add local history/logs report command

1 participant