check documentation #5
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_proc#5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
hero_proc/docs
check against reality, deep research
and make sure schema's are complete
fix all docs/specs
Implementation Spec: Documentation Audit for hero_proc
Objective
Audit all documentation and schema files against the actual Rust implementation. Fix every discrepancy so docs are accurate, complete, and consistent with code at v0.4.0.
Summary of Findings
docs/hero_proc_db_oschema/actions.oschemaexecinterpreter variant andttyfielddocs/hero_proc_db_oschema/jobs.oschemazinit_service_namefield namecrates/hero_proc_server/openrpc.jsonjob.process_statsmethoddocs/hero_proc_openrpc/openrpc.mddocs/SDK.mdServiceConfigvsServiceBuildResult), 5 missing builder methodsdocs/SDK_EXAMPLES.mddocs/BUILDERS.mdbuild()docs/CLI_REFERENCE.mddocs/CLI.mddocs/SERVICE_SPECS.md[jobs]TOML section and non-existentoneshotfieldcrates/hero_proc_ui/docs/*Implementation Plan (11 Steps)
actions.oschema— addexecinterpreter, addttyfieldjobs.oschema— renamezinit_service_nameopenrpc.json— addjob.process_statsmethodopenrpc.md— remove phantom method, add 3 missing methods, fix params/schemasSDK.md— correct return type toServiceBuildResult, add 5 missing methodsSDK_EXAMPLES.md— update examples forServiceBuildResultBUILDERS.md— correct return typeCLI_REFERENCE.md— remove phantom commands, add missing ones, fix output format, update versionCLI.md— same CLI fixes + correct repository URLSERVICE_SPECS.md— replace legacy jobs/oneshot docs with action-based architecturecrates/hero_proc_ui/docs/*stale copiesAcceptance Criteria
Test Results
All tests passing. No failures detected.
Final Implementation Summary
Schema Fixes
docs/hero_proc_db_oschema/actions.oschema— Addedexecinterpreter variant andtty: boolfielddocs/hero_proc_db_oschema/jobs.oschema— Renamedzinit_service_nametohero_proc_service_nameOpenRPC Fixes
crates/hero_proc_server/openrpc.json— Addedjob.process_statsmethod, documentedlog.queryandlog.countaliasesdocs/hero_proc_openrpc/openrpc.md— Removed phantomservice.reload, added 6 missing methods (system.stats, job.process_stats, log.query, log.count, schedule.list, schedule.status), fixed system.shutdown params, fixed DependencyDef schema, updated ActionSpec fieldsSDK Fixes
docs/SDK.md— Corrected return type toServiceBuildResult, documented 5 missing builder methodsdocs/SDK_EXAMPLES.md— Updated all 8 examples forServiceBuildResult, fixed 2 compilation bugsdocs/BUILDERS.md— Corrected return type, documentedServiceBuildResultstructCLI Fixes
docs/CLI_REFERENCE.md— Removed 3 phantom commands, added 2 missing commands, fixed list output format, updated version to 0.4.0docs/CLI.md— Same CLI fixes, corrected repository URL to forge.ourworld.tfService Spec Fixes
docs/SERVICE_SPECS.md— Replaced legacy [jobs] TOML section with action-based architecture, removed non-existent oneshot field, rewrote with correct JSON data modelUI Docs Sync
crates/hero_proc_ui/docs/Test Results
Implementation committed:
15ee3a3Browse:
15ee3a3Claude Skill Files Fixed
Two external skill files were audited against the hero_proc implementation and corrected:
hero_proc_sdk Skill (
hero_skills/claude/skills/hero_proc_sdk/SKILL.md)Fixed:
simple_service,oneshot_service,system_service,sleep_service) return type corrected fromServiceConfigtoServiceBuildResulttty(),interpreter(),depends_on(),depends_on_with_type()action_name()execinterpreter variant to documentationstop_timeout_msdefault from 5000ms to 10000msdevelopment_kristof_ttydtodevelopmentsystem_service()example that incorrectly chained methods onServiceBuildResulthero_proc_cmd Skill (
hero_skills/claude/skills/hero_proc_cmd/SKILL.md)Removed phantom features:
reloadcommand (doesn't exist)xinetcommand group (doesn't exist)--persist,--ephemeral,--oneshotflags (don't exist onadd service)--execflag onadd service(only exists onadd job)Fixed:
add-servicesyntax corrected toadd service(subcommand, not hyphenated)add serviceflags corrected to actual: name, --description, --class, --after, --requires, --wants, --conflictsAdded missing command groups:
add job,job,run,secret,action,config,build,lint,schedules,stats,attach,demo,completion,logs-cmd--format,--output,--quiet,--verbose