Skip to content

Add JSON output format to akf trust CLI command #7

@HMAKT99

Description

@HMAKT99

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions