Skip to content

feat(#22): Skill output reliability - validation layers and structured logging - #23

Merged
admarble merged 1 commit into
mainfrom
feature/22-skill-output-reliability-validation-layers-sche
Jan 8, 2026
Merged

admarble merged 1 commit into
mainfrom
feature/22-skill-output-reliability-validation-layers-sche

Conversation

@admarble

@admarble admarble commented Jan 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add "Output Verification" checklists to all 14 skills ensuring consistent output
  • Add "Output Template" sections to /solve, /spec, /qa for structured responses
  • Implement structured JSON logging for sequant run with Zod schemas
  • Add sequant logs command for viewing and analyzing run logs

Acceptance Criteria

AC Description Status
AC-1 /solve always includes sequant run command ✅ MET
AC-2 /spec always includes Acceptance Criteria section ✅ MET
AC-3 sequant run produces queryable JSON logs ✅ MET
AC-4 Skill authors have clear reliability patterns ✅ MET
AC-5 CI can validate skill outputs programmatically ✅ MET

Changes

Phase 1 - Skill Templates

  • templates/skills/*/SKILL.md - Added "Output Verification" checklists
  • /solve, /spec, /qa - Added "Output Template" sections

Phase 2 - Structured Logging

  • src/lib/workflow/run-log-schema.ts - Zod schemas for run logs
  • src/lib/workflow/log-writer.ts - Log writer class
  • src/commands/run.ts - --log-json and --log-path options
  • src/commands/logs.ts - New sequant logs command
  • bin/cli.ts - CLI wiring for new options

Test plan

  • npm test passes (17 tests)
  • npm run build succeeds
  • Manual: Run sequant run 1 --log-json --dry-run and verify log file created
  • Manual: Run sequant logs and verify output

Fixes #22

🤖 Generated with Claude Code

Add Output Verification checklists to all 14 skills with required output
sections that must be verified before responding.

Add structured JSON logging to sequant run with --log-json flag, including
Zod schemas for validation and a sequant logs command for analysis.

Fixes #22

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Skill output reliability: validation layers, schemas, and structured logging

1 participant