현재 작업 전체 반영

This commit is contained in:
Yun Chan 2026-06-27 16:08:41 +09:00
parent 5560638e54
commit c0dddab594
85 changed files with 11322 additions and 539 deletions

View file

@ -140,8 +140,29 @@ Blocked fields:
## Operator Commands
Generate the export only through an approved read-only reporting job. Until that job is
implemented, use the manifest as a contract and mark exports `technical_dry_run`.
Generate the export through the read-only dry-run exporter unless the data steward has
approved writing `ds.*` rows. The default output is `technical_dry_run`; do not use
`approved_for_recursive_learning_seed` unless consent, withdrawal, PII, legal/privacy,
and IAA gates are all complete.
Read-only dry-run export:
```powershell
$dbUrl = (Get-Content apps\api\.env -Encoding UTF8 | Where-Object { $_ -match '^DATABASE_URL=' } | Select-Object -First 1) -replace '^DATABASE_URL=', ''
python scripts\export-recursive-dataset.py --database-url $dbUrl --output-root $root --limit 1000
```
Optional dataset table write for reviewer/gold workflow:
```powershell
python scripts\export-recursive-dataset.py --database-url $dbUrl --output-root $root --write-dataset
```
Approved export is blocked unless all gates are present:
```powershell
python scripts\export-recursive-dataset.py --database-url $dbUrl --output-root $root --export-status approved_for_recursive_learning_seed --allow-approved
```
Validate artifact presence and headers:
@ -172,4 +193,3 @@ Get-FileHash "$root\03-export\anonymized_dataset.jsonl" -Algorithm SHA256
- [ ] PII scan report is attached or referenced.
- [ ] Agreement metrics match `02-measures/kpi_report.json`.
- [ ] Export limitations state whether the file is gold data or a dry-run seed.