Skip to main content

Module harness_artifacts

Module harness_artifacts 

Source

Functionsยง

archive_completed_current_task
Archive a fully-checked current_task.md so a finished checklist cannot describe the next session. Incomplete checklists stay in place.
artifact_is_stale
Whether path predates the freshness window of not_before.
current_context_reset_path
Return the path to the current context reset manifest file.
current_contract_path
Return the path to the current contract artifact file.
current_evaluation_path
Return the path to the current evaluation artifact file.
current_feature_list_path
Return the path to the current feature list artifact file.
current_outcome_verification_path
Return the path to the current outcome verification artifact file.
current_spec_path
Return the path to the current spec artifact file.
current_sprint_contract_path
Return the path to the current sprint contract artifact file.
current_task_path
Return the path to the current task tracker file.
existing_harness_artifact_paths
Return the paths of all harness artifacts that currently exist on disk.
read_contract_summary
Read a short summary of the current contract artifact, or None if unavailable.
read_contract_summary_fresh
Like read_contract_summary, but drop the file when it predates not_before.
read_evaluation_summary
Read a short summary of the current evaluation artifact, or None if unavailable.
read_evaluation_summary_fresh
Like read_evaluation_summary, but drop the file when it predates not_before.
read_feature_list_summary
Read a short summary of the feature list artifact, or None if unavailable.
read_feature_list_summary_fresh
Like read_feature_list_summary, but drop the file when it predates not_before.
read_outcome_verification_summary
Read a short summary of the outcome verification artifact, or None if unavailable.
read_outcome_verification_summary_fresh
Like read_outcome_verification_summary, but drop the file when it predates not_before.
read_spec_summary
Read a short summary of the current spec artifact, or None if unavailable.
read_spec_summary_fresh
Like read_spec_summary, but drop the file when it predates not_before.
read_sprint_contract_summary
Read a short summary of the sprint contract artifact, or None if unavailable.
read_sprint_contract_summary_fresh
Like read_sprint_contract_summary, but drop the file when it predates not_before.
session_artifact_cutoff
Best-effort start time of session_id, used to reject leftover workspace task artifacts that predate the session. Returns None when the session directory is missing so callers can fall back to unfiltered reads.
write_contract
Write the contract artifact content to disk and return the path.
write_evaluation
Write the evaluation artifact content to disk and return the path.
write_feature_list
Write the feature list artifact content to disk and return the path.
write_outcome_verification
Write the outcome verification artifact content to disk and return the path.
write_spec
Write the spec artifact content to disk and return the path.
write_sprint_contract
Write the sprint contract artifact content to disk and return the path.