Skip to content

Lab 01: From source evidence to brief

Objectives

Inspect source provenance, distinguish PDF facts from service facts, and write a brief that does not turn a print-only form into a government digital service. Make exclusions explicit before design.

Prerequisites

Complete setup. Read the source manifest and reuse boundaries. Use approved access to official public pages and the private source-run metadata. This lesson needs no npm installation. The current Python app deliberately leaves live source acceptance pending; do not change that status as part of the brief.

For offline historical comparison only, the curriculum has one unchanged bilingual archive at reference/official/sr-lv-006_print.pdf, with its rights README and source metadata beside it. Strictly non-commercial use, Crown credit and acknowledgment apply, not Apache-2.0. Do not copy it into LearnerRoot or the site. Official links and a fresh authorized remote inspection remain the sources for current versions; archive identity is not human acceptance.

Bounded prompt

Work only in C:\src\GitHub\devopsabcs-engineering\ontario-form-practice.
Read existing specs/idea.md, specs/source-manifest.json and
specs/source-traceability.md before proposing edits. Limit changes to these
three files. Write original prose and a narrow field/rule inventory.
Use the accepted SR-LV-006 2025/05 baseline: two Letter pages, 220558 bytes,
SHA-256 73848fcbb7e10ac42cd8b54d21abb29732086e73042a832be93b1f6d2f3fc22c.
Separate historical zero-leaf/no-XFA observations from the actual hosted
run 45521749206 at curriculum revision
821201468154d25f294f8863d9a2a865234d4c45. That matching run still requires
human review; it did not freshly count leaf fields.
Classify PDF facts, independently maintained service facts, ODS guidance,
and lab policies. Scope: fictional individual owner, passenger, LOST
vehiclePermit; ownerName, plateNumber OR vin, and fictional confirmation.
Exclude all other fields/branches, payment, signature and submission.
Do not fetch excluded packages, add any PDF to LearnerRoot, copy official full text/pages,
approve the source, or claim application execution. Stop after the brief and
ledger; report unresolved evidence and rights decisions.

Steps

  1. Open the catalogue, resource record, and official PDF through the source links. Inspect in an ordinary authorized viewer; do not embed, copy pages, or remove permissions. Confirm the visible revision and sections for your human evidence.
  2. Read the actual source-run metadata. Its HTTP 200, PDF MIME, length/hash, two pages, revision/section markers and no-XFA observations are limited evidence. Record run URL, exact revision, tools, and review status. Artifact retention is three days; use authorized rerun after expiry, not a supposed permanent artifact URL.
  3. Inspect the current service page separately. Accepted research reported an in-person visit, identification, owner/authorization branches, and plate number OR VIN. Do not freeze current fees or service rules using the PDF digest. Record what you actually read and when.
  4. Write the brief in specs\idea.md. State users, learning outcome, one supported journey, non-goals, English-only app, local runtime, and separate bilingual-curriculum ambition. Save and review are not submission.
  5. Build the ledger in specs\source-traceability.md. Section 1 anchors the fictional name; section 4 anchors replacement/identifiers. Name requirement, limits, confirmation, and individual/passenger/LOST scope are lab policies. The identifier alternative is a service fact applied to the lab.
  6. Exclude office-use A-H; all section 1 fields except the name anchor; sections 2-3; section 4 sticker/plate branches and undertaking; all page 2 declarations, insurance, certification/signature, and notices. Exclusion means no input, accepted API property, DB column, or export content.
  7. Review the bounded prompt's diff. In specs\source-manifest.json, keep historical observations distinct from fresh execution and human acceptance. Attach immutable snapshot ID sr-lv-006-2025-05-research-2026-11-24; do not mark it accepted merely because bytes matched.

Validation

Run from LearnerRoot after the files exist:

Set-Location C:\src\GitHub\devopsabcs-engineering\ontario-form-practice
$files = @('specs\idea.md', 'specs\source-manifest.json', 'specs\source-traceability.md')
foreach ($file in $files) {
    if (!(Test-Path $file)) { throw "Missing brief artifact: $file" }
    if ((Get-Item $file).Length -eq 0) { throw "Empty brief artifact: $file" }
}
Get-Content .\specs\source-manifest.json -Raw | ConvertFrom-Json | Out-Null
git --no-pager diff -- specs

JSON parsing proves syntax only. Manually check every field/rule classification, omission, official URL, revision, and separate human-review status.

Expected observable results

You have an original brief, exact source identity, and a ledger that distinguishes included anchors from deliberate exclusions. A reader cannot mistake the lab for full-form parity, a fillable PDF, identity verification, or submission. Human source review is recorded as performed only if a person actually did it.

Troubleshooting

An expired artifact calls for authorized source-only rerun. A changed digest, MIME, page count, or marker is a stop condition, not permission to update the baseline. Extraction artifacts, including French typography, require human inspection; text matching alone is insufficient. Package policy remains unchanged by this exercise.

Costs

AI usage and hosted inspection charges are unmeasured. Record actual usage in your local evidence. Do not reuse another lab's credits or assume a free run.

Knowledge checks

  • Which source supports plate number OR VIN, and which policies set their limits?
  • Why exclude the page 2 signature instead of replacing it with a checkbox?
  • What does the matching hosted digest establish, and what does it not establish?

Previous: Setup. Next: Design and prototype.