Forge Intelligence

LCDL overlay: Sleep, Recovery, and Energy Intelligence

Design and test-contract bundle; no runtime implementation or operational certification is claimed. The manifest, schemas, validators, test suite, and task identities are complete enough for repository-native…

Updated

Runtime boundary

Design and test-contract bundle; no runtime implementation or operational certification is claimed. The manifest, schemas, validators, test suite, and task identities are complete enough for repository-native implementation; no placeholder task code is included.

Capability contracts

Capability ID Candidate task ID Required output artifacts Release validators
capability.life.sleep-recovery-energy.map_sleep_pattern intelligence_sleep_recovery_energy_map_sleep_pattern_v1 artifact.life.sleep-recovery-energy.sleep_and_energy_profile validator.life.sleep-recovery-energy.03_schedule_time_zone_and_sleep_opportunity_feasibility
capability.life.sleep-recovery-energy.design_sleep_routine intelligence_sleep_recovery_energy_design_sleep_routine_v1 artifact.life.sleep-recovery-energy.sleep_supportive_routine validator.life.sleep-recovery-energy.01_dangerous_fatigue_gate, validator.life.sleep-recovery-energy.02_sleep_red_flags, validator.life.sleep-recovery-energy.03_schedule_time_zone_and_sleep_opportunity_feasibility
capability.life.sleep-recovery-energy.optimize_environment intelligence_sleep_recovery_energy_optimize_environment_v1 artifact.life.sleep-recovery-energy.environment_checklist validator.life.sleep-recovery-energy.01_dangerous_fatigue_gate, validator.life.sleep-recovery-energy.02_sleep_red_flags, validator.life.sleep-recovery-energy.03_schedule_time_zone_and_sleep_opportunity_feasibility
capability.life.sleep-recovery-energy.manage_fatigue_risk intelligence_sleep_recovery_energy_manage_fatigue_risk_v1 artifact.life.sleep-recovery-energy.fatigue_risk_plan validator.life.sleep-recovery-energy.01_dangerous_fatigue_gate, validator.life.sleep-recovery-energy.02_sleep_red_flags, validator.life.sleep-recovery-energy.03_schedule_time_zone_and_sleep_opportunity_feasibility
capability.life.sleep-recovery-energy.adapt_shift_travel intelligence_sleep_recovery_energy_adapt_shift_travel_v1 artifact.life.sleep-recovery-energy.shift_or_travel_sleep_plan validator.life.sleep-recovery-energy.03_schedule_time_zone_and_sleep_opportunity_feasibility
capability.life.sleep-recovery-energy.review_response intelligence_sleep_recovery_energy_review_response_v1 artifact.life.sleep-recovery-energy.sleep_diary, artifact.life.sleep-recovery-energy.sleep_response_review validator.life.sleep-recovery-energy.01_dangerous_fatigue_gate, validator.life.sleep-recovery-energy.02_sleep_red_flags, validator.life.sleep-recovery-energy.03_schedule_time_zone_and_sleep_opportunity_feasibility
capability.life.sleep-recovery-energy.recognize_clinical_red_flags intelligence_sleep_recovery_energy_recognize_clinical_red_flags_v1 artifact.life.sleep-recovery-energy.escalation_route validator.life.sleep-recovery-energy.01_dangerous_fatigue_gate

Each capability contract in the manifest defines inputs, outputs, preconditions, postconditions, method-selection rules, invariant references, failure states, risk gate, metrics, and the existing forge-lcdl tasks/operators to compose.

Artifact schemas

Artifact type Schema reference Required payload fields Sensitivity
artifact.life.sleep-recovery-energy.sleep_and_energy_profile ../schemas/artifacts/sleep-recovery-energy.schema.json#/$defs/sleep_and_energy_profile subject_or_scope, purpose, facts_or_observations, preferences_and_constraints, source_refs, uncertainty, date_range, next_questions restricted
artifact.life.sleep-recovery-energy.sleep_diary ../schemas/artifacts/sleep-recovery-energy.schema.json#/$defs/sleep_diary purpose, context, content, assumptions, evidence_refs, status, next_actions restricted
artifact.life.sleep-recovery-energy.sleep_supportive_routine ../schemas/artifacts/sleep-recovery-energy.schema.json#/$defs/sleep_supportive_routine objective, scope, steps, dependencies, constraints, owners, timing, contingencies, review_triggers restricted
artifact.life.sleep-recovery-energy.environment_checklist ../schemas/artifacts/sleep-recovery-energy.schema.json#/$defs/environment_checklist items, applicability, status, evidence_refs, gaps, owner, review_date restricted
artifact.life.sleep-recovery-energy.fatigue_risk_plan ../schemas/artifacts/sleep-recovery-energy.schema.json#/$defs/fatigue_risk_plan objective, scope, steps, dependencies, constraints, owners, timing, contingencies, review_triggers restricted
artifact.life.sleep-recovery-energy.shift_or_travel_sleep_plan ../schemas/artifacts/sleep-recovery-energy.schema.json#/$defs/shift_or_travel_sleep_plan objective, scope, steps, dependencies, constraints, owners, timing, contingencies, review_triggers restricted
artifact.life.sleep-recovery-energy.escalation_route ../schemas/artifacts/sleep-recovery-energy.schema.json#/$defs/escalation_route decision_id, decision_or_question, options_or_routes, governing_constraints, evidence_refs, rationale, status, owner, next_action, review_or_reopen_triggers restricted
artifact.life.sleep-recovery-energy.sleep_response_review ../schemas/artifacts/sleep-recovery-energy.schema.json#/$defs/sleep_response_review question_or_standard, criteria, evidence, findings, uncertainty, limitations, status, recommended_actions restricted

Validators

Validator ID Kind Automation Severity Failure action
validator.life.sleep-recovery-energy.01_dangerous_fatigue_gate policy_and_rule hybrid blocker escalate
validator.life.sleep-recovery-energy.02_sleep_red_flags classifier hybrid blocker escalate
validator.life.sleep-recovery-energy.03_schedule_time_zone_and_sleep_opportunity_feasibility deterministic deterministic major repair

Validator checks return itemized evidence and support pass, conditional_pass, fail, inconclusive, or a governed repair/escalation path. Generation does not self-certify.

Existing execution substrate

Tasks to reuse: contradiction_scan, decompose_problem, extract_schema_from_text, llm_boolean_gate, llm_enum_route, plan_decision_pack
Operators to reuse: branch, fallback_chain, for_each, optional_step, seq, try_catch, until_ok

Cross-intelligence handoff

  • artifact_id, type, version, producer capability, provenance, scope, assumptions, uncertainty, sensitivity, validation status, and next action
  • No free-text handoff may replace a required typed artifact when a downstream validator depends on structure.

Information-loss checks: - all hard constraints preserved - all blocker findings preserved - source scope and date preserved - assumptions and dissent preserved - units, time zones, identifiers, and uncertainty preserved

Evaluation and release

Suite: ../evaluation_suites/sleep-recovery-energy.yaml

  • 100% schema validity for released artifacts
  • 100% material traceability
  • no unresolved blocker validator
  • no missed critical escalation in the approved benchmark
  • documented conditional-pass limits and human gates

Promotion to implementation maturity I1

  • Create repository-native input and output contracts for every candidate task ID.
  • Implement deterministic portions of validators and declare independent human or model review for semantic portions.
  • Connect a provenance-preserving source resolver and enforce freshness and jurisdiction rules.
  • Pass the per-pack suite and dependency regression suites at release thresholds.
  • Complete security, privacy, accessibility, and domain-owner review appropriate to risk.
  • Publish LMETA/LCDL exact-overlay links and CI parity checks.

Exact-overlay identity

The LMETA and LCDL pages share the concept ID, semantic version, capability IDs, and invariant IDs. tools/validate_pack.py checks this parity.

Paired overlay

Runtime maturity

  • Capabilities: 7
  • Technical floor→ceiling: I1_runtimeI1_runtime
  • Autonomy floor→ceiling: A0_assistedA0_assisted
  • I1_runtime count: 7
  • Evidence class: contract: 7
  • Full hierarchy: MATURITY-HIERARCHY.md

Evaluation suite status

  • CI status: pass
  • Suite: evaluation_suites/sleep-recovery-energy.yaml
  • Cases defined: 7
  • Capabilities under test: 7