Skip to content

Add manifest command trust commands#1405

Merged
codeforester merged 2 commits into
mainfrom
security/1381-20260704-manifest-command-trust
Jul 4, 2026
Merged

Add manifest command trust commands#1405
codeforester merged 2 commits into
mainfrom
security/1381-20260704-manifest-command-trust

Conversation

@codeforester

Copy link
Copy Markdown
Collaborator

Summary

  • Add base_trust with manifest command trust identity computation, local allow-record storage, JSON status output, allow, and revoke.
  • Add basectl trust status|allow|revoke Bash dispatch plus Bash/Zsh completions.
  • Document the trust command surface in command references, AI command context, and the changelog.

Fixes #1381

Validation

  • env PYTHONPATH=/Users/rameshhp/work/base-worktrees/1381-manifest-command-trust/lib/python:/Users/rameshhp/work/base-worktrees/1381-manifest-command-trust/cli/python /Users/rameshhp/.base.d/base/.venv/bin/python -m pytest cli/python/base_trust/tests/test_engine.py lib/python/base_cli/tests/test_public_command_lifecycle.py -q
  • env PYTHONPATH=/Users/rameshhp/work/base-worktrees/1381-manifest-command-trust/lib/python:/Users/rameshhp/work/base-worktrees/1381-manifest-command-trust/cli/python /Users/rameshhp/.base.d/base/.venv/bin/python -m pylint --rcfile=.pylintrc cli/python/base_trust
  • env -u BASE_HOME BASE_BASH_LIBS_DIR=/opt/homebrew/opt/base-bash-libs/libexec/lib/bash bats cli/bash/commands/basectl/tests/help.bats
  • env -u BASE_HOME HOME=/private/tmp/base-trust-smoke-1381-home BASE_PROJECT_VENV_DIR=/Users/rameshhp/.base.d/base/.venv BASE_BASH_LIBS_DIR=/Users/rameshhp/work/base-bash-libs/lib/bash ./bin/basectl trust allow base --manifest-sha256 f0d990bd80d63e5afeec78759a20b4686c4995872536a83ac9345f417cde7c41
  • env -u BASE_HOME BASE_BASH_LIBS_DIR=/opt/homebrew/opt/base-bash-libs/libexec/lib/bash ./bin/base-test

@codeforester codeforester requested a review from a team as a code owner July 4, 2026 05:55
@codeforester codeforester merged commit 6ad3cae into main Jul 4, 2026
26 checks passed
@codeforester codeforester deleted the security/1381-20260704-manifest-command-trust branch July 4, 2026 06:05
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.

Implement manifest command trust storage and basectl trust commands

1 participant