← Về thư mục
scripts/ars_write_scope_guard.py
- _normalize_target · function · L111-L146 — def _normalize_target(raw_path, cwd, workspace_root)
- _match_segments · function · L149-L189 — def _match_segments(path_segs, pat_segs)
- _matches_any · function · L192-L219 — def _matches_any(rel_path, globs)
- _infra_protected_target · function · L222-L261 — def _infra_protected_target(raw_path, cwd, plugin_root)
- _allow_unconstrained · function · L264-L274 — def _allow_unconstrained(agent_type)
- _extract_structured_target · function · L277-L285 — def _extract_structured_target(tool_input)
- evaluate_decision · function · L288-L417 — def evaluate_decision(payload, manifest, workspace_root, plugin_root=None)
- render_hook_output · function · L420-L438 — def render_hook_output(decision)
- _load_manifest · function · L441-L445 — def _load_manifest()
- main · function · L448-L502 — def main()