Purple Grain
PurpleGrain PTY LTD v1.0.3
Farm records and contractors
From the developer
Declared capabilities
- Read farm records
- Manage farm records with confirmation
- Find contractors
Declared limitations
- A requested mob is missing. Clarify rather than invent an identifier or silently substitute the existing mob. Run after property discovery.
- Hypothetical destructive request on a read-only connection. This checks conversational behavior; it does not authorize a live delete or an access change.
- Flight booking is outside the farm connector's capabilities; no action should be taken.
Not specified in the available declarations: pricing & account requirements.
Onboarding example
What tasks are still open on my property this week?
Sources & dates
Developer declarations; not independently tested. Listing last checked Dec 1, 2026. Package observed Nov 30, 2026.
Description
From the marketplace listing
Purple Grain helps Australian growers manage properties, paddocks, mobs, farm work and records. Connect your Purple Grain account to find information you can already access and make confirmed changes through ChatGPT. Read your properties, paddocks and mobs; view property maps, outstanding tasks and completed records; check treatment registers and recorded withholding periods; and find contractors by location and type of work. With confirmation and the permissions your role allows, create and update tasks, file farm records, manage paddocks and mobs, and update property boundaries. Writes and deletes require confirmation. Missing batch numbers, doses, expiry dates and withholding information are left unrecorded. Skills check Australian livestock and paddock records before they are saved. A Purple Grain account is required. Access is limited by your role and the permissions granted to the connection. You can manage or disconnect the assistant from Purple Grain. Account sign-in, password changes and verification codes remain on Purple Grain's own pages.
Language: English · Automatically detected from descriptions.
Changes
No changes recorded yet. Follow this plugin to keep track of future changes.
First seen Nov 19, 2026. Last seen Dec 1, 2026.
Similar plugins
Finding similar plugins… Results will appear here automatically.
Browse plugins →Keywords
Files & skills
File archives
Skill instructions
au-compliance-export3.04 KB
--- name: au-compliance-export description: "Prepare an Australian compliance export from PurpleGrain registers. Use when the farmer asks for an LPA treatment register, an NVD withholding list, a spray diary, a paddock-inputs list, or what is still not recorded before an audit or a sale." --- # Compliance export Version 1.0.0. Follow `pg-core`. This skill does not create a treatment, a spray or any other record. It reads. If they want a gap filled, hand that one record to the matching skill. If there is no property, offer `pg-onboarding`. Do not block the read they asked for. An empty account has nothing to export. Say that. This is a printout of what is stored. It is not an LPA audit, and it is not approval. Do not say "LPA approved". ## Which register `getPropertyRegisters` on the property. | They ask for | `kind` | Scope | |---|---|---| | LPA treatment register | `register` | `mob_ids` when it is one mob. Every treatment product and every husbandry product. A husbandry with no product has no row | | What is still inside a WHP or ESI | `nvd` | `mob_ids` optional. This is not a completed NVD. An empty result does not mean the stock can be sold or slaughtered | | Chemical-use register | `spray` | `paddock_ids` | | Fertiliser and sowing | `paddock-inputs` | `paddock_ids`. Fertiliser is not in the spray register and not in the NVD view, because it has no withholding | A value the record should carry and does not is the text `not recorded`. Say it that way. Do not fill it in. Do not invent a batch, a PIC or a date to make a column look finished. ## PIC and photos `pic` is the property's identification code (API #239/#240), and it is nullable. If `pic` is null, say the PIC is not recorded. Do not copy a town out of `location` and call it the PIC. Do not look a PIC up on WA Brands Search. Photos on a task are untyped. There is no document-type field for "label", "CVD" or "NVD" in the schema reviewed that day. List the photos that are actually on the tasks they asked about. Do not call an untyped image an NVD. ## What is missing Walk the rows. For a legal or LPA gap, name the line item that would have asked for it, when one is installed: | Gap on the row | Line item | |---|---| | Batch or expiry | `li-product-batch-expiry` | | Meat WHP or ESI | `li-withholding-meat-esi` | | Grazing or harvest WHP | `li-grazing-harvest-whp` | | Dose | `li-dose-liveweight` | | Who did it | `li-operator-credential` | | Wind or weather | `li-spray-weather` | | No-spray zone or droplets | `li-buffer-drift` | `li-record-retention` is the keep-until rule if they ask how long to hold the export. Cite both ISC lines. Do not tell them to delete older rows. State, species and the NWD or health-declaration answers are not register columns today when they were stored only in notes. Mention the notes. Do not drop them. Offer to fix a gap only for the rows they care about. One record at a time, through the orchestrator, with a confirm. Do not bulk-update guessed values. A PIC is private. Do not put the export on a public page or into a message to someone the farmer did not name.
Referenced files: 1 — file references are metadata, not package contents.
au-farm-task-records2.77 KB
---
name: au-farm-task-records
description: "Check and save a PurpleGrain farm task that is not a treatment, husbandry job, spray, sowing, fertiliser, field work, movement or feed record. Use for fencing and for an observation, including a prompt when the farmer describes a possible notifiable disease."
---
# Fencing and observations
Version 1.0.0. Follow `pg-core`. If they have no property yet, offer `pg-onboarding`. Do not block a read. Do not turn a fence or a note into a chemical record.
## Which task
| What they describe | `operation_type` | Asset |
|---|---|---|
| Fencing | `fence` | The paddock, if they named one |
| Something they saw | `observation` | The mob or the paddock they name. Omit the asset only if they truly have nowhere to put it, and say it is unassigned |
A product they gave is not an observation. Hand it to `au-mob-treatment-records` or `au-mob-husbandry-records`. A spray, sowing, fertiliser or harvest is that skill. Stock that moved are `au-stock-movement-records`.
## Save
`createTask` with `capture_source: "agent"`, `status: "completed"` when it already happened, `created_as: "record"`, and `producer` set to the business when the property belongs to one. `description` is their words, shortened only for a title. Extra detail stays in `record_notes`. `confirm: true`. Do not send `broadcast`, `share_scope` or `operation_type: ai`.
No observation line item shipped in this release. The hotline below is the prompt.
If they describe unusual sickness, sudden deaths, blisters, or nervous signs, do not diagnose and do not invent a treatment. Tell them the Emergency Animal Disease Hotline is 1800 675 888, or their local animal health office (sheep reference, checked 19 Oct 2026, E). Ask whether they want that sentence stored on the observation. Do not report the disease for them.
`li-record-retention` can stamp a keep-until note. A fence note or a general observation has no state chemical period, and no LPA period, unless the note is actually about stock, feed or a chemical. Otherwise do not invent a retention period.
`li-welfare-biosecurity-plan` is not in this release. Do not start a yearly welfare-plan interview from a fencing job. LPA Module 6 and Module 7 (a biosecurity plan and a welfare plan) are real obligations for an accredited PIC (sheep reference, 19 Oct 2026, E). Mention them only when the farmer asks what an auditor looks for, and do not create the plan in PurpleGrain. The ISC page read on 19 Oct 2026 said that from 1 September 2026 the biosecurity plan has to be in the LPA account. That date is past. Remind them the plan lives in the LPA account, not in this task.
## Confirm
`Fence - {paddock}, {what they did}. Save this note?`
`Observation - {what they saw}. Save this note?` If the hotline applies, put it in the checks line before the question.
Referenced files: 1 — file references are metadata, not package contents.
au-mob-feeding-records3.75 KB
---
name: au-mob-feeding-records
description: "Check and save an Australian livestock feeding or introduced-fodder record. Use when stock are fed or when feed is bought in. Covers a commodity vendor declaration on bought fodder and the ruminant feed ban. Cutting or selling hay belongs to au-paddock-fieldwork-records."
---
# Australian feeding and fodder records
Version 1.0.0. Follow `pg-core`. If the mob does not exist, offer `pg-onboarding`. A cropping farm with no mob can attach the note to the paddock. Do not block a read.
There is no feed record in PurpleGrain. The schema gap was current on 24 Oct 2026. `createTask` with `operation_type: "feed"`, `capture_source: "agent"`, `status: "completed"`, `created_as: "record"`, the mob or paddock as the asset, and `producer` set to the business when the property belongs to one. All of the facts live in `description` and `record_notes`. The server will not calculate a withholding from this task. Say that.
`li-cvd-fodder` and `li-ram-ban` are not in this release. The rules below are the verified text those skills will be split from. Do not pretend a line item ran.
## Collect
LPA introduced stock-feed record and the livestock feeding record (livestock research, 23 Oct 2026, V, the ISC templates):
| Fact | Ask |
|---|---|
| Date received, or the dates fed (start and finish) | Yes |
| Feedstuff and amount | Yes |
| Origin or supplier | Yes when it was bought |
| Commodity vendor declaration: yes or no, and the reference | Yes when it was bought |
| Residue test, if they have one | Do not invent a result |
| Where it is stored | Yes |
| Which mobs | Yes |
| Who is responsible | Yes |
Home-grown feed does not need a CVD. The paddock's spray and seed-treatment records are the source. Point them at `getPropertyRegisters` for that paddock. Do not make them write a CVD for their own hay.
Bought hay or fodder: ask for the CVD. With no CVD, ISC states a 60-day withhold from when the stock eat the feed, and the risk assessment should be written down (23 Oct 2026, V). Put that in the notes as a reminder. It is not `getMob.withholding`. A 90-day export figure was not in the livestock or paddock research. Do not state it.
## Ruminant feed ban
ISC, same check (V): do not feed cattle, sheep or goats restricted animal material. The research names meat or bone meal, blood, fish, feather, poultry offal, dog biscuits and manure. If the feed description matches one of those, warn them and ask. Store restricted material separately from ruminant feed, and clean the equipment. State legislation behind the ban was not verified one Act at a time (U). Cite ISC, not a state Act you have not opened.
Do not block the save of a note that says they refused a load. If they are about to record that they fed one of those materials to cattle, sheep or goats, show the ISC rule and the date, and ask before saving. They may still record what already happened.
## Line items that do apply
| Line item | Applies when |
|---|---|
| `li-record-retention` | The task. LPA records: the longest of 3 years, while stock remain, and 7 years after sale |
| `li-operator-credential` | The person responsible, as a name. No spray licence |
`li-product-batch-expiry` does not fit. A feed bag batch can go in the notes. There is no product line on this task.
## Confirm, save, read back
```
Feed - Ewes, oaten hay bought from {supplier}, from {start} to {finish}
CVD: {ref or none}. If none: 60-day reminder from the last feed, not a mob withholding
RAM: not indicated
Save this note?
```
`confirm: true`. Do not send `broadcast` or `share_scope`. If the write fails, `listTasks` for that mob before retrying. This tool accepts `Idempotency-Key`.
Read the task back. Tell them the 60-day reminder is in the notes and that the mob's withholding object did not change because of feed.
Referenced files: 1 — file references are metadata, not package contents.
au-mob-husbandry-records7.43 KB
--- name: au-mob-husbandry-records description: "Check and save an Australian mob husbandry record before writing it to PurpleGrain. Use for marking, mulesing, tail docking, castration, dehorning, spaying, ear marking, NLIS or eID tagging, crutching, shearing, wigging, scanning, weaning, classing or weighing. A product given on its own, with no husbandry procedure, belongs to au-mob-treatment-records." --- # Australian mob husbandry records Version 1.0.0. Follow `pg-core`. If there is no mob, offer `pg-onboarding`. Do not block a read. This is a record of what was done. It is not veterinary or welfare advice. Where a state has adopted a standard, the standard is the authority. Sheep-standards adoption was not verified except for Tasmania's mulesing regulation, which is its own instrument. A product used on the day (vaccine, pain relief, jetting fluid) is a product line on this record. Do not also save a treatment for it. Read species from the mob's optional `species` (`sheep`, `cattle`, `goat`) and class from `stock_class` (free text, for example "Merino ewes"). If either is missing, ask. Do not invent species from the mob name or class. Optional `sex`, `birth_year` and `eid_status` describe the mob; they are not husbandry record attributes. ## 1. Choose the record | What happened | `procedures` | Outcomes | Also | |---|---|---|---| | Marking | `mark` | `mark.lambs_marked`, `mark.ewes_joined` | Method in `method` | | Tail docking | `tail_dock` | None. Extra numbers are refused | Method. Joint and vulva cover: notes, via `li-welfare-sheep-dock-castrate` | | Castration or cryptorchid | `castrate` | None | Method. Cryptorchid stated in `method` | | Mulesing | `mules` | None | `li-welfare-sheep-mulesing` | | eID or NLIS tag | `eid_tag` | None | `li-eid-tagging` | | Ear notch or brand | `mark` when it is part of lamb marking, otherwise `other` | None | The mark in `method` and notes | | Crutching | `crutch` | None | | | Shearing | `shear` | `shear.shearer` (text), `shear.bales`, `shear.wool_kg` | | | Wigging | `other` | None | Say "wigging" in `description` | | Weaning | `wean` | `wean.weaned`, `wean.avg_kg` | | | Scanning | `scan` | `scan.singles`, `scan.twins`, `scan.triplets`, `scan.dry` | | | Classing | `class` | None | Class result in notes | | Weighing | `weigh` | `weigh.avg_kg`, `weigh.lightest_kg`, `weigh.heaviest_kg` | | | Dehorning | `dehorn` | None | Cattle section below | | Spaying | `spay` | None | Cattle section below | `marking_percent` is calculated when the record is read. Never send it. Any outcome key not in this table is refused. `head` is the number the work was done to. `method` is the procedure method, such as "rings", not the dose. Husbandry has no `route`, `category`, `equipment_cleaned`, `adverse_reaction` or `vet_authorisation`. Those facts go in `record_notes`. HGP is not husbandry. Hand it to `au-mob-treatment-records`. A sale declaration, an NVD or an NLIS transfer is `au-stock-movement-records`. This record does not write the NLIS database. ## 2. Line items | Line item | Applies when | What it covers | |---|---|---| | `li-welfare-sheep-mulesing` | `mules` on sheep | Age, pain relief, NWD code they state. Tasmania is stricter | | `li-welfare-sheep-dock-castrate` | `tail_dock` or `castrate` on sheep | Pain relief over 6 months, one tail joint | | `li-eid-tagging` | `eid_tag`, or they are about to send sheep or goats off the property | Tag type and the dates. WA all-ages date is unverified | | `li-product-batch-expiry` | A product was used | `batch`, `expiry` | | `li-dose-liveweight` | A product was used | Dose and live weight | | `li-withholding-meat-esi` | A product was used | WHP, ESI, wool, milk | | `li-operator-credential` | Every job | Who did it. A credential is not the usual question here | | `li-record-retention` | After the save | Keep-until note | Not in this release: `li-welfare-cattle`, `li-husbandry-outcomes`, `li-nwd-status`. Outcomes are the table in section 1. NWD codes li
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.
au-mob-treatment-records7.57 KB
--- name: au-mob-treatment-records description: "Check and save an Australian mob treatment before writing it to PurpleGrain or copying it as an LPA row. Use for a drench, fluke, lice or fly treatment, jetting or dipping, vaccine, antibiotic, pain relief or other veterinary chemical given to a mob. Marking, mulesing, docking, castration, shearing and the other husbandry jobs belong to au-mob-husbandry-records." --- # Australian mob treatment records Version 2.0.0. Husbandry moved to `au-mob-husbandry-records`. A vaccine or pain relief given on marking day stays on that husbandry record. Do not also save a treatment for the same products. Follow `pg-core`. If the account has no mob to attach this to, offer `pg-onboarding`. Do not block a read. Do not collect setup fields here. This is a record. It is not veterinary or legal advice. The label, the APVMA list and the vet's written direction are the authority. Never save first and check later. Collect, check, confirm, save, read back. If this folder is installed, `references/sheep-requirements.md` (checked 19 Oct 2026, with an eID correction on 24 Oct 2026) is the long note. The line items below are the rules to apply. The eID dates in that note's older paragraphs are superseded by `li-eid-tagging`. ## 1. Choose the record | What happened | Record | |---|---| | A product given to the mob | `createTreatmentRecord`, one mob, `category` set | | Marking, mulesing, docking, castration, tagging, crutching, shearing, scanning, weaning, weighing, dehorning, spaying | `au-mob-husbandry-records` | | Marking day, or crutch or shear with a chemical the same day | One husbandry record. Not also a treatment | | HGP on sheep or goats | Stop. Do not use `category: hgp` or `hgp_earmarked`. There is no ordinary sheep or goat HGP practice (LPA Rules 11.5, sheep reference, 19 Oct 2026, E) | | HGP on cattle | This record, `category: hgp`. `li-hgp-cattle` is not in this release. Ask whether the triangular ear punch was done and store `hgp_earmarked` only if they say so. Do not state an EU status | | Paddock move, sale, or a move off the PIC | `au-stock-movement-records`. Not this skill | A completed treatment needs at least one product. Three mobs means three calls. `category`: `drench`, `fluke`, `lice`, `flystrike`, `other_external_parasite`, `vaccine`, `vitamin_mineral`, `antibiotic`, `pain_relief`, `feed_water_additive`, `foot_treatment`, `reproductive`, `hgp`, `other`. `route`: `oral`, `injection`, `backline`, `jetting`, `dip`, `capsule`, `topical`, `in_feed_water`. Ask if the word is ambiguous. A footbath is not a dip. The route is this skill's field. No line item owns it. A plunge dip or powered spray race in NSW is also a pesticide record: applicator contact, property address, and outdoor weather, kept 3 years (sheep reference, 19 Oct 2026, E). Pour-ons and hand-held treatments are outside that pesticide record. Put the extra pesticide facts in `record_notes`. Weather fields are on a spray, not on a treatment. `li-vetchem-state-rules` is not in this release. This paragraph is the stand-in. ## 2. Line items Read each installed skill. Ask one or two missing things at a time, legal first. If a skill is not installed, still ask for its fields and say the detailed check was skipped. | Line item | Applies when | What it owns | |---|---|---| | `li-off-label-vet` | Off-label, Schedule 4, or `antibiotic` | `vet_authorisation` | | `li-withholding-meat-esi` | Every product | `whp_days`, `esi_days`, `wool_interval_days`, `milk_whp_days` | | `li-operator-credential` | Every record. Credential only if a state chemical rule applies (a NSW dip) | `operator` | | `li-product-batch-expiry` | Every product | `batch`, `expiry` | | `li-dose-liveweight` | Every product | `dose`, `dose_value`, `dose_unit`, `dose_basis`, live weight in notes | | `li-adverse-reaction` | Every treatment | `adverse_reaction` | | `li-record-retention` | After the save | Keep-until note. Do not ask them to choose | Not in thi
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 2 — file references are metadata, not package contents.
au-paddock-fertiliser-records5.92 KB
---
name: au-paddock-fertiliser-records
description: "Check and save an Australian paddock fertiliser record before writing it to PurpleGrain. Use for urea, MAP, super, lime, gypsum, manure or other fertiliser spread, banded, drilled or fertigated. Fertiliser has no withholding period. A spray is au-spray-records."
---
# Australian paddock fertiliser records
Version 1.0.0. Follow `pg-core`. If the paddock does not exist, offer `pg-onboarding`. Do not block a read.
Fertiliser has no withholding period and never changes a paddock's status. `getPaddock` and `getPropertyStatus` ignore it. Do not tell the farmer the paddock is held back because of a fertiliser. An `advisory_note` is advice to pass on, not a status.
This is a record. It is not fertiliser advice.
## 1. Fields
| Fact | Where it goes |
|---|---|
| Date, area | `date`, `area_ha` (defaults to the paddock) |
| Product | `products[].name` |
| Analysis, when they know it | `analysis`, for example `{ "N": 46 }`. Do not invent a percentage. Nutrients per hectare are calculated when the record is read |
| Rate, with a unit | `rate` such as `100 kg/ha`. `rate_unit` is `g`, `kg`, `t`, `mL` or `L`. `rate_basis` is `ha` or `total`. A number with no unit is refused |
| How | `method`: `broadcast`, `banded`, `drilled`, `in_furrow`, `fertigation`, `foliar` |
| Incorporation | `incorporation`: `none`, `mechanical`, `rain`, `irrigation`. `incorporated_at` when they know when |
| Batch, supplier | `batch`, `supplier`. There is no expiry field. Do not send one |
| Spreader, bout, cost | `spreader`, `bout_width_m`, `cost_per_ha`. Optional |
| Label stock warning, in the label's words or theirs | `advisory_note` |
No line item owns the fertiliser rate. This skill does. `li-spray-rate-tank-mix` is sprays only.
## 2. Line items
| Line item | Applies when |
|---|---|
| `li-product-batch-expiry` | Batch, when they have it. No expiry on this record |
| `li-operator-credential` | Who spread it. A Fertcare number only if they mention a contractor or a quality scheme. It is industry, not established here as law |
| `li-record-retention` | After the save. Reef cane records have a 6-year line in that skill |
Not in this release: `li-fertiliser-stock-warnings`, `li-reef-nutrient-qld`, `li-fertiliser-heavy-metals`. Use the short forms below and say so.
## 3. Warnings that are not a withholding
Molybdenum and selenium, Victorian fertiliser guide as cited in the paddock research (23 Oct 2026, V): molybdenum above 10 mg/kg means keep stock off for about four weeks, and selenium products are toxic if over-applied. Put the label warning in `advisory_note`. Do not invent a withhold if you have not seen the label. Do not write a grazing WHP. There is no field for one.
Cadmium, Victorian fertiliser regulations as cited in that research (r9, V): at or under 300 mg cadmium per kg of phosphorus where phosphorus is at least 2 percent; trace-element products at or under 50 mg/kg; other products at or under 10 mg/kg. The label must state cadmium above 1 mg/kg and carry a warning. Other states mirroring those numbers was not verified (U). A mercury figure in the strategy notes was not in the paddock research. Do not state one. This is a labelling rule. Flag a high-cadmium phosphate only when the label states the figure and the paddock is going into potatoes, leafy vegetables or peanuts. Supplier "low cadmium" targets are not the legal limit. Do not block the save. `li-fertiliser-heavy-metals` will own the full check later.
Biosolids and poultry-litter stock withholds were not verified (U). If they are spreading those, say the withhold is unconfirmed and ask what the label or their state guideline says. Do not invent a 30-day figure. Litter that might be fed to cattle, sheep or goats is a restricted-animal-material question for `au-mob-feeding-records`.
## 4. Queensland reef
Ask this section when the property is in Queensland, or when the state is not stored. A property already stored in another statePreview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.
au-paddock-fieldwork-records4.39 KB
--- name: au-paddock-fieldwork-records description: "Check and save Australian paddock field work before writing it to PurpleGrain. Use for harvest, cutting or baling hay or silage, cultivation, slashing, rolling, burning or irrigation. Includes the facts a seller needs for a commodity vendor declaration. Bought-in feed belongs to au-mob-feeding-records." --- # Australian paddock field work Version 1.0.0. Follow `pg-core`. If the paddock does not exist, offer `pg-onboarding`. Do not block a read. Field work has no withholding of its own and does not change a paddock's status. The server still checks harvest and hay against withholding already on the paddock. Read `warnings` on the response and tell the farmer. A warning does not block the write. This is a record. It is not agronomy or fire advice. ## 1. Fields `kind`: `cultivate`, `harvest`, `hay_silage`, `slash`, `roll`, `burn`, `irrigate`. | Kind | Store | Do not send | |---|---|---| | `harvest` | `outcomes.harvest`: `crop`, `tonnes`, `yield_t_ha`, `moisture_pct`, `protein_pct`, `grade` | Hay or irrigation keys | | `hay_silage` | `outcomes.hay_silage`: `bales`, `bale_type` | Harvest keys | | `irrigate` | `outcomes.irrigate.ml` | | | `cultivate`, `slash`, `roll`, `burn` | `implement`, `area_ha` | An outcomes block the kind does not carry. Extra figures are refused | `area_ha` defaults to the paddock. A product such as a hay preservative is optional. Its batch and expiry use `li-product-batch-expiry`. Its rate needs a unit. ## 2. Line items | Line item | Applies when | |---|---| | `li-grazing-harvest-whp` | Harvest, or hay and silage. Use the paddock withholding and the server `warnings`. Do not recalculate a shorter date | | `li-state-chem-record-rules` | A stored-grain chemical, or a product on the job. NT stored-grain treatment is a record (23 Oct 2026, V). Do not claim that for every state | | `li-product-batch-expiry` | A product line | | `li-operator-credential` | Who did the job. A spray credential is not the usual question for cultivation | | `li-record-retention` | After the save | Not in this release: `li-harvest-mrl-check`, `li-cvd-generator`, `li-burning-permit`, `li-irrigation-water-meter`. The judge deferred the permit and meter items because the rules were not verified. Keep them as prompts. ## 3. Prompts that are not hard rules **Harvest and hay.** If `warnings` says a harvest withholding or a grazing withholding is still running, tell them in the words the warning uses. Do not say the grain meets a buyer's MRL. Australian MRLs are not an importing country's limit. Grain Trade Australia tables were not verified (23 Oct 2026, U). **Selling hay, silage, grain or a by-product as stock feed.** The seller completes a commodity vendor declaration from the paddock records (ISC, paddock research, 23 Oct 2026, V). This skill does not fill in the form. Read `getPropertyRegisters` for the paddock (`kind: "spray"` and `kind: "paddock-inputs"`) and list the products, dates and intervals so they can copy them. A buyer with no declaration applies a 60-day withhold from when stock last ate that feed (livestock research, 23 Oct 2026, V). A 90-day export figure in later strategy notes was not in that research. Do not state it. **Burning.** Permit rules were not verified state by state (23 Oct 2026, U). Ask whether they needed a permit and, if they have a number, put it in `record_notes`. Do not assert that a permit was required, and do not quote a fire-service phone number from memory. **Irrigation.** Metering rules were not verified (U). Store the megalitres in `outcomes.irrigate.ml`. Licence or meter numbers they offer go in `record_notes`. Do not assert that a meter was legally required. **Cultivation on native grassland or a steep bank.** Do not assert a clearing breach. If they ask, say the rules were not verified here and the local land or catchment body is the place to check. ## 4. Confirm, save, read back ``` Harvest - North, barley, 18/11/26 399 t, 4.
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.
au-paddock-sowing-records3.92 KB
--- name: au-paddock-sowing-records description: "Check and save an Australian paddock sowing record before writing it to PurpleGrain. Use when a crop is sown or seeded, including the seed lot, a seed treatment, fertiliser with the seed, or an inoculant. A spray after the crop is up belongs to au-spray-records." --- # Australian paddock sowing records Version 1.0.0. Follow `pg-core`. If the paddock does not exist, offer `pg-onboarding`. Do not block a read. This is a record. It is not agronomy advice. The seed label and the technology agreement, when there is one, are the farmer's authority. Completing a sowing sets the paddock's `current_crop` to the seed line's `variety`, otherwise to `crop`. Read that back with `getPaddock`. A completed sowing with no seed line is refused. ## 1. Fields | Fact | Where it goes | |---|---| | Date, area, crop | `date`, `area_ha` (defaults to the paddock), `crop` such as `Barley` | | Seed line, required | `products` entry `role: seed`. `variety`, `seed_source` (`retained`, `purchased`, `shared`), `seed_lot`, `germination_pct`, `tgw_g`, `rate` | | Fertiliser with the seed, if used | `role: fertiliser`, `placement` `with_seed` or `banded`, `analysis`, `rate`. This line does not set a withholding | | Inoculant, if used | `role: inoculant`, `inoculant_group`, `batch`, `expiry`. No withholding | | Seed treatment, if the seed was treated | `li-seed-treatment` | | Machinery, optional | `seeder`, `opener`, `depth_mm`, `row_spacing_mm`, `soil_moisture`, `speed_kmh`, `stubble`, `target_plants_m2` | A rate needs a unit. `80 kg/ha` is valid. `80` is refused. Do not invent a variety, a lot, a germination or an analysis. `li-plant-back-check` is not in this release. If they are sowing into a paddock that was sprayed, offer to read that paddock's spray history and compare it with a plant-back they read off the label. Do not invent the interval. ## 2. Line items | Line item | Applies when | |---|---| | `li-seed-treatment` | The seed was treated | | `li-product-batch-expiry` | Seed treatment, inoculant, or any line with a batch | | `li-grazing-harvest-whp` | A seed treatment. Its grazing WHP becomes the paddock status | | `li-state-chem-record-rules` | A seed treatment. The state offence is unverified. Still collect the LPA facts. Do not call it a breach | | `li-operator-credential` | Someone treated the seed, or a contractor sowed | | `li-record-retention` | After the save | Not in this release: `li-treated-grain-segregation`, `li-plant-back-check`, `li-gm-crop-stewardship`, `li-export-intervals`. ESI on the seed treatment: ask when the label states one, store `esi_days`, and do not copy the grazing WHP across unless you have said the label has no separate ESI. EGI is notes, if they state it. There is no EGI field on a sowing product. GM varieties: stewardship specifics and a Tasmanian moratorium end date were not verified (paddock research, 23 Oct 2026, U). Ask whether the variety is GM. If it is, ask what their technology user agreement requires them to keep, and put that in `record_notes`. Do not state a delivery code, and do not state a moratorium year. ## 3. Confirm, save, read back ``` Sowing - North, barley (80 ha), 12/05/26 - Seed Spartacus CL, purchased, lot as stated, 80 kg/ha - Seed treatment as stated, grazing WHP as stated Checks: germination not recorded Save this record? ``` `createSowingRecord`: `paddock_id`, `confirm: true`, `body.data.type: "sowing-record"`. The server sets `operation_type: sow`, `capture_source: agent` and `producer`. Notes follow `pg-core`. If the write fails, read the paddock's records before retrying. This tool accepts `Idempotency-Key`. Read `getPaddock` for `current_crop` and `withholding`. Fertiliser and inoculant lines do not change withholding. The seed treatment's grazing interval does. `getPropertyRegisters` `kind: "paddock-inputs"` includes the sowing. A seed treatment that sets a grazing date is also visible on the paddock withholding, not as a s
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.
au-spray-records6.67 KB
--- name: au-spray-records description: "Check and save an Australian paddock spray record before writing it to PurpleGrain or copying it as a chemical-use row. Use for a herbicide, fungicide, insecticide, adjuvant or other agricultural chemical applied to a paddock or crop, including boom, spot, aerial, drone, knapsack and weed-wiper work. Seed treatment at sowing belongs to au-paddock-sowing-records. Fertiliser belongs to au-paddock-fertiliser-records." --- # Australian paddock spray records Version 1.1.0. The published name stays `au-spray-records`. A second skill under another name would make the same spray match twice. Follow `pg-core`. If the paddock does not exist, offer `pg-onboarding`. Do not block a read. This is a record. It is not agronomy or legal advice. The label, the APVMA permit and the state rule are the authority. If this folder is installed, `references/spray-requirements.md` (checked 19 Oct 2026; NT and ACT added 24 Oct 2026 from the paddock research) is the long note. The line items are the rules to apply. Never save first and check later. ## 1. Scope One spray is one paddock. A tank mix is several products on that record, up to 10. Three paddocks means three records. A block is not a record. A drench, jet or dip on a mob is `au-mob-treatment-records` or, when it is part of crutching or shearing, `au-mob-husbandry-records`. Fertiliser is not a spray. Treated seed is a sowing. ## 2. Line items | Line item | Applies when | What it owns | |---|---|---| | `li-state-chem-record-rules` | State known, or ask once | Deadline, retention, leftover fields (crop, target, time, APVMA number). Tasmanian retention is unconfirmed. SA general duty is not confirmed | | `li-spray-rate-tank-mix` | Every spray | One line each, rate with a unit, role | | `li-grazing-harvest-whp` | Every product | `grazing_whp_days`, `harvest_whp_days`, `do_not_graze` | | `li-spray-weather` | Outdoors | `weather_readings` | | `li-buffer-drift` | Outdoors, or a buffer or neighbour was mentioned | `no_spray_zone_m`, `droplet_category`, `neighbour_drift` | | `li-operator-credential` | Every spray. Licence when the product or state needs one | `operator`, credential in notes | | `li-product-batch-expiry` | Every product | `batch`, `expiry` | | `li-record-retention` | After the save | Keep-until, the longest period | Not in this release: `li-export-intervals`, `li-apvma-permit`, `li-restricted-chemicals`, `li-application-time`, `li-target-crop-pest`, `li-equipment-calibration`. Use the short forms in this skill until they exist. Say the full check is not installed. ## 3. Fields this skill still asks | Field | Where it goes | |---|---| | Date | `date`. A job already done is not in the future | | Paddock | Resolve it first | | Area | `area_ha`. Omitting it stores the whole paddock. A spot spray must send the smaller area or you must ask | | Water rate | `water_rate` in L/ha. Anything else is stored as none | | Nozzle, pressure, boom height, speed | `nozzle`, `pressure_kpa`, `boom_height_m`, `speed_kmh`. Calibration date has no field: notes | | Method | `boom`, `boomless`, `aerial`, `drone`, `spot`, `weed_wiper`, `knapsack`, `airblast` | | Re-entry | `re_entry_note`, in their words | | Title | `description` | | ESI, EGI, EAFI | `esi_days`, `egi_days`, `eafi_days` only when the label states that one. Do not copy the grazing WHP into all three. Australian MRLs are not an importing country's MRL. Grain Trade Australia tables were not verified (23 Oct 2026, U). Do not quote a market limit from memory | | APVMA permit number and expiry | `record_notes`, only when they are using a permit. Do not invent one | | Rinsate, a drift incident | `record_notes` | `product_id` from `listProducts?kind=herbicide` is optional. On that catalogue, `grazing_whp_days` is the grazing period and `harvest_whp_days` is the harvest period. Confirm the label. ## 4. Restricted products, until that line item ships These are the checks already verified in the spray re
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 2 — file references are metadata, not package contents.
au-stock-movement-records4.87 KB
--- name: au-stock-movement-records description: "Check and save an Australian stock movement. Use when a mob moves to another paddock on the same property, or when stock are sold, agisted or leave the PIC and the NVD, NLIS and health-declaration facts need recording. An on-property move uses moveMob. An off-property movement has no dedicated PurpleGrain record yet." --- # Australian stock movements Version 1.0.0. Follow `pg-core`. If the mob or the destination paddock does not exist, offer `pg-onboarding`. Do not block a read. This skill does not update the NLIS database and does not fill in an NVD. It records what the farmer said, and it shows withholding rows they must not ignore. ## 1. On the same property `moveMob` only. Destination: a live paddock on the mob's own property, not the paddock it is already in. `capture_source: "agent"`. `completed_at` when they are writing a past move. `confirm: true` after they agree the mob and the paddock. The origin is worked out by the server. The first move of a mob that has never been placed has no "from". Back-dating a move behind a newer one files the diary entry and leaves the current paddock where the newest completed record says it is. Say that if they are back-dating. Do not ask for an NVD for a paddock-to-paddock move. `li-eid-tagging` does not block an on-property move. If the write fails, `listMobs` or `getMob` before retrying. Do not send `Idempotency-Key`. The schema reviewed on 24 Oct 2026 does not have it. ## 2. Off the PIC There is no off-property movement record. The property's PIC is `pic` (API #239/#240). Read it from the property. Null means not recorded. Do not copy `location` into the destination PIC, and do not look a PIC up on WA Brands Search. Do not call `moveMob` for a sale or agistment. That would place the mob in a paddock. Do not set `operation_type` to `move_stock` on a task. That type is the on-property move. Store a plain task: `createTask`, asset the mob, `producer` set to the business when the property belongs to one, `capture_source: "agent"`, `status: "completed"`, `created_as: "record"`, description such as "Sale of ewes", and the facts in `record_notes`. `confirm: true`. Tell them this did not transfer the stock on NLIS and did not move the pin on the map. `li-nlis-movement` and `li-health-declaration` are not in this release. Collect the following anyway, and say the full skills are not installed. | Fact | Where | |---|---| | Date, head | Notes, and the task date | | Destination PIC, NVD or waybill serial | Notes. Do not invent a serial | | Transporter, if they know | Notes | | Whether the NLIS database was updated, and when | Notes. The receiver does that update. This task does not | | Withholding still running | Read `getPropertyRegisters` `kind: "nvd"` for the mob. Show the rows. Do not answer the NVD for them. An empty list is not a declaration | | eID | `li-eid-tagging` | Sheep and goat property-to-property movements recorded on NLIS within 2 days: verified for South Australia and NSW (livestock research, 23 Oct 2026, V). Do not say every state. Cattle: electronic identification is national. The "receiver updates within 48 hours" line was not verified (U). Do not state it. A wool-declaration code is not collected again here. `li-nwd-status` is not in this release. If they are selling wool, use the code already in the husbandry notes (`li-welfare-sheep-mulesing`). Do not assign one. Health declarations, from the October 2024 National Sheep Health Declaration form note (sheep reference, 19 Oct 2026, E): mandatory for sheep movements in South Australia and for sheep moved into NSW and Tasmania. Voluntary elsewhere on that form. SA says failing to provide it is an offence. Prefer the form note, and tell them to check the destination. Section C (recent treatments) can be read from this mob's treatment records. Do not invent footrot, lice or Johne's answers. Section B answers go in the notes only when they state them. National Cat
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.
li-adverse-reaction1.48 KB
---
name: li-adverse-reaction
description: "Line item for PurpleGrain record skills. Do not use directly. Whether a mob treatment caused an adverse reaction or left a broken needle, and that it is passed on at sale."
---
# Adverse reaction and broken needle
Version 1.0.0. Do not call a PurpleGrain write. Husbandry has no `adverse_reaction` field. On a husbandry record the same fact goes to `record_notes`. Do not ask this on a spray.
## Applies when
A mob treatment. Ask once, with the other LPA gaps, not before the legal intervals.
## Collect
| Fact | Where it goes |
|---|---|
| What happened, or that nothing did | `adverse_reaction` |
| Which animal still has a needle | `record_notes`. A mob record does not identify one animal |
If they say there was none, store `None` so an auditor can see it was asked. If you have not asked and they are saving with gaps, leave it unset. Unset prints `not recorded`, which is not the same as none.
LPA expects the reaction to be passed on at sale. Remind them. Do not write that into an NVD yourself.
## Checks
Severity: `lpa`.
- A broken needle with no note of which animal: flag it.
- Do not diagnose the reaction.
## Confirm fragment
`Reaction: {text}` when you asked.
## Sources
| Source | Last checked | Status |
|---|---|---|
| LPA treatment template and 2025 audit checklist: adverse reactions, broken needle, passed on at sale | 19 Oct 2026 | E |
<https://www.integritysystems.com.au/globalassets/isc/pdf-files/lpa-audits-checklist-2025.pdf>
Referenced files: 1 — file references are metadata, not package contents.
li-buffer-drift2.2 KB
---
name: li-buffer-drift
description: "Line item for PurpleGrain record skills. Do not use directly. The downwind no-spray zone the farmer kept, the droplet size they used, and neighbour notification where Tasmania's code asks for it."
---
# Buffer, droplets and drift
Version 1.0.0. Do not call a PurpleGrain write. Do not look up a buffer table and fill `no_spray_zone_m`. Record the zone they say they kept, and the droplet category they state.
## Applies when
An outdoor spray, and always when they mention a sensitive area, a neighbour, or a buffer on the label.
## Collect
| Fact | Where it goes |
|---|---|
| Downwind no-spray zone kept, metres | `no_spray_zone_m` |
| Droplet size | `droplet_category`: `extremely_fine`, `very_fine`, `fine`, `medium`, `coarse`, `very_coarse`, `extremely_coarse`, `ultra_coarse` |
| Drift from a neighbour was a factor | `neighbour_drift` true only when they say that |
| Neighbour notification | `record_notes` |
`neighbour_drift` means drift from a neighbour affected this job. It is not "I notified the neighbour".
## Checks
Severity: `legal`. Mandatory label spray-drift restraints, including no-spray zones, droplet size and wind limits, are legal requirements where the label carries them (Victorian guide and APVMA labelling code, spray reference, 19 Oct 2026).
- They quote a label buffer, and the zone they kept is shorter: flag it. Do not invent the buffer they did not quote.
- Droplet category missing when the label they quoted names one: flag it.
- Tasmania's Code of Practice for Ground Spraying: occupiers within 100 metres should be told at least one day, preferably two, before a spray (19 Oct 2026, E). Ask that only for a Tasmanian property. Do not apply the 100 metre rule to other states.
- Wind and inversion are `li-spray-weather`.
## Confirm fragment
`No-spray zone {n} m. Droplets {category}.` Add the Tasmanian notification only when the property is in Tasmania.
## Sources
APVMA spray-drift labelling: <https://www.apvma.gov.au/registrations-and-permits/apvma-labelling-codes/alc/spray-drift-labelling-alc> (19 Oct 2026, E).
Tasmania code: <https://nre.tas.gov.au/agriculture/agvet-chemicals/codes-of-practice/code-of-practice-for-ground-spraying> (19 Oct 2026, E).
Referenced files: 1 — file references are metadata, not package contents.
li-dose-liveweight2.06 KB
---
name: li-dose-liveweight
description: "Line item for PurpleGrain record skills. Do not use directly. Dose, the dose basis, and approximate live weight for a mob treatment or a husbandry product."
---
# Dose and live weight
Version 1.0.0. Do not call a PurpleGrain write. Do not ask for batch, WHP or route. The treatment orchestrator owns `route`.
## Applies when
A treatment product, or a product on a husbandry record (a vaccine or pain relief given that day).
## Collect
| Fact | Where it goes |
|---|---|
| Dose, in their words | `dose` |
| The number, only when it is clear | `dose_value` |
| Unit, only when it is clear: `mL`, `L`, `g`, `kg` | `dose_unit` |
| Basis, only when it is clear: `per_head`, `per_kg`, `per_mob` | `dose_basis` |
| Approximate live weight | `record_notes`. There is no weight field |
The server does not parse `dose` into `dose_value`, `dose_unit` and `dose_basis`. Send the structured fields only when the farmer stated them. Do not turn "1 mL per 5 kg" into a per-kg value. Ask if the unit or the basis is missing. A dose with no unit: ask, do not guess.
Never invent a dose. Do not judge a dose against a label you have not seen.
Head count above the mob size is the orchestrator's check, not this item. This item does not own `head`.
## Checks
Severity: `lpa`. The LPA treatment template asks for the dose rate and the approximate live weight.
- Missing dose on a product they gave: name it.
- Live weight unknown: leave it out of the notes rather than inventing kilograms. Name it as a gap.
- Husbandry `method` is the procedure (rings, knife), not the dose. Do not put the dose there.
## Confirm fragment
`{dose}` plus, when they gave it, `about {weight}`.
## Sources
| Source | Last checked | Status |
|---|---|---|
| LPA livestock treatment template: dose rate and approximate live weight | 19 Oct 2026 | E |
<https://www.integritysystems.com.au/globalassets/isc/pdf-files/lpa-documents/lpa-records-templates/lpa-02-livestock-treatment-record-form.pdf>
Weight has no API field. That gap was still true on the treatment schema reviewed 24 Oct 2026.
Referenced files: 1 — file references are metadata, not package contents.
li-eid-tagging4.11 KB
---
name: li-eid-tagging
description: "Line item for PurpleGrain record skills. Do not use directly. Whether sheep or goats need an electronic NLIS tag before they leave the property, by birth date and by state. Western Australia's all-ages date was not verified."
---
# Sheep and goat eID
Version 1.0.0. Do not call a PurpleGrain write. Do not claim this record updated the NLIS database. `procedures: ["eid_tag"]` means the mob was tagged. The husbandry orchestrator sends that procedure. This item does not own `procedures`.
`moveMob` is an on-property paddock move. It is not an NLIS transfer.
## Applies when
An `eid_tag` husbandry record, or any off-property movement of sheep or goats. Cattle are different: NLIS electronic identification for cattle is mandatory nationally (livestock research, 23 Oct 2026). Do not apply the sheep dates below to cattle. The time allowed for a cattle receiver to update NLIS was not verified. Do not say 48 hours for cattle.
## Dates
| Who | Rule | Last checked | Status |
|---|---|---|---|
| Sheep and farmed goats born on or after 1 January 2025 | An approved electronic tag before they leave the property of birth. A visual tag is not enough for those animals | 23 Oct 2026 | V, national. Also in the sheep reference, 19 Oct 2026 |
| Victoria, all ages | Electronic tag before they leave a Victorian property, since 1 January 2022 | 19 Oct 2026 | E |
| NSW, Queensland, South Australia, Tasmania, all ages | 1 January 2027, before they leave a property | 23 Oct 2026 | V, state pages. The research note did not copy the page URLs |
| Western Australia, all ages | A 1 July 2026 date appeared in a search summary only | 23 Oct 2026 | U. Do not state it |
| Harvested rangeland goats | A device-free pathway was stated for NSW | 23 Oct 2026 | V for NSW. Do not generalise to other states or to farmed goats |
The April 2023 DAFF implementation table left some jurisdictions undecided. That table is not the current position for NSW, Queensland, South Australia or Tasmania.
## Collect
| Fact | Where it goes |
|---|---|
| Breeder tag or pink post-breeder tag | `record_notes` |
| Year colour, and the PIC printed on the tag | `record_notes` |
| Birth year or cohort, so the 1 January 2025 line can be applied | Read the mob's optional `birth_year` if recorded; otherwise ask. Keep the event's stated cohort in `record_notes`. `birth_year` belongs to the mob, not the typed record; a mob correction needs its own confirm. Never infer it from class or name |
Tags bought for one PIC are not used on another (Victoria, sheep reference, 19 Oct 2026, E). Do not claim that sentence for every state.
## Checks
Severity: `legal`.
- A movement off the property of animals born on or after 1 January 2025 with no eID stated: flag it.
- Victoria: any age leaving the property without an electronic tag stated: flag it.
- NSW, Queensland, South Australia, Tasmania, on or after 1 January 2027: any age leaving without an electronic tag stated: flag it. Before that date, the birth-date rule still applies.
- Western Australia: apply the national birth-date rule only. Say the all-ages date was not verified.
- Visual-tag sheep described as moving after the all-ages date in a verified state: flag it.
- This flag does not block a paddock move inside the property.
## Confirm fragment
`eID: {breeder or post-breeder, or not recorded}. Birth cohort: {year or not recorded}.`
## Sources
ISC, what sheep and goat eID is: <https://www.integritysystems.com.au/identification--traceability/national-livestock-identification-system/Sheep-and-Goat-eID/What-is-Sheep-and-Goat-eID/> (sheep reference, 19 Oct 2026, E).
DAFF implementation plan: <https://www.agriculture.gov.au/biosecurity-trade/policy/partnerships/nbc/sheep-and-goat-traceability-task-force/implementation-plan> (19 Oct 2026, E).
Victoria: <https://agriculture.vic.gov.au/livestock-and-animals/national-livestock-identification-system/livestock-identification> (19 Oct 2026, E).
The 1 January Preview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.
li-grazing-harvest-whp3.37 KB
---
name: li-grazing-harvest-whp
description: "Line item for PurpleGrain record skills. Do not use directly. Grazing and harvest withholding periods, a do-not-graze label, and the safe dates, for a spray or a sowing seed treatment."
---
# Grazing and harvest withholding
Version 1.0.0. Do not call a PurpleGrain write. Meat WHP and ESI on a mob treatment belong to `li-withholding-meat-esi`. Export grazing interval (EGI) and export animal-feed interval (EAFI) are not owned here. `li-export-intervals` is not in this release. The orchestrator asks for those only when the label states them, and does not copy the grazing WHP into them.
## Applies when
A spray product, or a sowing product with `role: seed_treatment`. Fertiliser has no withholding and never changes a paddock's status. Do not put a fertiliser stock-off warning in these fields. That warning is an `advisory_note` on the fertiliser, owned by the fertiliser skill until `li-fertiliser-stock-warnings` ships.
## Collect
| Fact | Where it goes |
|---|---|
| Grazing WHP, whole days, from the label | `grazing_whp_days` on a spray product, or on a seed-treatment line |
| Harvest WHP, whole days, from the label | `harvest_whp_days` on a spray product. A seed-treatment line has no harvest field |
| Label says DO NOT graze | `do_not_graze: true` on a spray product only |
If the label gives one interval for both grazing and harvest, send it in both and say so. `do_not_graze` stores no end date. The paddock gets no status from it. Say that.
A seed treatment's grazing interval sets the paddock's grazing status the same way a spray does. That is PurpleGrain's rule, reviewed on the `createSowingRecord` schema on 24 Oct 2026.
Never invent an interval. On the herbicide catalogue, read `grazing_whp_days` and `harvest_whp_days` by those names. Do not read the catalogue's `whp_days` and `esi_days` as meat and export. The catalogue is a hint. The label wins. Never store a shorter period than that label.
## Checks
Severity: `legal`.
- Grazing end = spray or sowing date + `grazing_whp_days`. Harvest end = date + `harvest_whp_days`. Say which day you are using.
- Use date after the product expiry is `li-product-batch-expiry`, not this item.
- Field work: the server returns `warnings` when a harvest is before a harvest withholding ends, or hay or silage is cut before a grazing withholding ends. A warning does not block the write. The orchestrator reads it and tells the farmer. Do not tell them the grain meets a market MRL.
- After the save, paddock status is `getPaddock.withholding` or `getPropertyStatus`. Do not declare the paddock clear from the new row alone. Export intervals are not that withholding object.
## Confirm fragment
`grazing WHP {n} d -> {date}; harvest WHP {n} d -> {date}`. If `do_not_graze`, say there is no graze date.
## Sources
| Source | Last checked | Status |
|---|---|---|
| APVMA residues overview (label WHP; Australian MRLs assume label use) | 19 Oct 2026 | E, spray reference |
| LPA crop, pasture and paddock treatment template (WHP and safe date) | 19 Oct 2026 | E |
| PurpleGrain sowing schema: seed-treatment grazing WHP sets paddock status | 24 Oct 2026 | V, connector schema |
<https://www.apvma.gov.au/chemicals-and-products/pesticides-and-veterinary-residues>
<https://www.integritysystems.com.au/globalassets/isc/pdf-files/lpa-documents/lpa-records-templates/lpa-03-crop-pasture-and-paddock-treatment-record-form.pdf>
Referenced files: 1 — file references are metadata, not package contents.
li-off-label-vet3.57 KB
---
name: li-off-label-vet
description: "Line item for PurpleGrain record skills. Do not use directly. Vet's written authority, and the vet's withholding period, for off-label use, a Schedule 4 product or an antibiotic on a mob."
---
# Off-label use and the vet
Version 1.0.0. Do not call a PurpleGrain write. Do not authorise an off-label use. That decision is the vet's. This item records the authority they already have.
## Applies when
The farmer says the use was off-label, the product is Schedule 4, or the category is `antibiotic`. On-label use: leave `vet_authorisation` unset. Do not ask for a vet on an ordinary labelled drench.
Veterinary chemical record rules for South Australia, Western Australia, Tasmania, the Northern Territory and the ACT were not researched (livestock note, 23 Oct 2026). If the property is in one of those places, the Victoria, NSW and Queensland points below are not a statement of that state's law. Say so. Still ask who authorised an off-label or Schedule 4 use, because inventing an authority is worse than an incomplete state table.
## Collect
| Fact | Where it goes |
|---|---|
| Who authorised it, in their words | `vet_authorisation` |
| The vet's withholding period, when the use was off-label and the vet set one | `whp_days` and `esi_days` are owned by `li-withholding-meat-esi`. Pass the vet's figures to that item and say they replace the label figures for this use |
Do not invent a vet's name or a vet's interval. If they do not have the written direction, record the gap. They may still save what was given.
## What was checked
| Place | Rule | Last checked | Status |
|---|---|---|---|
| Victoria | Off-label use on sheep, a major species, needs written authorisation from a registered veterinarian. The label WHP may not fit. Stock must not be sold inside a WHP unless the buyer is told in writing | 19 Oct 2026 | E |
| New South Wales | Off-label use needs a veterinarian's written directions (Stock Medicines Act 1989 s 39D). The statutory treatment record in s 39E is the vet's, for two years. A farmer's ordinary drench is not that vet record. s 40A: the buyer is told of a withholding period | 19 Oct 2026 | E |
| Queensland | People who are not vets use registered or permit products according to the label or permit. Sheep are a major trade species. Off-label use is tightly limited. Treated animals must stay identifiable through the withholding period (s 12T). Supply inside the withholding period needs written notice (s 12U) | 19 Oct 2026 | E |
Sheep, cattle and goats are treated as major food species in the states above. Do not extend that sentence to a state that was not read.
## Checks
Severity: `legal`.
- Antibiotic, Schedule 4 or off-label with no authority named: flag, and ask before saving. They can record the use after they have seen the gap.
- Do not block a record of a use that has already happened.
- HGP is not this item. The treatment orchestrator stops HGP on sheep and goats. `li-hgp-cattle` is not in this release.
## Confirm fragment
`Off-label: {vet_authorisation}` or `Authority: not recorded`.
## Sources
Agriculture Victoria veterinary chemicals: <https://agriculture.vic.gov.au/farm-management/chemicals/veterinary-chemicals> (19 Oct 2026, E).
NSW stock medicines: <https://www.dpi.nsw.gov.au/agriculture/chemicals/animal-chemicals/stock-medicine> (19 Oct 2026, E).
Queensland, treating animals: <https://www.business.qld.gov.au/industries/farms-fishing-forestry/agriculture/sustainable/chemical/use/animals> (19 Oct 2026, E).
Queensland Act: <https://www.legislation.qld.gov.au/view/whole/html/inforce/current/act-1988-103> (19 Oct 2026, E).
Referenced files: 1 — file references are metadata, not package contents.
li-operator-credential4.69 KB
--- name: li-operator-credential description: "Line item for PurpleGrain record skills. Do not use directly. Who did the job, how to contact them, and the chemical-user credential when the state or the product requires one." --- # Operator and credential Version 1.0.0. Do not call a PurpleGrain write. All six typed record creates accept `operator`, `record_notes` and `tags` in `body.data.attributes`; an omitted or blank operator defaults to the signed-in user's display name. Give the orchestrator the confirmed operator and notes to save atomically with the record, then read the saved task. Use `updateTask` only for a confirmed correction to an existing task, not a routine second write. A plain `createTask` also takes `operator` on the create. Phone, address and the credential have no dedicated fields: `record_notes`. Ask the credential when the state or the product requires one. Otherwise the name is the LPA field and follows the legal gaps. Do not ask for a licence number on an ordinary drench just to fill a gap. ## Applies when Any record. The credential half applies to agricultural chemical use (spray, and a seed treatment the farmer says was done on the farm) and to fertiliser only when they mention a contractor spreader or a quality scheme. ## Collect | Fact | Where it goes | |---|---| | Who did it, when it was not the signed-in user | `operator` | | Phone, and address where the state record wants it | `record_notes` | | Supervisor, and the person the job was done for | `record_notes` | | Credential type and number they actually hold | `record_notes` | Never invent a licence number. A training card is not a state permit. ## Credentials that were checked | Place | What to ask | Last checked | Status | |---|---|---|---| | Victoria | An ACUP for Schedule 7 poisons, atrazine, metham sodium, ester formulations of MCPA, 2,4-D, 2,4-DB or triclopyr, and listed baits and fumigants. Issued for 10 years. A training certificate is not the ACUP. Someone under the direct sight and sound of an ACUP holder need not hold one | 19 Oct 2026 | E | | New South Wales | Independent users: AQF level 3, retraining every five years. Spraying weeds for fee or reward: a ground applicator licence | 19 Oct 2026 | E | | Queensland | An ACDC licence for ground distribution with powered equipment on land the person does not own or occupy. ChemCert AQF3 is the usual training. It is not the licence | 19 Oct 2026 | E | | South Australia | Users of Group 4 herbicides in prescribed businesses and prescribed areas: at least AHCCHM307 | 19 Oct 2026 | E | | Northern Territory | Prescribed products: approved training, or a ground spray applicator's or pilot (chemical rating) licence | 23 Oct 2026 | V | | ChemCert | AQF3 covers AHCCHM307 and AHCCHM304. ChemCert says it is valid for five years. It is not a Victorian ACUP, a NSW ground applicator licence, or a Queensland ACDC licence | 19 Oct 2026 | E | | Fertcare / Accu-Spread | Industry accreditation for advisers and spreaders. Often asked by quality schemes. Not established here as a legal duty. Ask only if they mention it, and mark it as industry rather than law | 23 Oct 2026 | S. The Fertcare URL was not verified | Western Australia, Tasmania and the ACT credential rules for farm spraying were not re-stated as a licence type in the sources used here. Ask what they hold when the job is commercial spraying in those places, and do not name a permit you have not sourced. ## Checks Severity: `legal`, because a missing ACUP or equivalent is a legal gap for the products above. For a plain livestock treatment the LPA template wants the name and the phone. Record the phone in notes. Do not block a treatment save on a missing phone. Do not block a spray save on a missing credential number they do not have in front of them: name the gap, and pause only when they are about to record a Victorian Schedule 7, atrazine or ester-phenoxy use and they say nobody held an ACUP. They may still record what was already do
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.
li-product-batch-expiry1.94 KB
---
name: li-product-batch-expiry
description: "Line item for PurpleGrain record skills. Do not use directly. Batch number and expiry on every product line, and a flag when the expiry is before the day of use."
---
# Batch and expiry
Version 1.0.0. Do not call a PurpleGrain write. The orchestrator saves. Do not ask for dose, rate or withholding. Those belong to other line items.
## Applies when
Any product line on a treatment, husbandry, spray, sowing or fertiliser record.
## Collect
| Fact | Where it goes |
|---|---|
| Batch number, as printed | `products[].batch` |
| Expiry | `products[].expiry` as `YYYY-MM-DD` |
Ask for both when they are missing. LPA's livestock treatment template wants the batch even when a vet treated, and it wants the expiry. A spray or sowing product line has the same two fields. A fertiliser line has `batch` and no `expiry`. Do not send `expiry` on fertiliser.
Never invent a batch or an expiry. Unreadable is UNCLEAR. They may save with the field unset. It prints `not recorded`.
## Checks
Severity for ordering questions: `lpa`.
- Expiry before the date of use: flag it. Record what they used. Do not tell them they must not have used it, and do not block the save.
- No batch: name it as an LPA gap. Do not turn a missing batch into advice to throw the product out.
- Do not compare the batch with a catalogue. `listProducts` does not prove a batch.
## Confirm fragment
`batch {batch}, exp {expiry}` or `batch not recorded, exp not recorded`.
## Sources
| Source | Last checked | Status |
|---|---|---|
| ISC record keeping, and the LPA livestock treatment template (batch, expiry, within 48 hours is the template's timing, not this item's field) | 19 Oct 2026 | E, sheep reference |
| Integrity Systems record-keeping page | 23 Oct 2026 | V, livestock research |
The 48-hour recording timing is a state and LPA deadline. `li-record-retention` and `li-state-chem-record-rules` own deadlines. This item only owns batch and expiry.
Referenced files: 1 — file references are metadata, not package contents.
li-record-retention3.63 KB
---
name: li-record-retention
description: "Line item for PurpleGrain record skills. Do not use directly. The keep-until date is the longest of the state period, the LPA period and the ISC seven-year line. Do not ask the farmer to pick a shorter one."
---
# How long to keep the record
Version 1.0.0. Do not call a PurpleGrain write. Do not ask the farmer how long to keep it. Compute the date, tell them, and put it in `record_notes` as `Keep until {date}`. A tag `keep-until-YYYY-MM-DD` is optional and is not owned by this item. Tags are also used for imports.
Do not tell them they may destroy records. Do not delete a record to enforce a period.
## Applies when
A saved livestock, chemical, feed or movement record, after the state is known. If the state is unknown, still apply the LPA and ISC lines and say the state period is missing.
A fence note or a general observation is not one of those records. Do not stamp a chemical or LPA period on it unless the note is actually about stock, feed or a chemical. `au-farm-task-records` says the same.
## Which period
Take the longest that applies.
| Source | Period | Last checked | Status |
|---|---|---|---|
| State chemical-use row | The keep column in `li-state-chem-record-rules`. Tasmania: no period was found. Reef ERA tebuthiuron sprays: 6 years. Ordinary Queensland: 2 years | 19 Oct 2026, NT and ACT 23 Oct 2026 | E / V, as that skill marks them |
| Queensland reef cane fertiliser records | 6 years (paddock research, sugarcane ERA standard) | 23 Oct 2026 | V |
| LPA Rules paragraph 11.7 | NVDs and other records for introduced and dispatched livestock: minimum 3 years, or the statutory period, or as long as the livestock remain on the PIC, whichever is longer | 19 Oct 2026 | E |
| ISC record-keeping page | While livestock are on the PIC; after sale, minimum 7 years or the state period | 19 Oct 2026 | E |
| A label or permit | Its own period, if longer. PER87451 as read in the spray reference: 2 years, which is not longer than most state rows | 19 Oct 2026 | E |
| Freshcare | No retention number was verified. Do not add one | 23 Oct 2026 | U |
The two ISC statements differ. Do not merge them into one citation. Keep the longest, and name both when you tell the farmer. Seven years after sale is the longer ISC line. Three years is the Rules line for NVDs and movement records, and it still applies as a minimum while you also keep the seven-year line.
LPA's "while stock remain on the PIC" can be longer than a fixed year count. Say that, and do not pretend a calendar date ends it while those animals are still on the property.
## Checks
Severity: `legal`, because state retention is a legal duty where the state row states one. The LPA lines apply to an accredited PIC even when the state period is shorter.
- Stamp one keep-until date, from the latest end.
- SA general sprays and Tasmanian sprays: do not invent a statutory end date. You may still stamp the LPA or ISC date and label it as that, not as SA or Tasmanian law.
- This does not create a reminder task. `li-record-deadline-reminder` is not in this release.
## Confirm fragment
`Keep until {date} ({which rule}).`
## Sources
LPA Rules: <https://www.integritysystems.com.au/globalassets/isc/pdf-files/lpa-documents/LPA-Rules/> (19 Oct 2026, E).
ISC record keeping: <https://www.integritysystems.com.au/on-farm-assurance/record-keeping/> (19 Oct 2026, E; the page was also opened in the livestock research on 23 Oct 2026).
State periods: the sources listed on `li-state-chem-record-rules`.
Queensland reef cane records: <https://www.qld.gov.au/environment/agriculture/sustainable-farming/reef/reef-regulations/sugarcane> (paddock research, 23 Oct 2026, V).
Referenced files: 1 — file references are metadata, not package contents.
li-seed-treatment2.75 KB
---
name: li-seed-treatment
description: "Line item for PurpleGrain record skills. Do not use directly. The seed-treatment product on a sowing: name, active and rate per 100 kg of seed. Grazing withholding is a different line item. State record duty for treated seed was not verified."
---
# Seed treatment
Version 1.0.0. Do not call a PurpleGrain write. The sowing orchestrator saves. A completed sowing needs a seed line (`role: seed`). That line is the orchestrator's. This item applies only when the seed was treated.
## Owns, and does not own
| Fact | Owner |
|---|---|
| Treatment name, active, rate per 100 kg of seed | This item |
| Batch and expiry | `li-product-batch-expiry` |
| Grazing WHP | `li-grazing-harvest-whp` (`sowing.products[role=seed_treatment].grazing_whp_days`). It sets the paddock's grazing status |
| ESI | Not owned here. `li-export-intervals` is not in this release. Ask for the label ESI and give it to the orchestrator as `esi_days`. Do not copy the grazing WHP into `esi_days` unless the label has no separate ESI and you have said so |
| Who treated the seed, and where | `record_notes` |
| Leftover treated seed | `record_notes` |
## Collect
| Fact | Where it goes |
|---|---|
| Product and active | `name`, `active`, on the line with `role: seed_treatment` |
| Rate | `rate` in their words, such as `400 mL / 100 kg seed`. `rate_basis: 100_kg_seed` when that is what they said. A number with no unit is refused |
Never invent a rate, an active or an interval.
## Checks
Severity: `lpa`. LPA-03 is the verified reason to record a seed treatment that stock may graze (19 Oct 2026, E). Whether each state treats seed treatment as a spray-record offence was not verified (23 Oct 2026, U). Do not state that offence. `li-state-chem-record-rules` says the same.
- Grazing WHP missing on treated seed: flag it, because that number becomes the paddock status. The grazing item owns the field.
- Treated seed is not grain for sale or feed. Receiver rules and the exact legal wording were not verified against each receiver on 23 Oct 2026 (S/U). Warn, and ask what they did with leftovers. Do not block the sowing. Do not invent a delivery rejection code.
- `li-treated-grain-segregation` is not in this release.
## Confirm fragment
`Seed treatment {name} {rate}. Grazing WHP {from the grazing item}.`
## Sources
LPA-03 template fields, via the spray reference, 19 Oct 2026, E. <https://www.integritysystems.com.au/globalassets/isc/pdf-files/lpa-documents/lpa-records-templates/lpa-03-crop-pasture-and-paddock-treatment-record-form.pdf>
PurpleGrain sowing schema, 24 Oct 2026: a seed treatment carries `grazing_whp_days` and `esi_days`, and the grazing interval sets paddock status.
State chemical-use duty for seed treatment: unverified, paddock research 23 Oct 2026.
Referenced files: 1 — file references are metadata, not package contents.
li-spray-rate-tank-mix2.72 KB
---
name: li-spray-rate-tank-mix
description: "Line item for PurpleGrain record skills. Do not use directly. One spray product line each, with a rate that has a unit. The longest withholding is calculated by the grazing line item, not this one."
---
# Spray rate and tank mix
Version 1.0.0. Do not call a PurpleGrain write. Do not ask for batch, weather or withholding days. A sowing rate and a fertiliser rate are not this item. Seed-treatment rate belongs to `li-seed-treatment`.
## Applies when
Every spray. One paddock, one record. A tank mix is several product lines on that record, up to 10. Three paddocks are three records. A block is not a record.
## Collect
| Fact | Where it goes |
|---|---|
| Trade name | `products[].name`. The orchestrator asks the name. This item checks the line exists |
| Role, when it is clear | `herbicide`, `fungicide`, `insecticide` or `adjuvant` |
| Rate, in their words, with a unit | `rate`, such as `3 L/ha` or `300 mL/ha` |
| Parsed rate, when clear | `rate_value`, `rate_unit` (`g`, `kg`, `t`, `mL`, `L`, `seeds`, `%`), `rate_basis` (`ha`, `head`, `100_kg_seed`, `100_l`, `total`) |
The server can parse `rate_value`, `rate_unit` and `rate_basis` from `rate`. A number with no unit is refused. Ask for the unit. Do not send `100` on its own.
An adjuvant is its own line when it was in the tank. Do not fold it into the herbicide's name.
Water rate is `water_rate` in L/ha and is not owned here. The spray orchestrator asks for it. Anything that is not litres per hectare is stored as none.
Do not invent a mixing order. No verified legal field requires one. If they mention it, the orchestrator can put it in `record_notes`.
## Checks
Severity: `legal`. State spray records require a rate or enough to calculate it (see `li-state-chem-record-rules`). LPA-03 also asks for the rate and the tank mix.
- Each product they named has its own line and its own rate.
- Rate above a label or permit rate they have actually given you: flag it. Do not judge a rate against a label you have not seen.
- The longest grazing or harvest interval in the tank is what holds the paddock. `li-grazing-harvest-whp` calculates it. Do not copy one product's interval onto another.
## Confirm fragment
One line per product: `{name} {rate}`.
## Sources
| Source | Last checked | Status |
|---|---|---|
| LPA-03: rate, method, tank mix, product | 19 Oct 2026 | E |
| State record rules require a rate or enough to calculate it (Victoria, NSW, Queensland, WA) | 19 Oct 2026 | E, spray reference |
| PurpleGrain spray schema: a rate with no unit is refused | 24 Oct 2026 | V, connector schema |
<https://www.integritysystems.com.au/globalassets/isc/pdf-files/lpa-documents/lpa-records-templates/lpa-03-crop-pasture-and-paddock-treatment-record-form.pdf>
Referenced files: 1 — file references are metadata, not package contents.
li-spray-weather3.33 KB
---
name: li-spray-weather
description: "Line item for PurpleGrain record skills. Do not use directly. Wind, temperature, humidity, delta T and inversion for an outdoor spray, including Queensland's before, during and after readings."
---
# Spray weather
Version 1.0.0. Do not call a PurpleGrain write. Record only measurements the farmer gives. A reading nobody took stays off the list. An empty object is not a weather record.
State variants live in this one skill. Separate `li-spray-weather-qld` skills are not part of this release.
## Applies when
A spray outdoors. A shed treatment with no outdoor spray does not need a wind reading unless the label or the state row asks for weather.
## Collect
One `weather_readings` object per observation. This item owns that list.
| Fact | Field |
|---|---|
| When it was taken | `read_at` |
| Wind speed, km/h | `wind_kmh` |
| Gust, km/h | `gust_kmh` |
| Direction | `wind_dir` |
| Temperature, °C | `temp_c` |
| Relative humidity, % | `rh_pct` |
| Delta T | `delta_t` |
| Cloud, % | `cloud_pct` |
| Rain, mm | `rain_mm` |
| Inversion seen, if they looked | `inversion_observed` |
| On-site, or a station and how far | `source` |
Finish time is not a second weather field. `li-state-chem-record-rules` puts start and finish in `record_notes` when the state requires them.
## Checks
Severity: `legal`.
- Queensland: a reading before, during and after, with the time of each (spray reference, Chemical Usage Regulation s 33C, 19 Oct 2026). One reading in Queensland: say the other two are missing. Do not invent them.
- NSW outdoor spray equipment: wind speed and direction at the start and at any significant change, plus any other weather the label names (19 Oct 2026). NT: temperature, wind speed and direction, and changes during use (23 Oct 2026, V).
- Compare wind with the window on the label they are using. The APVMA standard restraint, where the label uses it, is 3–20 km/h and no hazardous surface inversion (spray reference, 19 Oct 2026). Some labels say 3–15. Do not substitute a remembered window.
- South Australia, Group 4 herbicides in the prescribed businesses and areas: daytime, wind between 3 and 20 km/h, no surface inversion, and not little or variable wind (PIRSA, spray reference, 19 Oct 2026, E). Do not apply that sentence to every South Australian spray.
- Inversion not checked when the label forbids spraying in an inversion: flag it.
- Delta T outside 2–8, wind above 15 km/h, still air, or temperature above 28 °C are higher hazard in the Victorian ground-spraying guide (September 2022). The guide says a single high-risk factor need not stop a job unless that factor is an inversion. These are guide figures, not a limit on every label. Do not block the save on delta T alone. Say they are the Victorian guide, last checked 19 Oct 2026.
## Confirm fragment
`Wind {dir} {speed} km/h at {time}, {temp} C, delta T {n}. Inversion {checked or not}.`
## Sources
APVMA spray-drift labelling: <https://www.apvma.gov.au/registrations-and-permits/apvma-labelling-codes/alc/spray-drift-labelling-alc> (19 Oct 2026, E).
Victorian ground-spraying guide, September 2022, linked from the spray reference (19 Oct 2026, E).
NSW Pesticides Regulation 2017 cl 36, via the spray reference (19 Oct 2026, E).
Queensland s 33C, via the spray reference (19 Oct 2026, E).
NT record fields, paddock research (23 Oct 2026, V).
Referenced files: 1 — file references are metadata, not package contents.
li-state-chem-record-rules8.13 KB
--- name: li-state-chem-record-rules description: "Line item for PurpleGrain record skills. Do not use directly. Which spray-record deadline, retention and extra fields apply in the property's state, including NT and the ACT. Tasmania's retention period is unconfirmed." --- # State chemical-use records Version 1.0.0. Do not call a PurpleGrain write. This item picks the row. It does not re-ask for batch, rate, weather, buffers or the operator. Those have their own line items. It asks only for the leftover facts in the last table, and it tells `li-record-retention` which state period to compare. Ask the state once per property. `pg-onboarding` collects it for parcel search. API #239 and #240 do not add a `state` column, so do not send `state` on the property. If you were not told the state in this conversation, ask. Do not infer a state from a town name. ## Applies when A spray. Also a sowing seed treatment or a stored-grain treatment, with the limits below. Seed treatment as a state chemical-use record: the duty in each state was not verified (paddock research, 23 Oct 2026). Do not tell the farmer that a seed treatment without a spray diary is an offence in their state. Do collect the product, rate, date, place and user, because LPA-03 treats grazing a crop sown with treated seed as a paddock treatment (checked with the LPA-03 fields, 19 Oct 2026). Stored grain: the Northern Territory requires a record (23 Oct 2026, V). Do not claim the same sentence for every other state. The general spray row still applies when the state row covers the use. Household hand application is outside several of these duties. A farm boom, a paddock spot spray or an aerial job is not that exemption. ## The row Use the property's state. A label or permit period is additional. If it is sooner or longer, follow it as well. Aerial 2,4-D permit PER87451, as read for the spray reference, wants a written record within 24 hours kept two years. That permit is not every 2,4-D label. Read the label they used. | State | Make the record | Keep it | Who can require it | Status | |---|---|---|---|---| | VIC | 48 hours | 2 years from use | Agriculture Victoria authorised officer | E, 19 Oct 2026 | | NSW | As soon as practicable and no later than 48 hours. NSW DPI's "24 hours" is guidance, not this deadline. Same day is best practice only | 3 years | EPA | E, 19 Oct 2026. Regulation text matched EPA and Service NSW. The legislation.nsw.gov.au page was not re-rendered in that check | | QLD | 2 days, or 3 days for a prescribed agricultural ERA product used for relevant cattle grazing or sugarcane | 2 years, or 6 years if it contains tebuthiuron. For that ERA use in a reef catchment, give a copy to the responsible person within 5 days. That copy is not a rule for every Queensland spray | Inspector under the Chemical Usage Act | E, 19 Oct 2026 | | WA | 7 days | 2 years from use | DPIRD inspector | E, 19 Oct 2026 | | SA | Group 4 herbicides in prescribed businesses and areas: accurate records. A general farm spray is not, on the pages read, a universal statutory duty. PIRSA's 24 hours is best practice | Group 4: 2 years. General: PIRSA says two years as best practice | PIRSA for the Group 4 rules | E, 19 Oct 2026 | | TAS | A record is required for commercial and agricultural operators. No deadline was stated in the code | Not stated. Do not invent one | NRE Tasmania / Registrar of Chemical Products | E, 19 Oct 2026. Retention unconfirmed | | NT | As soon as practicable. Contract sprayers give it to the licensee as soon as practicable | 2 years after use | NT chemicals adviser or inspector | V, 23 Oct 2026 | | ACT | 48 hours. Strict liability | 2 years | EPA / Access Canberra | V, 23 Oct 2026 | South Australia: do not tell a farmer that a non-Group-4 boom spray without a diary is a breach of a general SA record statute. Queensland products named in the spray reference: ametryn, atrazine, diuron, hexazinone, tebuthiuron. The 3-day timing (Chemical Usage Regulat
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.
li-welfare-sheep-dock-castrate2.31 KB
---
name: li-welfare-sheep-dock-castrate
description: "Line item for PurpleGrain record skills. Do not use directly. Sheep tail docking and castration: pain relief over six months, and at least one tail joint left. State adoption of the sheep standards was not verified."
---
# Sheep tail docking and castration
Version 1.0.0. Do not call a PurpleGrain write. Do not own `procedures` or `method`. The husbandry orchestrator sends `tail_dock` and `castrate`, and the method (rings, hot knife, knife, cryptorchid).
Do not apply the Tasmanian mulesing ages to docking or castration. Do not apply these sheep ages to cattle or goats.
## Applies when
A sheep husbandry record with `tail_dock` or `castrate`.
## Collect
| Fact | Where it goes |
|---|---|
| Age | `record_notes` |
| Pain relief product, when used | a product line, written by the orchestrator |
| At least one palpable tail joint left, and that the ewe dock covers the vulva | `record_notes` |
| Haemorrhage control, when they say what they did | `record_notes` |
## The standard
National sheep standards, January 2016 text, last checked 19 Oct 2026, E. Adoption by state was not verified. Flag the standard. Do not call it an offence in a named state.
- S6.2 and S6.4: over 6 months, pain relief and haemorrhage control are mandatory, including cryptorchid.
- S6.3: at least one palpable free joint left on the tail.
- Guidelines, not bans: after 24 hours and before 12 weeks (G6.2, G6.3). Pain relief where practical (G6.14). Hot knife or rubber rings preferred (G6.17). Dock long enough to cover the vulva in females, and a similar length in males (G6.20). Lambs to be slaughtered before 12 weeks, or before puberty, should not be castrated (G6.22).
## Checks
Severity: `legal`, with the adoption limit above.
- Stated age over 6 months and no pain relief: show S6.2 / S6.4 and ask before saving. They may save what was done.
- Tail dock with the joint not confirmed: name that gap. Do not invent "one joint left".
- A guideline they did not follow: mention it as a guideline, not as a ban.
## Confirm fragment
`Tail dock ({method}). Castrate ({method}). Age: {age}. Joint left: {stated or not confirmed}.`
## Sources
Sheep standards PDF: <https://animalwelfarestandards.net.au/wp-content/uploads/2023/08/Sheep-Standards-and-Guidelines-for-Endorsed-Jan-2016-061017.pdf> (19 Oct 2026, E).
Referenced files: 1 — file references are metadata, not package contents.
li-welfare-sheep-mulesing4.02 KB
---
name: li-welfare-sheep-mulesing
description: "Line item for PurpleGrain record skills. Do not use directly. Sheep mulesing age, pain relief, and the wool-declaration code the farmer states. Tasmania is stricter. Sheep-standards adoption in other states was not verified."
---
# Sheep mulesing
Version 1.0.0. Do not call a PurpleGrain write. Do not own `procedures`. The husbandry orchestrator sends `mules`. Pain-relief batch, expiry and withholding belong to `li-product-batch-expiry` and `li-withholding-meat-esi`. This item checks the age and whether a pain-relief product is on the record.
Do not apply these ages to cattle or goats. Cattle welfare is not this skill. Goat ages were not verified.
## Applies when
A husbandry record whose procedures include `mules`, on sheep. If the species is not sheep, stop and say this item does not apply.
## Collect
| Fact | Where it goes |
|---|---|
| Age or age range | `record_notes` |
| Pain relief product, when one was used | a `products` line. You do not write the line; tell the orchestrator |
| Only wool-bearing skin was removed, when they say so | `record_notes` |
| NWD code they are actually claiming | `record_notes`. Do not assign one |
## The standard
National sheep standards, January 2016 text. Standards are the mandatory tier where a state has adopted them. Which states have adopted the sheep standards was not verified (fetch of that page failed in the sheep work, and it was still open on 23 Oct 2026). Do not tell a farmer the national standard is an offence in their state unless you are in Tasmania, which has its own regulation.
- S7.2: not under 24 hours old and not over 12 months.
- S7.3: pain relief is mandatory from 6 to 12 months.
- S7.4: not sheep that are diseased, weak or ill-thrift.
- S7.5: only wool-bearing skin.
- Guidelines, not bans: where done, at 2–12 weeks (G7.6). Pain relief where practical at other ages (G7.8).
Tasmania, Animal Welfare (Sheep) Regulations 2023: no mulesing under 14 days or over 6 months, and pain relief at every mulesing. Last checked 19 Oct 2026, E. This is stricter than the national standard. Use it for a Tasmanian property. Do not apply the Tasmanian ages to tail docking. That is the other sheep welfare item.
Liquid nitrogen is not mulesing. Do not record it as `mules`. The husbandry skill can note it. The NWD code for liquid nitrogen is `LN`.
## NWD code, only when they state it
AWEX NWD version 10.0, effective 1 July 2024. Last checked 19 Oct 2026, E.
| Code | Meaning |
|---|---|
| `NM` | Not mulesed and not treated with liquid nitrogen |
| `LN` | Liquid nitrogen. Not mulesing |
| `AA` | Mulesed with an APVMA-registered analgesic or anaesthetic. Replaced `PR` in July 2024 |
| `M` | Mulesed without that product |
| `ND` | Not declared |
Mulesing with a registered pain-relief product is `AA` only when they are claiming that. Mulesing without one is `M` only when they say there was none. Never assign a code. `CM` is a property answer, not a mob code. Mixed mobs take the lowest of `NM`, then `LN`, then `AA`, then `M`. `li-nwd-status` is not in this release. At shearing, do not ask again if this note already has the code.
## Checks
Severity: `legal`, with the adoption limit above.
- Age or method outside the national standard, or outside the Tasmanian rule on a Tasmanian property: show the rule and the last-checked date, and ask before saving. Do not rewrite what they say happened. They may save after they have seen it.
- Pain relief missing for a stated age of 6–12 months (national), or for any mulesing in Tasmania: flag it.
- Ill-thrift stated: flag S7.4.
## Confirm fragment
`Mules. Age stated: {age}. Pain relief: {product or not recorded}. NWD: {code or not stated}.`
## Sources
Sheep standards PDF: <https://animalwelfarestandards.net.au/wp-content/uploads/2023/08/Sheep-Standards-and-Guidelines-for-Endorsed-Jan-2016-061017.pdf> (19 Oct 2026, E).
Tasmania: <https://www.legislation.tas.gov.au/view/pdf/asmade/sr-2023-054> Preview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.
li-withholding-meat-esi3.39 KB
---
name: li-withholding-meat-esi
description: "Line item for PurpleGrain record skills. Do not use directly. Meat withholding period, export slaughter interval, wool and milk intervals, and the dates calculated from them, for a mob treatment or husbandry product."
---
# Meat WHP, ESI, wool and milk
Version 1.0.0. Do not call a PurpleGrain write. Do not ask for batch, dose or the applicator's licence. Grazing and harvest intervals on a spray or a seed treatment belong to `li-grazing-harvest-whp`.
## Applies when
A treatment or husbandry product line. Not a spray, not a fertiliser, not a sowing seed treatment (`esi_days` on a seed treatment is a different field and is not owned here).
## Collect
| Fact | Where it goes |
|---|---|
| Meat WHP, whole days, from the label | `whp_days` |
| ESI, whole days | `esi_days` |
| Wool harvest interval, only when the label states one | `wool_interval_days` |
| Milk WHP, only when this mob is milked and the label states one | `milk_whp_days` |
If the label and the current APVMA list have no separate ESI, you may send the WHP number as `esi_days` only after telling the farmer that is what you are doing. The server does not substitute. Do not send `0` to mean "not recorded". Leave it unset.
A sheep rehandling interval has no field. `record_notes`.
Never store a shorter interval than the label they are holding. Do not invent one. `listProducts?kind=drench` is a short catalogue, not the APVMA list, and it has no vaccine or lice kind.
## Checks
Severity: `legal`. The label WHP is the legal domestic interval. Recording it is also what LPA asks for.
- End dates, which you calculate: meat WHP end = treatment date + `whp_days`. ESI end = treatment date + `esi_days`. Wool end = treatment date + `wool_interval_days` when that number was given. Say which day you are using. A one-day difference against a sheet is a convention. A larger gap, or a date copied from the row above, is a likely error.
- Several products: the mob waits until the latest end. Say so.
- If you can search, compare a stated sheep ESI with the current APVMA sheep list and report a difference. Do not override the farmer silently. Cattle ESI list URL: unverified (livestock research, 23 Oct 2026). Do not invent that URL.
- Oxytetracycline or chlortetracycline in sheep: keep the listed ESI in `esi_days`. Add the SAFEMEAT provisional 90-day Russian sheep-meat note in `record_notes`. Do not store 90 as the ESI unless the farmer confirms that is the figure they want. That note is sheep meat, not cattle. Last checked in the November 2024 sheep ESI PDF via the sheep reference, 19 Oct 2026.
- Wool and milk intervals are not the mob `withholding` object. Meat WHP and ESI are. After the save, the orchestrator reads `getMob.withholding`. Do not tell them the stock can be sold or slaughtered from these dates alone.
## Confirm fragment
`WHP {n} d -> {date}; ESI {n} d -> {date}`. Add wool or milk only when a number was stored. If ESI was copied from the WHP, say so in the checks line.
## Sources
| Source | Last checked | Status |
|---|---|---|
| APVMA ESI, sheep | 19 Oct 2026 | E |
| November 2024 sheep ESI PDF, including the Russian 90-day OTC/CTC note | 19 Oct 2026 | E |
| LPA treatment template columns (WHP, ESI, safe slaughter date) | 19 Oct 2026 | E |
| Cattle ESI list | — | U. No URL was verified |
Sheep list: <https://www.apvma.gov.au/chemicals-and-products/pesticides-and-veterinary-residues/esi-sheep>
Referenced files: 1 — file references are metadata, not package contents.
pg-core10.7 KB
---
name: pg-core
description: "Use on the first PurpleGrain call in a conversation and before any PurpleGrain record is saved. Check whether the account is empty or only partly set up and offer pg-onboarding. Shared rules: confirm before a write, cite the source and the date it was last checked, and treat the result as records and reminders, not advice."
---
# PurpleGrain core
Version 1.1.0. Every PurpleGrain record skill follows this. It does not collect the fields of a drench, a spray or any other job, and it does not write those records.
## Disclaimer
These are records and reminders, not veterinary, legal or agronomic advice. The label on the pack, the APVMA permit and a vet's written direction are the authority for a chemical. Off-label use and Schedule 4 medicines belong to a vet. What to spray belongs to the label and the applicator.
Say that the skill asks for what the rules need and stores what the farmer confirmed. Do not say the record makes the farm compliant, and do not say "LPA approved".
## First call
On the first PurpleGrain call in a conversation, before answering a records question or writing anything:
1. `getCurrentUser` is the signed-in user.
2. `listBusinessMembers` with that user's id and `include: "organization"` is the businesses they belong to.
3. `listProperties` with no `organization_id` is personal properties only. A business's properties need that `organization_id`. For a named business, do not add personal properties or another business's properties unless the farmer asks.
4. Read onboarding metadata off that response (see below). If there is already a property and the question is about status, `getPropertyStatus` is the status call. Do not invent an id to call it.
Then:
- `status` `complete`: do not offer setup. Do the job they asked for.
- `not_started` or `in_progress`, or no properties, or a write that comes back with the same onboarding block: offer once. "Looks like you're new. Want me to set up your farm in about 5 minutes?" If they have already done some of it: "You've already got {what is done}. The next piece is {next step}. Want to do that now?"
- A no is a no for the rest of the conversation. Keep reading and, where the asset exists, keep recording. Offer a missing step again only when a write cannot be attached because that asset was never created.
- This is a suggestion. It is never a hard block on a read, and it is never a reason to refuse a record they can already attach to a property, paddock or mob.
If they say yes, follow `pg-onboarding` (version `pg-onboarding@1`). Do not invent a shorter setup.
Order when this text is not what the agent has open: the installed skill, then the connector prompt `setup-my-farm` or the resource `purplegrain://skills/pg-onboarding` (the same text), then the `agent_hint` on the metadata. The hint is a short fallback, not a substitute for the skill when the skill is loaded.
API #240 puts this block on responses. If a response has no block, the connector has not picked up that PR. Say you are inferring and follow the inference rules in `pg-onboarding`. Do not invent a tool name to fetch onboarding.
## Onboarding metadata
Read whichever of these the response actually has. Agents do not reliably see MCP `_meta`, so use the visible text or `structuredContent` when both exist. If copies disagree, follow the visible one and say so.
- JSON:API: top-level `meta.onboarding`, and `links.onboarding` when the response includes it
- Flat JSON: top-level `_meta.onboarding`
- The same object echoed in the tool's visible text or structured content
```json
{
"status": "not_started | in_progress | complete",
"completed_steps": ["create_team"],
"next_step": "create_team | create_property | map_boundaries | map_paddocks | create_blocks | add_mobs | first_record",
"skill": "pg-onboarding@1",
"skill_url": "https://github.com/purplegrain/plugins/blob/main/purplegrain/skills/pg-onboarding/SKILL.md",
"agent_hint": "plain-language instruction inclPreview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.
pg-onboarding19.5 KB
---
name: pg-onboarding
description: "Set up a PurpleGrain account in conversation: individual or organisation and team, properties with a PIC, parcel boundaries where the state has a cadastre, paddocks with tenure and blocks, mobs, then one real record. Use when the farmer wants the farm set up, or when pg-core finds onboarding not started or in progress. Version pg-onboarding@1. A suggestion, never a block on reading records."
---
# Set up the farm
Version `pg-onboarding@1` (skill version 1.1.0).
Follow `pg-core` for the disclaimer, the confirm rule and how to read metadata. This skill creates the account structure. The first real record is saved by the matching record skill, not by a dummy write here.
This sets up records. It is not legal, financial or farm-business advice. A PIC is private: leave the property `visibility` unset or `private`. Do not put a PIC on a public page, and do not look a PIC up on WA Brands Search.
The same text is what the connector should serve as the prompt `setup-my-farm` and the resource `purplegrain://skills/pg-onboarding`. The file those names must resolve to is `purplegrain/skills/pg-onboarding/SKILL.md` in this repository, listed in `purplegrain/CATALOGUE.md` and `purplegrain/skills/index.json`. Its public URL is `https://github.com/purplegrain/plugins/blob/main/purplegrain/skills/pg-onboarding/SKILL.md`.
API #240 is the onboarding guidance (`meta.onboarding` / `_meta.onboarding`, skill `pg-onboarding@1`). API #239 adds the nullable columns below. API #241 and #242 are the parcel search and the parcel picker. If a tool named here is missing from the connector, say that connector has not picked up the PR yet. Do not invent a replacement tool, and do not use WA Brands Search to fill the gap.
## How to resume
Read `meta.onboarding` or `_meta.onboarding` as `pg-core` describes. The server's `next_step` wins. Do not redo a step listed in `completed_steps` unless the farmer wants to change it.
| `next_step` | Step |
|---|---|
| `create_team` | 1. Individual or organisation, and the team |
| `create_property` | 2. Properties and PIC |
| `map_boundaries` | 2b. Parcels, or a drawn boundary. After the property, before paddocks |
| `map_paddocks` | 3. Paddocks, tenure, and areas |
| `create_blocks` | 3. Blocks, after the paddocks exist |
| `add_mobs` | 4. Mobs |
| `first_record` | 5. One real record |
If they jump ahead ("just add the ewes"), do that step, then offer the skipped ones. Do not refuse. If they ask to record a job and the mob or paddock already exists, record it and let setup wait. If it does not exist, create that asset with them (the step below) and then the record. Never block a read because setup is unfinished.
Offer in the farmer's words, one or two questions at a time. Confirm before each write (`confirm: true`). A yes to "keep going" is not a yes to a particular property, parcel, or invite.
### When the metadata is absent
#240 puts the block on responses. If this response has none, the connector has not picked up that PR. Say you are inferring. First incomplete step in this order:
1. `create_team` — you have not asked individual versus organisation.
2. `create_property` — the chosen owner has no property.
3. `map_boundaries` — a property has no attached parcel and no paddock, and it is not in a state where parcel search is unsupported.
4. `map_paddocks` — a property has no paddock, and they have not said it is one area.
5. `create_blocks` — paddocks exist and you have not asked whether any are grouped.
6. `add_mobs` — you have not asked about livestock.
7. `first_record` — structure exists and they have no completed record they confirmed in this setup.
Stop inferring a step the farmer has already answered in the conversation.
## Step 1 — Individual or organisation, and the team
Ask: "Is this farm just you, or a business with other people on it?"
**Just them.** Properties will sit on the personal account (`listProperties` with no `organization_id`, and `createProperPreview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.
Release notes
Addresses the review of v1.0.0. Tool naming and descriptions: every tool has a short plain-language description of what it does, when to use it and its side effects, with no API boilerplate or preferential wording; misleading names are renamed (getCurrentUser, disconnectAssistant, getAssistantConnection, updateAssistantConnectionAccess, likeContractor, unlikeContractor, replaceTaskImages, getPropertyRegisters, listPaddockOrMobRecords, stagePhotoUpload). Sensitive data: the IP-address city lookup, the Google place resolver, the user lookup by email and the subscription (billing) tools are no longer available to assistants. Personal identifiers: tool responses no longer include email addresses or phone numbers of users, clients or invitees; the only contact details returned are those of the grower or provider on a publicly listed task. Adds the PurpleGrain record-checking skills, with pg-onboarding as the onboarding skill.
Declared in the saved package. Remote tools may change independently.
Package details
Publisher declarations from the archived package. These are separate from our research and the live service's terms.
- Package author
- PurpleGrain PTY LTD
- Keywords
- See keywords
- Declared availability
- No country restrictions declaredDeclared regions; live availability may differ.
- Getting started skill
- ./skills/pg-onboarding/SKILL.md
- Review scenarios
- 5 positive · 3 negativeScenario counts, not test results.
Declared capabilities
- Read farm records
- Manage farm records with confirmation
- Find contractors
Package observed Nov 30, 2026.
Technical details
- First seen
- Nov 19, 2026 · 00:00 UTC
- Last seen
- Dec 1, 2026 · 00:00 UTC
- Collection status
- Collected
plugin_asdk_app_6ac844f81b94819194d626c57fc3904e
Download plugin data (JSON)Plugin details: freshly prepared. Prepared . Refreshed when plugin data changes or after 6 hours. Your account and Follow status are live.