|
1 | 1 | # psyflow change log |
2 | 2 |
|
| 3 | +## 0.1.17 (2026-03-02) |
| 4 | + |
| 5 | +### Summary |
| 6 | +- Added enforceable localization-safe runtime policy so participant-facing text is config-driven, not hardcoded in `src/run_trial.py`. |
| 7 | + - Extended responder-context contract with hardcoded-text guards (`TextStim/TextBox` literal text, `.setText('...')`, and `.text='...'` assignment checks). |
| 8 | + - Implemented AST-based checks in `psyflow/validate.py`. |
| 9 | +- Added a new reference-artifact contract: |
| 10 | + - `psyflow/contracts/v0.1.0/reference_artifacts.yaml` |
| 11 | + - wired into contract `manifest.yaml` |
| 12 | + - validator now checks required reference files, required headings/table columns, and `references.yaml` required keys/paper fields. |
| 13 | +- Updated contract docs/patterns to reflect localization + reference-artifact standards: |
| 14 | + - `psyflow/contracts/v0.1.0/README.md` |
| 15 | + - `psyflow/contracts/v0.1.0/run_trial_pattern.md` |
| 16 | +- Upgraded `skills/task-build` to align with these standards: |
| 17 | + - updated `SKILL.md` with config-first localization and reference-artifact schema requirements; |
| 18 | + - added `references/reference_artifact_contract.md`; |
| 19 | + - added mapping templates: |
| 20 | + - `assets/templates/parameter_mapping_template.md` |
| 21 | + - `assets/templates/stimulus_mapping_template.md` |
| 22 | + - strengthened `scripts/check_task_standard.py` and `scripts/build_reference_bundle.py` to emit/check standardized reference artifact formats. |
| 23 | +- Expanded validator regression coverage in `tests/test_validate.py`: |
| 24 | + - minimal compliant fixture now includes full reference artifacts; |
| 25 | + - added failure test for hardcoded participant-facing runtime text. |
| 26 | + |
| 27 | +### Validation |
| 28 | +- `python -m py_compile psyflow/validate.py skills/task-build/scripts/check_task_standard.py skills/task-build/scripts/build_reference_bundle.py` passed. |
| 29 | +- `python -m unittest -q tests.test_validate` passed. |
| 30 | + |
3 | 31 | ## 0.1.16 (2026-02-24) |
4 | 32 |
|
5 | 33 | ### Summary |
|
0 commit comments