Townlight

Windows 1.9.3.2 current release

Townlight for Windows 1.9.3.2 is the current signed public beta. See the release notes and acceptance record.

For an existing city, make and verify a backup, close Townlight, run the signed Windows 1.9.3.2 MSI, then reopen Townlight under the same Windows account and existing profile. Direct upgrade is tested from 1.9.3.1; earlier paths have separate prior evidence.

Windows 1.9.1.1 historical Station recorder release

Windows 1.9.1.1 improves the clerk workflows for Records, Meetings, and Code, adds Open Hall icons, and fixes the ten-second Station preview.

Release and downloads · Acceptance and limits.

Townlight Contracts User Manual

Shared meeting imports · Windows 1.8.1.1

Windows 1.8.1.1 adds shared meeting imports for 31 source families, with 34 supported source/format pairs. Installed Windows Sandbox checks exercised preview, save and durable readback using public captures and fixtures, plus the documented Townlight handoffs. These checks do not establish automatic discovery on every live portal or a complete retest of every module.

All 31 sources, formats and handoffs · Installed acceptance.

Windows 1.9.1.1 contains Station 0.4.4, Records 1.8.0.dev4, Townlight Runtime 0.3.3 and Meetings 1.0.6. The release acceptance summary identifies the verified workflows and the builds that produced the evidence.

For Non-Technical Users

Townlight Contracts helps city staff keep contract records, clause topics, expiration dates, renewal notes, public-records review notes, and export manifests organized. It can create a sample contract registry stub, flag clause topics, build expiration reminders, summarize renewal visibility, and assemble a public-records export checklist.

In the Windows suite

Register executed agreements, store their signed PDFs, and track staff-entered renewal deadlines. Install the signed Townlight Windows beta 1.9.3.2 and select the full profile. See the staff operating guide. The package examples below describe the standalone development interface.

Current state: 0.2.1 contract repository foundation plus registry persistence release. Townlight Contracts can optionally save contract registry and renewal visibility records when IT configures TOWNLIGHT_CONTRACTS_REGISTRY_DB_URL. Townlight Contracts does not provide official legal interpretation, legal advice, live contract management platforms, live LLM calls, contract execution workflows, renewal approvals, or contract system-of-record updates. Staff own every decision.

For IT and Technical Staff

Townlight Contracts is a FastAPI Python package pinned to townlight-core==1.3.0.dev2. The current runtime exposes:

Run:

python -m pip install -e ".[dev]"
python -m pytest -q
bash scripts/verify-release.sh

Set TOWNLIGHT_CONTRACTS_REGISTRY_DB_URL to enable local SQLAlchemy-backed contract registry and renewal visibility records. If the variable is not set, Townlight Contracts keeps deterministic stateless behavior and retrieval endpoints return actionable configuration guidance.

Architecture

flowchart LR
  Staff["Clerk / legal / finance / department managers"] --> Townlight Contracts["Townlight Contracts"]
  Townlight Contracts --> CivicCore["Townlight Core 1.3.0.dev2"]
  Townlight Contracts -. future file links .-> CivicRecords["CivicRecords AI v1.4.0"]
  Townlight Contracts --> Export["Public-records export checklist"]

Townlight Contracts depends on Townlight Core. Townlight Core does not depend on Townlight Contracts. Townlight Contracts v0.2.1 uses deterministic sample contract data plus optional local registry persistence; live contract management platforms, Townlight Records file links, staff review queues, and production contract-system integrations are future work.

Upgrading standalone PostgreSQL data

Stop the old service and back up its PostgreSQL database. In the same database, verify that the old schema exists and the new schema does not. As the schema owner, run the following in a transaction, then start the upgraded service and check that existing records are present. The operation keeps the tables and data in the same database. SQLite files require no schema rename.

BEGIN;
ALTER SCHEMA civiccontracts RENAME TO townlight_contracts;
COMMIT;

Standalone staff API authentication — unreleased source correction

The standalone /api/v1/townlight_contracts/ endpoints require X-Townlight-Contracts-Role: staff and X-Townlight-Contracts-Staff-Key: <configured secret>. Set TOWNLIGHT_CONTRACTS_STAFF_API_KEY in the service environment; never place the secret in URLs or public examples. Missing configuration returns 503; missing, invalid or non-staff credentials return 403. Health and the deterministic sample page remain public. This reuses Core’s staff-key contract and is not individual staff-account administration.

The installed Windows suite uses its existing named staff sessions and role checks through municipal_staff.py, rather than this standalone API. This source correction is not present in the unchanged Windows 1.8.1.1 MSI.