Skip to content

[milestone Milestone 1] Implement validateEvents(raw) to parse unknown input and return valid events p... #200

Description

@telleroutlook

🤖 Auto-filed from milestone doc bullet.

Repo: WasmAgent/open-agent-audit
Milestone: Milestone 1: Canonical Evidence Schema and Validation
Bullet:

Implement validateEvents(raw) to parse unknown input and return valid events plus structured validation errors.

Relevant code context (from worktree)

contains 'parse': packages/core/src/inventory/index.ts
contains 'parse': packages/core/src/scoring/index.ts
contains 'parse': packages/core/src/validate/index.ts
contains 'unknown': packages/core/src/policy-audit/index.ts
contains 'unknown': packages/core/src/scoring/index.ts
contains 'unknown': packages/core/src/validate/index.ts

Acceptance criteria

  • Command bun install --frozen-lockfile && bun run build && bun run test passes
  • The specific work described in the bullet above is implemented in the smallest number of files required.
  • No unrelated files touched (git status --short output limited to the intended change).

Notes for the implementer

This issue was auto-created by SweepMilestoneBulletToIssue. The bullet text is verbatim
from the milestone doc. If ambiguous or too large for a single implement cycle,
verify-first should return NEEDS_SPLIT with sub-issue proposals or NEEDS_HUMAN with the blocker.


Filed automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    claudeBot: auto-implement this issueenrichedIssue enriched with contextneeds-humanAction required from a human operator

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions