Case Onboarding Template
This guide defines the minimum assets needed to onboard a new forest management unit (FMU) or custom-boundary case into FEMIC.
Template Files
Run profile template:
config/run_profile.case_template.yamlRebuild spec template:
config/rebuild.spec.yamlRebuild allowlist template:
config/rebuild.allowlist.yamlRebuild runbook placeholder:
runbooks/REBUILD_RUNBOOK.mdTIPSY parameter starter template:
config/tipsy/template.case.yaml
Onboarding Workflow
Initialize an instance workspace (if not already done):
femic instance init
Maintainer in-repo reference workspace:
cd instances/reference
Copy run-profile template:
cp config/run_profile.case_template.yaml config/run_profile.<case>.yaml
Set case identity:
For FMU/code mode: set
selection.tsa.For custom boundary mode: set
selection.boundary_path,selection.boundary_layer, andselection.boundary_code.
Copy TIPSY template:
cp config/tipsy/template.case.yaml config/tipsy/tsa<code>.yaml
The current compatibility filename contract still uses the legacy
tsa<code>.yaml/tsak3z.yamlpattern even when the case is a non-TSA FMU.Validate and customize rebuild control files:
update
config/rebuild.spec.yamlwith case-specific step/invariant thresholds,update
config/rebuild.allowlist.yamlfor intentional baseline drift,record operator notes in
runbooks/REBUILD_RUNBOOK.md.
Fill TIPSY rule metadata and rule assignments using local TSR/FSP evidence.
Validate config before running:
femic tipsy validate --config-dir config/tipsy --tsa <code>
Run single-command case preflight:
femic prep validate-case --run-config config/run_profile.<case>.yaml
Dry-run and compile:
femic run --run-config config/run_profile.<case>.yaml --dry-run femic run --run-config config/run_profile.<case>.yaml
Source-checkout equivalent:
PYTHONPATH=src python -m femic prep validate-case --run-config config/run_profile.<case>.yaml
Required Input Checklist
Boundary and inventory:
Case boundary geometry path exists and is readable.
VRI input source path exists and has required fields.
FEMIC runtime:
femic --helpsucceeds.wineand VDYP assets are available for non-resume upstream runs.
TIPSY handoff:
Case TIPSY YAML exists and validates.
BatchTIPSY fixed-width column mapping is known and stable.
Post-run QA:
Strata diagnostics generated.
VDYP fit diagnostics generated.
Managed vs untreated overlay diagnostics generated after post-TIPSY stage.
Acceptance Criteria for Onboarded Case
Upstream run finishes with manifest and run-scoped logs.
BatchTIPSY handoff files are generated and parseable.
Post-TIPSY bundle compiles without missing AU/curve mapping failures.
Export commands complete for target downstream platform(s).
K3Z Example Instance Baseline
Use the canonical K3Z example instance repository when you need a known-good full payload baseline:
https://github.com/UBC-FRESH/femic-k3z-instancelinked in FEMIC at
external/femic-k3z-instance
From a FEMIC checkout:
git submodule update --init --recursive
To pull latest K3Z baseline updates:
git submodule update --remote external/femic-k3z-instance
TSA29 Example Instance Baseline
Use the canonical TSA29 example instance repository when you need a current, student-usable baseline with rebuild/evidence wiring:
https://github.com/UBC-FRESH/femic-tsa29-instancelinked in FEMIC at
external/femic-tsa29-instance
From a FEMIC checkout:
git submodule update --init --recursive
To pull latest TSA29 baseline updates:
git submodule update --remote external/femic-tsa29-instance
Working With a Local Coding Agent
If the onboarding workflow will be driven from VS Code with a local coding agent in the same checkout, read this guide before assigning larger rebuild or instance-maintenance tasks:
docs/guides/vscode-coding-agent-onboarding.rsthttps://github.com/UBC-FRESH/codex-local-file-link-patch(Windows VS Code/Codex recovery when local file links are broken)
That guide explains the expected planning, supervision, and validation loop for agent-assisted FEMIC work.