Worked Examples
Apply recovery milestones — Catalyst Grit
Apply evidence-based recovery milestones in Catalyst Grit using measurable operational indicators, reproducible Python workflows, and source-reviewed engineering guidance. This article provides practical procedures for baseline definition, milestone thresholds, persistence requirements, evidence verification, reassessment, psychological measurement safeguards, missing-data handling, and human-reviewed publication while distinguishing operational progress from psychological recovery.
Application: Catalyst Grit
Article type: Operational research / Apply
Last source-reviewed version: v2.0.0 (f9617160ffd276c6a6fd847b1e846bb5f73b07ae)
Last verified version: Not established — no installed-release verification
Status: Guidance ready for editorial review; scientific and deployment verification pending
Estimated reading time: 23–31 minutes
1. Goal
Apply a defensible recovery or adaptation milestone after a disruption by defining an operational baseline, eligibility rules, target, persistence requirement, observation calendar, evidence source, escalation criteria and review state before interpreting change. Success means a reviewer can reconstruct what was measured, how it was measured, when the criterion was met and why alternative explanations remain possible.
This is a reference application workflow for Catalyst Grit. It does not certify a deployed milestone-evaluation endpoint or psychometric instrument.
2. Requirements
- Confirm legitimate research or operational purpose, role and project authorization, participant permissions where applicable, and a private analysis setting.
- Agree on the operational construct and unit. If a psychological construct is intended, select an appropriately validated instrument and obtain research-methods review; do not substitute completion counts for resilience scores.
- Prespecify the baseline period, eligible population, observation frequency, target, direction, consecutive-week requirement, missingness handling, owner and review date.
- Preserve immutable source evidence, reproducible input files, versioned rules and append-only human decisions.
- Use Python 3 for the included offline reference scripts; no network or product credentials are needed.
Last source-reviewed version: Catalyst Grit v2.0.0, commit f9617160ffd276c6a6fd847b1e846bb5f73b07ae. Last verified installed version: Not established. These are different states; a GitHub review does not establish deployed behavior.
3. Before you begin: define the milestone
| Field | Fictional reference setting | Scientific/engineering requirement |
|---|---|---|
| Construct | Operational service continuity | Not psychological recovery or an individual trait |
| Baseline | 2 completed support tasks/week on 1 September 2026 | Document the observed baseline rather than inventing a pre-disruption rate |
| Target and direction | At least 3 tasks/week; higher is better | Specify threshold, unit and direction in advance |
| Persistence | 3 consecutive observed, evidence-supported weeks | Prespecify minimum duration; avoid post-hoc threshold selection |
| Observation window | Seven-day intervals | Keep the scheduled calendar distinct from capture time |
| Missing-week rule | Cannot infer completion | Do not convert unknown outcomes to success or zero |
| Completion evidence | Five entirely fictional weekly logs | Every observed week links to an exact source record |
| Review state | Draft; review requested after evaluation | Evaluation does not automatically authorize publication |
The example is illustrative; the baseline observation on 1 September is not a longitudinal pre-disruption baseline estimate. A real study must justify its baseline selection and evaluate whether conditions changed.
4. Data and evidence contracts
The local fixture contains four separable artifacts: a versioned milestone definition (JSON); a participant-free observation series (CSV); an independent synthetic evidence registry (CSV); and an append-only-style event sample (JSON). Each observed wave requires a resolvable evidence ID, a matching project/milestone and scheduled date, and a recorded review state. Evidence is fictional, so matching identifiers demonstrate engineering integrity rather than verifying real-world task completion.
| Contract | Required property | Failure boundary |
|---|---|---|
| Identity | Project, milestone, event, evidence and revision IDs | Wrong-project reference or repeated event ID |
| Rule | Version, definition, unit, direction, threshold and persistence count | Silent rule changes |
| Observations | Scheduled date, status, numeric value or explicit null | Missing observation represented as zero |
| Evidence | Source ID, date, project, review state and provenance | Unsupported or mismatched completion claim |
| Governance | Visibility, authorization, actor, reason and human review | Automatic promotion of draft to published |
| Publication | Approved redacted findings with scope/retention checks | Export of private identifiable records |
5. Procedure
- Register a purpose and owner. Identify the disruption, eligible team or study population, intended decision, actor, privacy classification, consent/lawful basis, and time window. Record why this milestone is appropriate.
- Establish the baseline. Specify date range, original evidence, unit, assessment conditions and uncertainty. Where baseline observations are sparse, explicitly describe representativeness limitations.
- Define success before examining follow-up. Record the operational threshold, direction, persistence requirement, scheduling rules, review gates, version and reassessment triggers.
- Construct the scheduled observation grid. Include all eligible weeks, even missing, withdrawn, or not-due observations. Preserve original status rather than replacing null values with zero.
- Attach source evidence. Link each observed value to an evidence ID and review/provenance chain; cross-check unit, project, milestone, date and source digest.
- Evaluate with a reproducible tool. Run the local audit and evaluator; inspect each streak, first attainment date, missing week, rule version and source hash.
- Assess competing explanations. Consider staffing changes, workload, task mix, support availability, measurement changes and coincident interventions. Record what remains unknown.
- Apply psychometric checks where relevant. If using psychological outcomes, verify construct validity, scoring, reliability, longitudinal invariance, meaningful change and human interpretation. Operational milestones cannot replace this process.
- Request human review. Preserve original evidence, draft assessment, exclusions, alternative explanations, limitations, and specific reviewer decisions. Saving a milestone is not approval.
- Publish only after authorized staging and review. Minimize or redact private detail, maintain append-only history, and schedule reassessment; a milestone can later cease to hold.
6. Terminal setup and reproducible execution
# Run from the extracted package root (Python 3, standard library only):
python3 --version
python3 code/recovery_milestone.py audit
python3 code/recovery_milestone.py evaluate
python3 code/apply_recovery_milestone.py audit
python3 code/apply_recovery_milestone.py evidence
python3 code/apply_recovery_milestone.py procedure
python3 code/apply_recovery_milestone.py manifest
python3 -m unittest discover -s tests -v
# Check file digests on macOS:
shasum -a 256 data/milestone_contract.example.json data/synthetic_milestone_series.csv
Expected procedure result: "validation_passed": true, "achieved_at": "2026-09-22", "publication_approved": false, and "product_integration": "not_verified". The independent evidence registry contains five reviewed fictional weekly logs, and the event log contains a draft creation and review request. No deployment, participant records or production database are touched.
7. Python: inspect milestone evidence
import sys
sys.path.insert(0, 'code')
from apply_recovery_milestone import inputs, review_contract, inspect
contract, observations, evidence, history = inputs()
assert review_contract(contract, observations, evidence, history) == []
report = inspect()
assert report['evaluation']['achieved_at'] == '2026-09-22'
assert report['publication_approved'] is False
print(report['evaluation']['milestone_status'])
The calculation is a proposed operational persistence rule, not a native Catalyst Grit endpoint. A clinically meaningful change rule would require an independent construct-appropriate protocol.
8. Interpret the worked example
| Week | Recorded tasks | Rule interpretation |
|---|---|---|
| 1 Sep | 2 | Below threshold, baseline observation |
| 8 Sep | 3 | First consecutive qualifying week |
| 15 Sep | 4 | Second consecutive qualifying week |
| 22 Sep | 4 | Third consecutive week; first attainment |
| 29 Sep | 3 | Another qualifying week; does not change first-attainment date |
| 6 Oct | Missing | Unknown; do not infer continued attainment |
The evidence supports the narrow statement: the specified operational threshold was first demonstrated on 22 September 2026 in a fictional dataset. It does not show a causal effect of an intervention, individual capacity, personal virtue, clinical improvement, or sustained recovery after the missing week.
9. Psychology and psychometrics
A recovery milestone may be a functional goal, personally valued activity or context-sensitive adaptation indicator. It should not be converted into a psychological disorder label, personality inference, performance ranking or measure of worth. If measured by self-report, distinguish the participant’s report, the score calculated according to an authorized instrument, and the analyst’s interpretation.
Psychometric analysis may require evidence for structural and content validity, test–retest reliability, responsiveness, measurement error, cross-group comparability, and longitudinal measurement invariance. A stable task-count threshold demonstrates none of these by itself. Meaningful change thresholds (such as a reliable change index) require empirical error estimates, suitable normative or study reference populations and independent expert review. Nonlinear trajectories, environmental barriers, choice and agency should be explicitly acknowledged.
Protocol owners should consult current COSMIN measurement-property guidance and appropriate psychological reporting standards rather than assuming the bundled test harness establishes scientific validation.
10. Troubleshooting
| Symptom | Local diagnostic | Underlying concern |
|---|---|---|
| Milestone met too early | inject --case short_streak |
Invalid persistence criterion or version drift |
| Missing week displayed as zero | inject --case missing_zero |
Observation status conflated with a measured value |
| Completed week lacks evidence | inject --case missing_evidence |
Unresolved evidence link |
| Week and supporting log disagree | inject --case evidence_time |
Chronological or join error |
| Repeated event or stale update | inject --case event_duplicate / stale_revision |
Audit and revision conflict |
| Draft milestone published | inject --case publish_draft |
Missing human-review gate |
| Operational score called clinical recovery | inject --case unsupported_claim |
Invalid scientific construct interpretation |
| Project data visible to another team | inject --case evidence_cross_project |
Project-scoping failure |
Fault codes belong to the supplied local adapter; do not treat them as confirmed errors from the installed Catalyst Grit application.
11. Resolution
For a failed integrity check, preserve the original file, hash, project/milestone key, event revision, actor and nonsecret error output. Quarantine mismatched or unauthorized observations rather than changing historical measurements. Reconcile missing evidence from the primary source, retain a dated correction with reason, rerun validation and request an independent reviewer to adjudicate remaining disagreements.
For a misleading milestone, revisit the prespecified baseline, denominator, status vocabulary, observation schedule and persistence rule. Declare version changes prospectively; do not move the threshold after seeing the results without documenting exploratory redefinition. For possible data disclosure, stop public delivery and escalate through approved security and research governance procedures. For unresolved scientific validity, describe the result only as an operational observation—not a psychological conclusion.
12. Versioned Catalyst Grit source integration
The following are reviewed repository capabilities, not proof that the custom milestone evaluator is deployed:
| Reviewed path | Relevant contract |
|---|---|
| Catalyst Grit v2.0.0 README | Research platform scope, CLI, non-diagnostic safeguards |
| Recovery planning | Dated checkpoints, action-completion evidence and review triggers |
| Recovery record contract | Canonical records and linked evidence |
| Persistent workspace | Append-only revisions, status events and retention |
| Monitoring trends | Traceable snapshots and sparsity/interpretation boundaries |
| Methodology profile | Condition-score governance and human review |
| SQLite persistence source | Implementation boundary to inspect for actual method signatures |
| Recovery-planning tests | Repository tests to inspect for completion and checkpoint behavior |
Source-reviewed commit: f9617160ffd276c6a6fd847b1e846bb5f73b07ae. The milestone threshold, CSV/JSON schema and CLI in this package are a separately implemented, offline reference. No deployed endpoint, WordPress control or psychometric certification is claimed.
13. Developer repository verification
# Optional: inspect the reviewed product source separately
git clone https://github.com/Content-Catalyst-LLC/catalyst-grit.git
cd catalyst-grit
git checkout f9617160ffd276c6a6fd847b1e846bb5f73b07ae
python3 scripts/release_contract.py
# With project test dependencies installed:
python3 -m pytest tests/test_recovery_planning.py -q
Repository tests assess their specified software contracts; they do not verify a current production installation. Confirm command names and dependencies against the pinned checkout before running in an authorized development environment.
14. Verification and staging acceptance
| Acceptance criterion | Current evidence | Status |
|---|---|---|
| Deterministic persistence result (22 Sep) | Offline evaluator and known synthetic observations | Tested locally |
| Evidence links and version/review checks | Local registry and revision fixtures; negative tests | Tested locally |
| Privacy, consent and project isolation | Local input checks only | Production unverified |
| Staging actions, persistence and publish review | Independent staging acceptance matrix | NOT RUN |
| Psychological/clinical interpretation | No validated psychological instrument in the example | Not established |
| Last verified installed version | No deployment/build attestation | Not established |
A passing local test demonstrates the behavior of the bundled reference adapter and its fixtures; it does not certify production security, observed outcomes or scientific validity.
15. Scientific and product references
- COSMIN methodology for outcome-measure evaluation — measurement properties and quality of evidence.
- WHO / ICF materials — functioning and contextual factors; use the current official publication relevant to your project rather than interpreting task counts as diagnoses.
- Study-specific ethics approvals, instrument manuals and study protocols must define admissible psychological measures and interpretation.
- ‘+link(‘README.md’,’Reviewed Catalyst Grit v2.0.0 source reference’)+’
16. Reporting boundary and next lesson
Report the operational definition, original observations, baseline rationale, sample/eligibility, evaluation date, missing observations, exclusions, source digests, rule version, interpretation alternatives and reviewer state. Keep private evidence separate from public documentation. Do not convert drafts into approved conclusions or individual milestones into ratings of character, eligibility or psychological resilience. Companion scientific-validation and developer-reference articles should test estimands, measurement validity, API contracts and release-specific behavior separately.
