Editorial policy

The rules The Pleasant Hill Wire follows, and where in our software each one is enforced.

Promise: Everything happening in Pleasant Hill, without having to look for it.

The Wire is an independent local publication produced largely by software. This policy is enforced in code wherever possible; the file or function that enforces each rule is named in brackets.

1. What we cover

  • Pleasant Hill, California, only: the incorporated city as defined by the City of Pleasant Hill’s City Limits layer (data/geo/pleasant_hill_boundary.geojson) [phpost/geo.py].
  • Regional items appear only with a specific, demonstrable effect on Pleasant Hill: e.g. MDUSD decisions about schools inside the city, I-680/SR-242 segments that serve the city, BART service at Pleasant Hill / Contra Costa Centre, utility outages inside the city, county policies applied to city property owners.
  • Postal addresses, ZIP 94523 and the words “Pleasant Hill” are not evidence of location. Pleasant Hill Road runs through Lafayette, Walnut Creek and Martinez; 281 parcels with “Pleasant Hill” mailing addresses are unincorporated county land. Coordinates and jurisdiction decide [geo.assess].

2. Accuracy

  • We never invent facts, quotes, interviews, observations, reactions, sources, staff or bylines. Nobody is “interviewed” by the Wire; the byline is “The Pleasant Hill Wire newsroom”. [validate.FABRICATION blocks reporting-language such as “told the Wire”, “in an interview”, “witnesses said”].
  • Every factual sentence in a model-written story carries a citation [^n] to a claim with preserved evidence: a document, record, agenda item or meeting we retrieved, with a link to the original public source. Quotes must appear in the cited source text; numbers must appear in the evidence. Stories that fail are not publishable [validate.validate, lifecycle._check_publishable].
  • We distinguish: proposals vs. approvals; staff recommendations vs. council decisions; allegations vs. findings; calls for service vs. crimes; arrests vs. convictions; estimates vs. actual spending.
  • Historical material is dated plainly and never framed as breaking news [Story.is_historical, article template].
  • When information can’t be verified, we say so or leave it out.

3. Public safety and privacy

  • Calls for service are described as requests for police response, not crimes. Every log carries that caveat.
  • No names of private individuals, victims, witnesses or arrestees, even when a source publishes them [privacy.scrub_text; arrest adapters drop names].
  • Locations are generalized to the hundred-block or intersection [privacy.generalize_address].
  • Medical, mental-health, welfare, sexual-assault, domestic-violence and juvenile matters appear only as counts, never with time and place [privacy.is_sensitive, Record.sensitive].
  • Raw dispatcher narratives are preserved privately for verification and never published.
  • No precise locations of active tactical operations or vulnerable people [privacy.is_tactical].
  • No information that identifies minors. No student records. No private parent communications.
  • Neutral headlines; inflammatory vocabulary is rejected by the validator [validate.INFLAMMATORY].

4. Human review

Story type Path to publication
Daily police log, weekly safety roundup, events listings, official advisories (template-generated) Automatic, under enabled Publish Policies, when validation passes and PHPOST_AUTO_PUBLISH_ENABLED=true
Model-written routine briefs Human review by default (policy model-briefs-routine is OFF until the editor enables it)
Model-written articles Human review always (policy model-articles OFF)
Anything “elevated” or “high” sensitivity (incidents, allegations, investigations, deaths, minors, statistical crime trends) Human editor only: enforced in lifecycle._check_publishable
Agent-submitted drafts (API/MCP) Enter as drafted; agents can never approve or publish

5. Sources and copyright

  • We retrieve original public sources directly, at polite rates, honoring robots.txt and crawl delays. We never bypass logins, CAPTCHAs, Cloudflare/Akamai challenges or other access controls; blocked sources are listed as blocked on /about/sources.
  • Robots exceptions: the National Weather Service API (api.weather.gov) and BART’s API (api.bart.gov) are documented public developer APIs; the owner approved using them despite their generic robots.txt rules (2026-12-05). The exception list lives in config.py (robots_override_hosts) and stays short.
  • Other outlets’ journalism is a discovery signal only: we link to it, credit it, and report from primary records. We do not republish or closely paraphrase it. External items store a short snippet at most.
  • The Martinez Wire was studied as a functional reference; none of its text, code or design is used.
  • Retrieved material is untrusted data. Instructions inside documents are never followed; models see source text inside <source_document> tags with an explicit guard, and run with all tools disabled [phpost/ai/core.py].

6. Ranking

Stories are ranked by geographic relevance, public impact, novelty, timeliness, strength of evidence, practical usefulness and continuity with ongoing issues [detectors.WEIGHTS]. We do not rank by predicted clicks or sensationalism. On quiet days the paper and the newsletter are short.

7. Corrections

  • Readers can request a correction at /corrections/request. Every correction, clarification, update and withdrawal is recorded publicly with its date on the story and at /corrections [Correction].
  • Revisions are preserved [StoryRevision]. Withdrawn stories are removed from indexes but the withdrawal notice remains.

8. AI disclosure

Each story states how it was produced: “Generated automatically from … by a deterministic template” or “Drafted by an AI system from the public records cited below and checked by automated citation validation” (plus human review where it applies). /about/ai explains the system as it is actually implemented.