topos_assess_worktree_change
Compare an edited working-tree file against a git baseline to assess structural quality changes during refactoring.
Instructions
Assess an in-place edit against a git revision — the common refactor
loop.
Stateless: the baseline is read from git (git show <baseline_ref>:<path>, default HEAD) and compared to the current
working-tree file. No prior call required. For untracked/new files
or an uncommitted pre-edit baseline, use topos_begin_refactor +
topos_assess_snapshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| allow | No | One-off acknowledged dangerous-call patterns. | |
| filepath | Yes | Edited file path. | |
| preferences | No | Optional generator ranking. | |
| baseline_ref | No | Git baseline ref. | HEAD |
| gitnexus_dir | No | ||
| include_security_findings | No | Include SECURE findings. |