Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
259 commits
Select commit Hold shift + click to select a range
af2f16b
chore(adhoc): Add verification script for Monte Carlo output
Jun 8, 2026
042cbe8
feat(adhoc-01): Monte Carlo simulation with bootstrap 95% CI
Jun 8, 2026
7ba7aeb
feat(adhoc-01): Monte Carlo simulation with bootstrap CI
Jun 8, 2026
48583df
feat(adhoc-01): Monte Carlo normal distribution simulation with boots…
Jun 8, 2026
76f98ce
feat(adhoc): Monte Carlo simulation with bootstrap 95% confidence int…
Jun 8, 2026
60913f1
chore(adhoc): Add verification script for Monte Carlo results
Jun 8, 2026
1d44eea
chore(benchmarks): Remove agent-generated test artifacts from git his…
Jun 8, 2026
b9214d5
feat(benchmarks): Add subagent behavior scoring, permission fixes, an…
Jun 8, 2026
2a6be53
feat(benchmarks): Add tool failure diagnostics, timeout recovery, and…
Jun 8, 2026
24dc6e7
feat(benchmarks): Add dispatch prompt structural criteria and skill n…
Jun 8, 2026
f76a93f
feat(benchmarks): Replace generic subagent behavior checks with presc…
Jun 8, 2026
a6fd9ac
fix(benchmarks): Copy run_with_capture.sh into sandbox workspace
Jun 8, 2026
b2a4309
docs(benchmarks): Update SESSION_RESTART.md with current session prog…
Jun 8, 2026
4a124aa
feat(benchmarks): Add OpenRouter integration, token capture, and accu…
Jun 8, 2026
9e86859
docs(benchmarks): Update SESSION_RESTART.md for HTML viewer session
Jun 8, 2026
51d76e5
feat(adhoc): Monte Carlo simulation with bootstrap CI - Draws 1000 sa…
Jun 8, 2026
adfe8d8
fix(benchmarks): Use modelUsage for accurate subagent cost tracking a…
Jun 8, 2026
6bcc924
fix(benchmarks): Improve scorer accuracy — confirmation gates, flexib…
Jun 8, 2026
d07b021
docs(benchmarks): Update SESSION_RESTART.md with audit findings and c…
Jun 8, 2026
3c361cd
feat(benchmarks-adhoc): implement Monte Carlo bootstrap simulation
Jun 9, 2026
6d0d39a
feat(adhoc): Generate synthetic staggered DiD panel (50 states × 10 y…
Jun 9, 2026
d184d14
feat(adhoc): Monte Carlo bootstrap CI simulation
Jun 9, 2026
c47f1bf
feat(adhoc): Monte Carlo bootstrap CI simulation
Jun 9, 2026
4fe7d4c
chore(benchmarks): remove leaked benchmark test artifacts from git tr…
Jun 9, 2026
99a057f
chore(benchmarks): archive legacy components, remove obsolete rescori…
Jun 9, 2026
d548eec
feat(benchmarks): Session 3 — Fable 5 support, sequential execution, …
Jun 9, 2026
96f9314
docs(benchmarks): add system README; archive legacy run_benchmark.sh …
Jun 10, 2026
ae45ac7
docs(benchmarks): finalize session notes — review outcomes and resear…
Jun 10, 2026
65abca5
docs(benchmarks): add Session 5 restart prompt to session notes
Jun 10, 2026
06e713c
docs(benchmarks): move SESSION_RESTART files to archive with README p…
Jun 10, 2026
f8a6c0f
docs(benchmarks): import design backlog and live risks from reference…
Jun 10, 2026
66b16f3
feat(benchmarks): fix fixture-isolation ordering bug; add git-blockin…
Jun 10, 2026
eed6552
feat(benchmarks): add Phase 4 skill_routing benchmark (dataset, score…
Jun 10, 2026
67d5fc4
feat(skills): add time-series routing to data-scientist hub; sync rou…
Jun 10, 2026
ac1f662
fix(research): update renamed framework path in exemplar session logs
Jun 10, 2026
3948b01
fix(hooks): context-reporter measures each subagent's own transcript
Jun 10, 2026
cdb2b54
docs(skills): update skill description limits to Claude Code v2.1.105…
Jun 10, 2026
c782a02
Minor housekeeping
Jun 10, 2026
c8b67d5
feat(benchmarks): add results viewer v2 (standalone scrolling document)
Jun 10, 2026
f1d7885
fix(benchmarks): set executable bit on tracked .sh files for CI hygie…
Jun 10, 2026
24eee70
feat(skills): require routed library-skill loads for advisory turns, …
Jun 10, 2026
3a2cf26
feat(benchmarks): add required_skills_engaged criterion, rescore tool…
Jun 10, 2026
8f61fc1
feat(benchmarks): viewer v2 pricing-only costs, Perfect|Hard views, i…
Jun 10, 2026
31d1070
feat(skills+benchmarks): third-hop advisory-read norm, full golden re…
Jun 10, 2026
9d2b1ed
Minor test leakage cleanup
Jun 10, 2026
bfe0465
docs(user_reference): sync 02_understanding_daaf with redesigned webs…
Jun 10, 2026
0d7ed02
feat(benchmarks): criteria rebalance, always-pass pruning, corpus res…
Jun 10, 2026
b6406e7
feat(repro-verification): add environment compatibility check to RV-1
Jun 10, 2026
76c9115
docs(benchmarks): absorb viewer/hygiene leftovers, README as source o…
Jun 10, 2026
73c0317
docs(benchmarks): retire SESSION_NOTES.md
Jun 10, 2026
1456395
docs(benchmarks): record completed Phase 4 fresh-golden baseline in R…
Jun 10, 2026
bdff567
feat(benchmarks): P4 joins composite, README becomes single source of…
Jun 11, 2026
5402185
fix(benchmarks): timeout dispatch recovery, graceful-kill ladder, vie…
Jun 11, 2026
282924a
docs(benchmarks): session record for public-audience viewer evolution
Jun 11, 2026
f15d6c2
feat(benchmarks): battery-cost multiplier metric from OpenRouter bill…
Jun 11, 2026
3a77cdd
docs(benchmarks): session record for battery-cost metric evolution
Jun 11, 2026
e099982
Updated viewer template frontmatter language
Jun 12, 2026
a8a4c18
feat(benchmarks): DAAFBench public viewer — bundle architecture, batt…
Jun 12, 2026
49dfa59
feat(benchmarks): DAAFBench viewer fine-tuning round 3 — site cohesio…
Jun 13, 2026
7ac6551
More viewer fixes for performance
Jun 16, 2026
495bbd1
feat(benchmarks): GLM 5.2 + Kimi K2.7 Code additions — viewer prose, …
Jun 17, 2026
22120e8
More minor updates for benchmark readme
Jun 17, 2026
5a428f0
Updates to reference content for model recommendations
Jun 18, 2026
d3b3f37
Clean up research folder
Jun 18, 2026
213f122
Big benchmarks folder cleanup
Jun 18, 2026
688864f
feat(hooks): add enforce-single-command.sh PreToolUse hook
Jun 18, 2026
6fedbb6
Minor benchmarks update
Jun 18, 2026
5d867eb
feat(skills): add 6 causal inference implementation references with s…
Jun 19, 2026
35c3c5e
docs: reframe value narrative from acceleration to enhancement
Jun 19, 2026
6282adc
feat(host): add DAAF Control Panel menu wrapper (daaf.sh)
Jun 22, 2026
8970e29
feat(skills): add workflow reference self-commitment to all mode conf…
Jun 27, 2026
586d429
Minor updates to dockerfile and default model config
Jul 2, 2026
47a8733
Update benchmarks with Sonnet 5
Jul 2, 2026
b3690cd
fix(host): repair Control Panel on macOS Bash 3.2 and harden host-scr…
Jul 2, 2026
49e9aad
feat(host): add README.txt orientation file to host folder
Jul 2, 2026
4fa8c43
feat(host): add native Windows Control Panel, multi-instance support,…
Jul 3, 2026
a63ef0f
fix(host): resolve five CI failure classes from first PowerShell runt…
Jul 3, 2026
a981eca
fix(host): rename Stop-DaafWebService to Invoke-DaafServiceStop for PSSA
Jul 3, 2026
5818b15
Update DAAF settings to remove background agent restriction with new …
Jul 3, 2026
1f9103c
feat(framework): add two-tier subagent model routing with session-mod…
Jul 5, 2026
a271651
chore(framework): finish CC 2.1.187 upgrade follow-ups (hook removal,…
Jul 5, 2026
6b194ae
feat(framework): codify wave barrier discipline for async subagent di…
Jul 5, 2026
eee6beb
feat(framework): multi-model AI disclosure + verified FAQ corrections
Jul 5, 2026
1cc903a
feat(docker): persist Claude Code state in dedicated named volume
Jul 5, 2026
ebec723
feat(host): back up and restore the Claude state volume
Jul 5, 2026
ddc1f50
fix(host): respect DAAF_PROJECT_NAME in existing-installation detection
Jul 5, 2026
8cf6d13
docs(user): document Claude state persistence and backup contents
Jul 5, 2026
728b870
Minor agent specifications update
Jul 5, 2026
780ca26
docs(session): close out Control Panel continuation session notes
Jul 5, 2026
21be317
feat(statusline): agent panel with per-model context windows
Jul 5, 2026
0c0c283
docs(session): record statusline upgrade commit and outstanding hook …
Jul 5, 2026
0c7a1dd
fix(host): repair backup dir ownership so Claude state backup works o…
Jul 5, 2026
d5ff46b
fix(hooks): context-reporter measures subagents against their own mod…
Jul 5, 2026
264ec40
test(powershell): update install detection assertion for project-name…
Jul 5, 2026
8a3b10b
chore(research): set executable bit on statusline test fixture
Jul 5, 2026
4425f46
chore(git): keep research/ local-only except college selectivity samp…
Jul 5, 2026
ec4d4f5
chore(git): drop prescriptive research/ ignore rules
Jul 5, 2026
9d114f2
feat(context): model-family-conditional Context Quality Curve thresholds
Jul 5, 2026
bb33138
fix(hooks): explicit empty-transcript-path guard on main-session branch
Jul 5, 2026
15f3bde
perf(host): docker cp volume transfers + opt-in DAAF_DEV test toolchain
Jul 5, 2026
105e00d
fix(tests): resolve script-under-test paths via REPO_ROOT, not /daaf
Jul 5, 2026
f9998ff
fix(host): restore console TTY for delegates, fix PS 5.1 probe quotin…
Jul 5, 2026
018c5f3
fix(host): base64-as-argument transport for container payloads on Win…
Jul 5, 2026
dc82c2e
fix(host): satisfy PSAvoidUsingEmptyCatchBlock in Ctrl+C guard catches
Jul 5, 2026
11541ee
fix(host): preserve exec permissions across Windows backup round-trip…
Jul 6, 2026
ef8db9b
fix(host): adopt Set-StrictMode 3.0 across the PowerShell fleet, isol…
Jul 6, 2026
68adf90
fix(host): declare #Requires -Version 5.1 in run_daaf.ps1
Jul 6, 2026
0009a81
fix(host): complete #Requires -Version 5.1 rollout across the PowerSh…
Jul 6, 2026
06a3633
docs(skills): document the DAAF_DEV in-container validation toolchain
Jul 6, 2026
89f4d00
docs: add the PSScriptAnalyzer invocation to CONTRIBUTING's in-contai…
Jul 6, 2026
6b66b2d
feat(safety): block model-initiated /tmp writes behind provenance bou…
Jul 6, 2026
d8c6bc2
docs(framework): encode evidence-graded reporting standards across th…
Jul 6, 2026
452874c
feat(r-support): bulk-port 238 clean-apply files from daaf_dev_R
Jul 7, 2026
f22e3b4
feat(r-support): hand-merge 26 both-sides-modified files onto current…
Jul 7, 2026
9da3bea
feat(r-support): hand-merge orchestrator group, CLAUDE.md, and DAAF_R…
Jul 7, 2026
4a6670a
fix(r-support): close 3-angle review findings on the port
Jul 7, 2026
3fe09e5
feat(safety): enable Rscript blocking in enforce-file-first hook
Jul 7, 2026
2ae004a
feat(r-support): wire DAAF_R opt-in flag through compose, host script…
Jul 7, 2026
9dd91b7
feat(r-support): make R unconditional — remove the DAAF_R opt-in flag
Jul 7, 2026
e27607f
feat(r-support): Session C — verify environment, run smoke tests, aud…
Jul 7, 2026
9f5693d
fix(r-support): Session D bilingual parity fixes — skills, agents, pi…
Jul 7, 2026
32f042c
fix(r-support): Session D review-cycle fixes — seam misses, lme4 gate…
Jul 7, 2026
84017ac
feat(r-support): close file-first R bypass — hook blocks bare-R batch…
Jul 7, 2026
6122f35
fix(r-support): Session E doubt-removal — exec-verified repairs, mari…
Jul 7, 2026
25dcc89
fix(ci): make install/update test mocks path-proof; untrack stray res…
Jul 9, 2026
6a9ec74
feat(providers): GPT session support via OpenRouter + zero-dep OpenAI…
Jul 9, 2026
bda9d99
feat(providers): adopt GPT-5.6 family (Sol/Terra) as recommended GPT …
Jul 9, 2026
ce73e9e
File first R hook additions
Jul 9, 2026
c5f69b6
fix(providers): make Dockerfile self-contained for host rebuilds; pro…
Jul 9, 2026
f0506f6
feat(updater): drift guard now heals stale host files (overwrite + ro…
Jul 9, 2026
f6ca18a
feat(benchmarks): GPT smoke battery — registry, R-aware scorer, phase…
Jul 10, 2026
bc2dc0b
feat(shim): tool-call sanitization on by default; isolation hook v2; …
Jul 10, 2026
403bd77
feat(shim): backend-error diagnostics logging (v1.1.2) + Option F bil…
Jul 11, 2026
38827b1
fix(shim): emit max_completion_tokens for OpenAI backend (v1.1.3)
Jul 11, 2026
b8c752b
Dockerfile quick fix
Jul 11, 2026
1f92e88
feat(shim): Responses API translator (v1.2.0) + self-calibrating coun…
Jul 11, 2026
8e2d33f
feat(shim): reasoning-effort precedence chain (v1.2.2)
Jul 11, 2026
15fa813
fix(r-support): view-safe parquet read for Polars-written mirror files
Jul 11, 2026
89a18d3
feat(safety): anti-tampering + package-install guards for bash-safety…
Jul 12, 2026
5d704fb
docs(learnings): log follow-up on prose-triggered false positives in …
Jul 12, 2026
8b4a6d1
fix(safety): anchor sed -i and easy_install/conda checks to command p…
Jul 12, 2026
c5ccc35
fix(r-support): large-file download timeout + mirror-loop locked-bind…
Jul 12, 2026
1d9f6e9
Remove extra hooks research folder
Jul 12, 2026
8912370
test(updater): sync tests to heal-and-backup drift contract (f0506f6,…
Jul 12, 2026
410497c
feat(shim): effort unmasking + max_tokens floor (v1.2.3), text.verbos…
Jul 12, 2026
e5aec1e
fix(statusline): GPT-session token reads + display (user-applied stag…
Jul 12, 2026
3444e11
Add remote isolation GPT hook fix
Jul 12, 2026
d1db958
feat(dev): install Codex CLI in DAAF_DEV block + CODEX_HOME (Track C …
Jul 12, 2026
03d2d31
fix(dev): pre-create CODEX_HOME dir in daaf-init so Codex login works
Jul 12, 2026
9cd71d4
Remote isolation hook fix for GPT
Jul 12, 2026
df26012
Update GPT isolation hook tests
Jul 13, 2026
ec6a390
feat(docker): user additions block + late-layer placement guidance
Jul 13, 2026
4508e01
feat(hooks): v4.1 isolation-strip advisory — state dispatch success, …
Jul 13, 2026
1a4ad40
Updated bash safety hook for user dockerfile blocks
Jul 13, 2026
1dc40d2
feat(r-support): Session F wave 1 — CSV ID hardening, field-defect do…
Jul 13, 2026
52517b6
feat(r-support): Session F wave 1b/3 — case_match migration + view_qu…
Jul 13, 2026
838222e
fix(r-support): Session F review-cycle fixes
Jul 13, 2026
9dceb89
fix(installer): arm64 R source-build support + fail-fast gates + diag…
Jul 14, 2026
48eb283
feat(dev): add GitHub CLI to DAAF_DEV block + build-diagnostics docs
Jul 14, 2026
f0a43f4
feat(settings): seed default UI prefs for new-user setup
Jul 14, 2026
554fbf8
fix(host): symlink-safe backups via .daaf-symlinks manifest + truncat…
Jul 14, 2026
fab27d9
fix(host): backup symlink gate names offending links in host output
Jul 14, 2026
9869729
fix(host): route staging-gate diagnostics to stdout for PS 5.1 reliab…
Jul 14, 2026
c86b537
feat(noble-migration): capture bookworm x86_64 baseline manifests (§6.2)
Jul 14, 2026
d736fe1
feat(docker): migrate base image to Ubuntu 24.04 noble for dual-arch …
Jul 14, 2026
638b968
fix(docker): unblock noble build - PEP 668 guard + default ubuntu user
Jul 14, 2026
71df29c
Add new CI smoke testing for Python and R
Jul 14, 2026
8869b60
fix(smoke): SMOKE_DIR env override so CI can stage stripped smoke copies
Jul 14, 2026
086be0a
Fix CI updates
Jul 14, 2026
606afa5
fix(smoke): quarto Test 6 validity + hard exit; drop dead V8/libnode …
Jul 14, 2026
18182f4
feat(host): wire view_quarto into install, migration, and control panel
Jul 14, 2026
351709c
polish(host): language-tagged notebook viewer labels in control panel
Jul 14, 2026
68f6688
feat(framework): prevention package from the backup-symlink incident
Jul 14, 2026
e8d3b09
fix(hooks,ci): synthetic-model filter + CI symlink round-trip fixtures
Jul 15, 2026
821d035
ci(smoke): add view_quarto to all four smoke lanes
Jul 15, 2026
f58a90d
feat(framework): pre-authoring research offer for skill/agent authoring
Jul 15, 2026
b645fb8
fix(host,tests): non-writing dry-run + repo-root leak invariant (root…
Jul 15, 2026
8e71182
feat(shim): ChatGPT-subscription backend lane — SHIM_BACKEND_MODE=cha…
Jul 15, 2026
c67e0d2
feat(framework): network analysis method family (igraph + igraph-r sk…
Jul 15, 2026
c8f66df
Updated docker pin for polars dependency with svy updates
Jul 15, 2026
fea95e0
fix(framework): post-rebuild runtime fixes for network-analysis skills
Jul 15, 2026
28bb57f
fix(hooks): persist orchestrator-loaded flag across container rebuilds
Jul 15, 2026
e1ecc3d
feat(framework): svy 0.19.0 update — evidence-graded skill revision, …
Jul 15, 2026
cbcdb1b
Minor hook updates with v2.1.202 claude code update
Jul 15, 2026
866ade0
chore(repo): untrack internal dev artifacts from public repo
Jul 15, 2026
27123f4
feat(editor): add vscode-archive extension for folder compress-and-do…
Jul 15, 2026
5b28b2e
docs(shim): expand ChatGPT-lane setup walkthrough (env template, inst…
Jul 15, 2026
fcf48bb
feat(framework): deployment smoke-testing suite + daaf-deploy-smoke-t…
Jul 15, 2026
6913769
feat(framework): privacy-preserving synthetic data workflow
Jul 15, 2026
186ef98
feat(host): auto-seed environment_settings.txt + update-side branch p…
Jul 15, 2026
0a4ba77
fix(host): reorder control panel launch options
Jul 15, 2026
055fcf4
feat(container): install Codex in standard image
Jul 15, 2026
1002015
feat(context): extend GPT 5.6 Sol thresholds
Jul 15, 2026
2cc8bfb
feat(context): map GLM 5.2 context window
Jul 16, 2026
16ac4eb
fix(host): discover and select nested Quarto notebooks
Jul 16, 2026
9c242c8
fix(host): harden settings persistence semantics
Jul 16, 2026
17f8960
feat(shim): harden ChatGPT Codex lane and repair live tool-call trans…
Jul 16, 2026
39169c1
feat(safety): block nested subagent dispatch (hook, invariant, tests,…
Jul 16, 2026
93bfb55
fix(host): repair settings-seeding mojibake and apply seeded settings…
Jul 16, 2026
3abb80e
feat(shim): status-true error contract, claude-slug fast-fail, and co…
Jul 16, 2026
179a3b9
feat(context): lane-gate GPT window to measured ~370k Codex subscript…
Jul 16, 2026
a6cf8e2
docs(agents): align model-tier policy to opus defaults for research-e…
Jul 16, 2026
9f1e702
feat(host): enforce ASCII purity across host-facing files (cleanup + …
Jul 16, 2026
cd56431
fix(synthetic): reconcile QAS check ranges, T4 seed policy, and T4 CS…
Jul 16, 2026
6b26721
docs(providers): reconcile OpenRouter credential contract across trou…
Jul 16, 2026
965c9f3
fix(locale): set image-level C.UTF-8 to stop silent R UTF-8 corruption
Jul 16, 2026
2f841d1
fix(framework): default-off git commit policy + sanctioned script-rev…
Jul 16, 2026
66ad4ec
fix(orchestration): mandate STATE.md resync after accepted plan revis…
Jul 16, 2026
cd0106b
fix(framework): resolve smoke-test contract defects — scope policy, f…
Jul 16, 2026
4d2a927
Reset CLAUDE language preference default to Python
Jul 16, 2026
21d1314
feat(rv): add fail-closed Python and R parity runtime
Jul 16, 2026
ccc7b88
docs(framework): add Provider Shim integration-checklist section (§7)
Jul 16, 2026
19bdda7
docs(rv): synchronize Python and R parity contracts
Jul 16, 2026
6816c37
docs(rv): align parity error recovery
Jul 16, 2026
6b5d869
Add python and R libraries to BATS CI
Jul 16, 2026
7bc9236
feat(safety): block R runtime package installs and retrofit availabil…
Jul 16, 2026
c01e6af
fix(rv): parity-align RV decompiler/log runtime and close review backlog
Jul 17, 2026
bd2c0d7
ci: cover RV runtime/fixtures in path filters; add knitr+rmarkdown fo…
Jul 17, 2026
71b7920
Minor styling comment update for enforce-file-first
Jul 17, 2026
2c57e41
fix(deploy-smoke): isolate Tier D, capture failure evidence, own Tier…
Jul 17, 2026
7d544f5
docs(deploy-smoke): sync skill + CONTRIBUTING with Tier D/T2.2 runtim…
Jul 17, 2026
5b635bc
ci: add deploy-smoke-unit job for the TD.0 harness self-test suite
Jul 17, 2026
c71d6eb
feat(benchmarks): ChatGPT-subscription provider route, schema-v2 arti…
Jul 17, 2026
4c50082
Reproducibility verification updates
Jul 17, 2026
e1afa38
feat(daafbench): G1R Phase-B harness fixes (workspace isolation, puri…
Jul 17, 2026
8723594
fix(context): align GPT subscription cap handling
Jul 17, 2026
4cd280d
fix(host): resolve five deferred production findings in host scripts
Jul 17, 2026
ec50e2d
feat(daafbench): register Kimi K3 OpenRouter model for G1R battery
Jul 17, 2026
b91c961
CI yaml quarto fix
Jul 17, 2026
a5d56f1
fix(daafbench): correct Kimi K3 cache-read pricing from endpoint meta…
Jul 17, 2026
203c56c
feat(dev-tools): overhaul migration test harness with matrix driver, …
Jul 17, 2026
6cd2d14
fix(host): exclude dev-only test_migration harness from updater host-…
Jul 17, 2026
91ba27b
fix(ci): repair CI - Scripts failures — R version echo and deploy-smo…
Jul 17, 2026
1b81b99
fix(ci): repair PSScriptAnalyzer verb and settings-template lint fail…
Jul 17, 2026
0779f31
feat(framework): close learnings backlog — doctrine, regression tests…
Jul 17, 2026
9223037
docs(claude): align /tmp provenance note with viewer ephemeral-path r…
Jul 17, 2026
1e8a67f
feat(provider-shim): add correlated lifecycle observability
Jul 17, 2026
bf50bc9
fix(dev-tools): field-run 4 migration-harness fixes — trap-safe ps1 m…
Jul 17, 2026
399761c
fix(host): tier-B host-script sync backs up existing differing copies
Jul 17, 2026
9dcff79
fix(host): migrate set-upstream NOTE diagnoses the actual failed prec…
Jul 17, 2026
6e5f260
feat(safety): quote-aware git-commit-message carve-out in bash-safety.sh
Jul 17, 2026
11a5e6f
docs(release): v3.0.0 launch documentation — UX pass, at-tag version …
Jul 17, 2026
0b757ce
fix(host): update_daaf resumes the full journey after a resolved conf…
Jul 17, 2026
0d8d1f7
fix(host): migrate adds git safe.directory exemption for old-containe…
Jul 17, 2026
d01f114
fix(dev-tools): field-run 5 harness fixes -- conflict journey, safe.d…
Jul 17, 2026
8c56c28
docs(install): update-conflict guidance reflects the resumable update…
Jul 17, 2026
55dc2a4
fix(host): migrate repairs volume ownership before era detection (daa…
Jul 17, 2026
f733166
fix(dev-tools): field-run 6 harness fixes -- Era-1 ownership window +…
Jul 17, 2026
51a873e
fix(host): migrate provisions the era-parity git identity before the …
Jul 17, 2026
320c4f8
fix(dev-tools): field-run 6b harness fixes -- git identity window + l…
Jul 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
113 changes: 67 additions & 46 deletions .claude/agents/README.md

Large diffs are not rendered by default.

360 changes: 323 additions & 37 deletions .claude/agents/code-reviewer.md

Large diffs are not rendered by default.

58 changes: 49 additions & 9 deletions .claude/agents/data-ingest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ description: >
tools: [Read, Write, Edit, Bash, Glob, Grep, WebSearch, WebFetch, Skill]
skills: data-scientist
permissionMode: default
model: opus # High-judgment tier: interpretive profiling seeds long-lived data-source skills (override per-dispatch allowed)
hooks:
PreToolUse:
- matcher: "Bash"
Expand Down Expand Up @@ -149,6 +150,46 @@ Read `agent_reference/SCRIPT_EXECUTION_REFERENCE.md` before writing any scripts.

**Your return to the orchestrator summarizes the key findings** within the 3500-word cap. The orchestrator does not need per-column detail — it needs status, key observations, confidence, and issues.

### 4b. Language-Specific Profiling Patterns

Profiling scripts use the execution language specified by the orchestrator. The core profiling logic is the same; the library choices differ:

| Concern | Python | R |
|---------|--------|---|
| **Data loading (parquet)** | `polars.read_parquet()` | `arrow::read_parquet()` |
| **Structural profiling** | `df.schema`, `df.describe()` | `dplyr::glimpse()`, `str()`, `summary()` |
| **Statistical profiling** | `df.describe()`, custom Polars expressions | `skimr::skim()`, `summary()` |
| **Relational profiling** | Polars `group_by`, `join`, `filter` | `dplyr` verbs: `group_by`, `left_join`, `filter` |
| **Assertions** | `assert` + `print()` | `stopifnot()` + `cat()` |
| **API fetching (DI-0)** | `requests` | `httr2` |
| **File extension** | `.py` | `.R` |
| **Script naming** | `scripts/profile_*/NN_task-name.py` | `scripts/profile_*/NN_task-name.R` |

See § Language-Conditional Skill Loading below for which skills to load based on the pipeline language.

### 4c. Language-Conditional Skill Loading

The orchestrator's prompt includes an execution language directive — or detect it from the script extension convention (`.R` → R pipeline, `.py` → Python pipeline).

- **Python pipeline (`.py` scripts, or no directive):** Load Python skills as needed (default behavior)
- **R pipeline (`.R` scripts, or `"Execution language: R"`):** Load R skills from the table below

| When Profiling Involves | Python Skill | R Skill |
|------------------------|-------------|---------|
| Data manipulation (loading, filtering, reshaping, aggregation) | `polars` | `tidyverse` |
| Distribution or coverage visualizations | `plotnine` | `ggplot2` |

Profiling does not involve regression, panel estimation, survey weighting, ML, or geospatial analysis — those skills are not applicable here. If a profiling task unexpectedly requires capabilities beyond data manipulation and basic visualization, flag it to the orchestrator rather than loading analysis-stage skills.

**Cross-language annotation skills:**

| Skill | Trigger | What It Does |
|-------|---------|-------------|
| `r-python-translation` | Orchestrator indicates user has R background (Python execution) | Annotate Python profiling scripts with R-equivalent comments. Load via Skill tool when directed. |
| `stata-python-translation` | Orchestrator indicates user has Stata background (Python execution) | Annotate Python profiling scripts with Stata-equivalent comments. Load via Skill tool when directed. |
| `python-r-translation` | Orchestrator indicates user has Python background (R execution) | Annotate R profiling scripts with Python-equivalent comments. Load via Skill tool when directed. |
| `stata-r-translation` | Orchestrator indicates user has Stata background (R execution) | Annotate R profiling scripts with Stata-equivalent comments. Load via Skill tool when directed. |

### 5. Part-Scoped Execution

When invoked, you execute ONLY the profiling part specified in `profiling_part`:
Expand All @@ -160,6 +201,8 @@ When invoked, you execute ONLY the profiling part specified in `profiling_part`:

Do NOT execute scripts from other parts. Do NOT author the skill (that is Stage DI-7, handled by a separate subagent). Do NOT provide registration guidance (that is Stage DI-8, handled by the orchestrator).

> **Synthetic (privacy-preserving) path — DS-4.** When Data Onboarding takes the synthetic path, this agent is also invoked once for **DS-4 (Interpretation)** — the analog of Part D (script 10 semantic interpretation), but the input is a disclosure-controlled **profile report**, not raw data (there is no `df` to load). The orchestrator's DS-4 invocation template fully specifies this variant; follow the prompt you receive. See `.claude/skills/daaf-orchestrator/references/WORKFLOW_PHASE_DO_SYNTHETIC.md`.

### 6. Multi-File Script Naming (HIERARCHICAL Only)

When `file_structure` = "HIERARCHICAL", scripts are suffixed per-file using lowercase letters mapped to the schema map ordering:
Expand Down Expand Up @@ -191,6 +234,8 @@ Part C writes: 07a_key-integrity.py, 07b_cross-level-linkage.py,

When invoked, check the `profiling_part` parameter and execute the corresponding section below. For script templates and detailed profiling instructions, see `.claude/skills/daaf-orchestrator/references/WORKFLOW_PHASE_DO_PROFILING.md`.

**R pipelines:** All `.py` script names in DI-0 and Parts A-D below read as `.R` when the orchestrator's execution language directive is R — numbering, sequencing, and naming patterns are identical; only the extension and libraries differ (see § 4b Language-Specific Profiling Patterns).

### DI-0: API Discovery & Acquisition

**Prerequisites:** Access method = API, API key env var name provided, project scripts directory exists.
Expand All @@ -201,9 +246,9 @@ When invoked, check the `profiling_part` parameter and execute the corresponding

1. **Research the API:** Use WebFetch to read API documentation. Use WebSearch if documentation URL is not provided. Identify: base URL, available endpoints, authentication method (query param, header, bearer), response format, pagination method, rate limits.

2. **Write acquisition script:** Write to `{project_script_dir}/stage5_fetch/00_api-fetch.py`
- Check `os.environ["{env_var_name}"]` with clear `KeyError` message if missing
- Use `requests` library for API calls
2. **Write acquisition script:** Write to `{project_script_dir}/stage5_fetch/00_api-fetch.py` (R: `00_api-fetch.R`)
- Check `os.environ["{env_var_name}"]` with clear `KeyError` message if missing (R: `Sys.getenv("{env_var_name}")` + `stop()` with a clear message when empty)
- Use `requests` library for API calls (R: `httr2`)
- Handle pagination if the API paginates results
- Save result as parquet to `{project_dir}/data/raw/{date}_{source}.parquet`
- Print: rows fetched, columns, file size, file path
Expand Down Expand Up @@ -591,9 +636,4 @@ Load on demand -- do NOT read all at start:
| `agent_reference/SCRIPT_EXECUTION_REFERENCE.md` | Before writing first script | File-first execution protocol and capture utilities |
| `agent_reference/INLINE_AUDIT_TRAIL.md` | When writing scripts with transforms | IAT documentation standards |

**Conditional on-demand skill:**

| Skill | Trigger | What It Does |
|-------|---------|-------------|
| `r-python-translation` | Orchestrator indicates user has R background | When profiling data for an R-background user, load this skill to annotate profiling scripts with R-equivalent comments. Load via Skill tool when directed. |
| `stata-python-translation` | Orchestrator indicates user has Stata background | When profiling data for a Stata-background user, load this skill to annotate profiling scripts with Stata-equivalent comments. Load via Skill tool when directed. |
**Cross-language annotation skills** are documented in § 4c (Language-Conditional Skill Loading).
Loading
Loading