The akf trust command currently outputs human-readable text. Adding a --format json flag would make it easy to pipe trust scores into other tools.
What to do:
- Add a
--format option (values: text, json) to the trust CLI command
- Default to
text (current behavior)
- JSON output should include all computed trust fields (effective_trust, confidence, authority_weight, temporal_decay, decision)
- Add tests
Relevant files:
python/akf/cli.py — CLI definitions
python/tests/test_cli.py — CLI tests
The
akf trustcommand currently outputs human-readable text. Adding a--format jsonflag would make it easy to pipe trust scores into other tools.What to do:
--formatoption (values:text,json) to thetrustCLI commandtext(current behavior)Relevant files:
python/akf/cli.py— CLI definitionspython/tests/test_cli.py— CLI tests