Commit Graph

1 Commits

Author SHA1 Message Date
Alexander Whitestone
595d306ff1 feat(#592): generate 1,000 code-pattern training pairs for Hermes Agent Core
Some checks failed
Smoke Test / smoke (pull_request) Failing after 24s
Architecture Lint / Linter Tests (pull_request) Successful in 27s
Validate Config / YAML Lint (pull_request) Failing after 17s
Validate Config / JSON Validate (pull_request) Successful in 20s
Validate Config / Python Syntax & Import Check (pull_request) Failing after 1m3s
Validate Config / Python Test Suite (pull_request) Has been skipped
Validate Config / Shell Script Lint (pull_request) Failing after 1m3s
Validate Config / Cron Syntax Check (pull_request) Successful in 12s
Validate Config / Deploy Script Dry Run (pull_request) Successful in 13s
Validate Config / Playbook Schema Validation (pull_request) Successful in 31s
Validate Training Data / validate (pull_request) Successful in 27s
Architecture Lint / Lint Repository (pull_request) Failing after 18s
PR Checklist / pr-checklist (pull_request) Successful in 3m34s
Adds training data generation script and generated JSONL covering:

- Agent Loop (307): AIAgent instantiation, conversation handling,
  iteration budgeting, tool call loops, quiet mode

- Tool Routing (54): Registry registration, schema discovery,
  availability checks, toolset management, handler wrappers

- Session Management (151): FTS5 search, save/load sessions,
  context compression, prompt caching

- Prompt Building (77): System prompt construction, reasoning blocks,
  tool result formatting, few-shot examples, context truncation

- Utility (207): Config loading, credential resolution, model switching,
  trajectory saving, display rendering, approval validation,
  subagent delegation, file reading, code execution, process polling

- Error Handling (97): Rate limiting, tool error catching,
  JSON validation, optional deps, infinite loop detection

- Config (46): Schema migration, env var metadata, persistent values

- Testing (61): Pytest patterns, agent mocking, tmp_path fixtures

Total: 1,000 problem→solution pairs (~546KB JSONL)

Script: training/build_code_patterns_hermes_agent_core.py
Output: training-data/code-patterns-hermes-agent-core.jsonl
2026-04-22 03:16:51 -04:00