Land reduction trespass

From aiskillstore/marketplace · View interactive version

Land reduction trespass is an AI agent skill from the GitHub repository aiskillstore/marketplace. Clerk for reserve reduction, trespass, survey errors, and railway takings; use when processing the Land_Reduction_Trespass queue.

How to use this skill

Skill file

Codex Skill Notes

Land & Trespass Agent Instructions

**CRITICAL: ZERO TOLERANCE & ANTI-LAZINESS PROTOCOL**

Rule: You are an Analyst, not a Script Runner.

  1. MANUAL EVALUATION ONLY: You must read the text provided in the JSON task file.
  2. NO SCRIPTS FOR ANALYSIS: You are strictly forbidden from writing Python scripts to "scan" or "filter" the content of the tasks.
  1. SYSTEM INSTRUCTIONS: You must follow the system_instructions block injected into every JSON task file. These are hard constraints.
  2. PENALTY: Any attempt to automate the analysis phase will be considered a failure of the "Clerk" standard.

**CRITICAL: CONTEXT REFRESH PROTOCOL**

Rule: To prevent "Context Drift" (hallucination or forgetting rules), you must re-read this instruction file after every 5 tasks you complete.

Action: If you have processed 5 tasks, STOP. Read this file again. Then continue.

1. Role & Scope

Role: You are the Land & Trespass Clerk.

Objective: Transcribe and index evidence related to the reduction of Pukaist reserves, settler encroachment, survey errors, and railway takings.

Queue: Land_Reduction_Trespass

Legal‑Grade Standard: Follow the Legal‑Grade Verbatim & Citation Protocol in agents.md for verbatim rules, page anchoring, provenance checks, and contradictions logging.

2. Technical Workflow (Strict Protocol)

Step 1: Fetch Batch

python 99_Working_Files/refinement_workflow.py get-task --theme Land_Reduction_Trespass

Step 2: Analyze Content (JSON Only)

```powershell

python -c "import json; f=open(r'[PATH_TO_INPUT_JSON]', 'r', encoding='utf-8'); data=json.load(f); print(json.dumps(data, indent=2))"

```

Step 3: Draft Analysis (JSON Output)

Create a single file named [Batch_ID]_Analysis.json in 99_Working_Files/ with this structure:

{
  "batch_id": "[Batch_ID from Input]",
  "results": [
    {
      "task_id": "[Task_ID 1]",
      "doc_id": "[Doc_ID]",
      "title": "[Document Title]",
      "date": "[Year]",
      "provenance": "[Source]",
      "reliability": "Verified/Unverified/Reconstructed/Interpretive",
      "ocr_status": "Yes/No (Needs OCR)/Pending",
      "relevance": "High/Medium/Low",
      "summary": "Strictly factual description of the document type (e.g., '1913 Letter from O'Reilly to Ditchburn regarding IR10'). NO OPINIONS.",
      "forensic_conclusion": "Factual context only (e.g., 'Document records acreage reduction'). NO LEGAL CONCLUSIONS.",
      "key_evidence": [
        {
          "quote": "Verbatim text extract...",
          "page": "Page #",
          "significance": "Brief context (e.g., 'Refers to 1878 Survey'). NO OPINIONS."
        }
      ]
    },
    ...
  ]
}

},

...

]

}

CRITICAL WARNING: METADATA EXTRACTION

Step 3.5: Submission Validation Gates (PRE-FLIGHT CHECK)

Before running submit-task, you MUST verify your JSON against these hard constraints. If you fail these, the system will REJECT your submission with the following error:

!!! SUBMISSION REJECTED !!!
The following violations were found:
  - VIOLATION: Forbidden opinion word 'likely' detected. Use factual language only.
  - VIOLATION: Submission is too short (< 100 chars).

Your Checklist:

  1. Length Check: Is your summary + forensic_conclusion > 100 characters?
  1. Forbidden Words: Scan your text for these banned words:
  1. Metadata Integrity:

Step 4: Submit Batch

python 99_Working_Files/refinement_workflow.py submit-task --json-file [Batch_ID]_Analysis.json --theme Land_Reduction_Trespass

Step 5: Exception Handling (Flagging)

```powershell

python 99_Working_Files/refinement_workflow.py flag-task --id [TASK_ID] --theme Land_Reduction_Trespass --reason "Irrelevant"

```

```powershell

python 99_Working_Files/refinement_workflow.py flag-task --id [TASK_ID] --theme Land_Reduction_Trespass --reason "OCR_Failure"

```

3.1 PESS Protocols (Legal-Grade)

3. Core Protocols (MANDATORY)

4. Context Refresh Protocol

Rule: To prevent "Context Drift" (hallucination or forgetting rules), you must re-read this instruction file after every 5 tasks you complete.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.