property-research/AGENTS.md

62 lines
3.7 KiB
Markdown

# Property research workspace
## Purpose and layout
This repository records candidate properties Alex is considering, the buying
requirements, and the evidence and analysis associated with each candidate.
It is a data/research repository hosted on the house Forgejo.
- `requirements.md`: buyer goals, decision gates, and current research priorities.
- `properties/<stable-property-id>/`: listing inputs, manifests, assessments,
boundaries, source evidence, imagery, terrain, GIS exports, and HTML reports.
Keep the same ID as research develops; an unverified candidate may initially
have only listing input and research-status files.
- `archive/`: retained project history and diagnostics with provenance.
- `evaluations/`: ignored local tool/skill benchmarks, not canonical evidence.
- `README.md`: entry point and candidate index; update it when adding candidates.
Track property data and generated research deliverables, including JSON,
GeoJSON, HTML, screenshots, imagery, GeoTIFFs, and source archives. Do not ignore
these formats globally. Keep credentials, browser sessions, dependencies, and
temporary runtime files out of Git. Preserve existing evidence and user edits.
## Research practice
- Read `requirements.md` before evaluating a property.
- Reusable code and skills live in `../house-search-tools/`; keep this project
for property inputs, evidence, reports, and research notes.
- Reuse cached evidence and the persistent visible browser. Pause on robot
checks for user confirmation, and leave the browser open afterward.
- Keep findings concise. Deliver HTML reports with referenced areas linked to
map highlights, plus versioned GIS JSON for downstream tools.
- Preserve provenance, source dates, units, uncertainty, and distinctions between
verified measurements, derived values, and interpretation.
- An address is not a boundary. Soil ratings do not establish a passing perc test.
- Use the tool project's commands with its directory as the working directory,
or `npm --prefix ../house-search-tools run ...` with absolute input paths.
## Git and Forgejo workflow
- Canonical repository: `http://chonkers:2112/alex/property-research`.
- Remote `origin`: `ssh://git@chonkers:2222/alex/property-research.git`.
- Default branch: `main`. Hosting is internal Forgejo only; do not create a
GitHub mirror. Visibility is public on that Forgejo instance.
- Infrastructure record: `../trikilli/services/property-research.md`.
- Commit or push when the user requests it. Before committing, inspect
`git status --short --branch`, `git diff`, and `git log --oneline -10`.
Review untracked files too, including binary sizes and accidental credentials.
- Stage explicit paths belonging to the task. Review `git diff --cached --stat`
and `git diff --cached`; run `git diff --cached --check`. Keep unrelated work
out of the commit. Use concise, descriptive commit messages naming the
property or research change.
- Validate changed property manifests using the sibling tool project, and
check report/data links when changing deliverables. Do not regenerate every
report merely to make a documentation commit.
- Before pushing, verify `git remote -v`, fetch `origin`, and inspect divergence.
Push with `git push origin main` (initial push: `git push -u origin main`).
If the remote advanced, reconcile deliberately; never force-push, reset away
user work, or amend published history without explicit user instructions.
- Use the existing SSH identity/agent. Never put tokens in remote URLs,
committed files, command output, or documentation.
- After pushing, verify the remote branch matches local HEAD and report the
commit and repository URL. Keep the Trikilli record current if hosting changes.