Expand description
Purpose: Detect structural health issues in ProjectAtlas indexes.
Structs§
- Health
Finding - Health finding emitted by
ProjectAtlas. - Parse
Severity Error - Error returned when a health severity string is unknown.
Enums§
- Severity
- Health finding severity.
Constants§
- CATEGORY_
DUPLICATE_ PURPOSE - Health category for duplicated purpose text.
- CATEGORY_
MISSING_ PURPOSE - Health category for paths without purpose metadata.
- CATEGORY_
PURPOSE_ AGENT_ REVIEW_ REQUIRED - Health category for approved purposes that still need agent review.
- CATEGORY_
REPEATED_ TEMPORARY_ FOLDER - Health category for repeated temporary/generated-output folders.
- CATEGORY_
STALE_ PURPOSE - Health category for legacy or explicitly flagged accepted-purpose records.
- CATEGORY_
SUGGESTED_ PURPOSE_ REVIEW - Health category for generated purpose suggestions awaiting review.
- MESSAGE_
MISSING_ PURPOSE - Finding message for missing-purpose rows.
- MESSAGE_
PURPOSE_ AGENT_ REVIEW_ REQUIRED - Finding message for purpose-agent-review-required rows.
- MESSAGE_
STALE_ PURPOSE - Finding message for stale-purpose rows.
- MESSAGE_
SUGGESTED_ PURPOSE_ REVIEW - Finding message for suggested-purpose-review rows.
- RECOMMENDATION_
DUPLICATE_ PURPOSE - Finding recommendation for duplicate-purpose rows.
- RECOMMENDATION_
MISSING_ PURPOSE - Finding recommendation for missing-purpose rows.
- RECOMMENDATION_
MISSING_ PURPOSE_ QUEUE - Queue recommendation for missing-purpose rows.
- RECOMMENDATION_
PURPOSE_ AGENT_ REVIEW_ REQUIRED - Finding recommendation for purpose-agent-review-required rows.
- RECOMMENDATION_
REPEATED_ TEMPORARY_ FOLDER - Finding recommendation for repeated-temporary-folder rows.
- RECOMMENDATION_
STALE_ PURPOSE - Finding recommendation for stale-purpose rows.
- RECOMMENDATION_
SUGGESTED_ PURPOSE_ REVIEW - Finding recommendation for suggested-purpose-review rows.
- RECOMMENDATION_
SUGGESTED_ PURPOSE_ REVIEW_ QUEUE - Queue recommendation for suggested-purpose-review rows.
- STRUCTURAL_
HEALTH_ CATEGORIES - Structural categories that are not simple purpose lifecycle states.
- TEMP_
FOLDER_ BUCKETS - Folder names treated as repeated temporary/generated-output buckets.
Functions§
- finding_
id - Build a stable finding id from category and affected paths.
- health_
check - Run initial structural health checks.
- unresolved_
health_ findings - Return findings that have not been marked resolved.