Skip to content

Add unit tests for output-formatter module #364

Description

@nikolasdehor

Description

The output-formatter module in .aios-core/core/utils/output-formatter.js implements PersonalizedOutputFormatter for agent task reports but has no test coverage.

Proposed Changes

  • Add 32 unit tests covering:
    • Persona loading from agent YAML blocks with graceful degradation
    • Fixed header, personalized status, output, metrics, and signature building
    • Portuguese verb conjugation (-ar, -er, -ir, -or endings)
    • Tone-based message generation (5 tones)
    • Full format output assembly

Acceptance Criteria

  • All 32 tests pass
  • No external dependencies required

Activity

  1. nikolasdehor commented on Feb 20, 2026

    @nikolasdehor
    ContributorAuthor

    Covered by consolidated PR #424

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions