Skip to content

[h5v] :log command, :edit audit trail, :identity command #171

@gerchowl

Description

@gerchowl

Parent: #161

Goal

Wire up the audit trail in h5v: :log to view history, :edit to create audited edits, :identity to manage identity.

Spec

:log command

  • Display audit history in the attribute/info panel or a dedicated view
  • Show entries newest-first, git-log style
  • Scrollable if many entries

:edit with audit trail

  • Existing :edit/:edit! commands now create audit entries
  • Read identity from ~/.fd5/identity.toml
  • Show confirmation with old → new value and identity before applying

:identity command

  • :identity — show current identity
  • :identity set <type> <id> <name> — save to ~/.fd5/identity.toml

TDD

  • Test :log command parsing
  • Test :identity command parsing
  • Test edit creates audit entry via fd5 crate

Metadata

Metadata

Assignees

No one assigned

    Labels

    audit-trailAudit trail / provenance chain featureeffort:medium1-4 hoursfeatureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions