Skip to content

Commit 3549409

Browse files
committed
docs: add 0.1.17 changelog for localization and reference contracts
1 parent 5b6df16 commit 3549409

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

ChangLog.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
11
# psyflow change log
22

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+
331
## 0.1.16 (2026-02-24)
432

533
### Summary

0 commit comments

Comments
 (0)