Lesson 05 / 08 · GPT-6.1 Terra · scoped implementation experiment; compare with Sol when needed · 75 min suggested
Ship a bounded, tested implementation with Terra
Deliver a small code change with behavior evidence, a reviewable diff and a clear boundary for escalation.
Understand
The ideas to carry forward.
- A bounded implementation task has a stable entry point, a small behavior contract and an observable result. Terra is a useful candidate for scoped fixes and visual or browser-oriented work; this lesson tests a local normalization slice rather than claiming it is the best general coding model. Inspect the repository, applicable instructions and existing tests before selecting an implementation. Preserve unrelated changes and keep the patch narrow enough that a reviewer can understand its consequences.
- The implementation contract should describe behavior at the boundary. Northstar needs to normalize source records, preserve provenance, identify ambiguous account joins and make repeat processing stable. It does not yet need a database, authentication system or model provider. Use meaningful fixtures for duplicate delivery, missing fields, conflicting IDs and out-of-order observations. Assert the intended result, not the sequence of helper functions chosen by the implementation.
- Human engineering judgment appears in scope control and verification. A test failure can reveal a bad assumption in the contract; do not automatically weaken the test until the patch passes. Ask the builder to diagnose whether the failure belongs to the implementation, fixture or requirement. Escalate architectural changes to the decision owner. A passing local build proves only the checks that ran; deployment, live connector behavior and customer usefulness need separate evidence.
Worked example · illustrative
See the method in use.
The synthetic task is normalizeRecords(records), a pure function that emits normalized records and issues. Each accepted record retains sourceId, sourceSystem, accountId, observedAt and text. Deduplication uses sourceSystem plus sourceId; two different sources about the same issue remain separate evidence. If a repeated key contains a conflicting payload, emit a conflict instead of silently taking the latest array entry. Account names never override an explicit ID. The acceptance fixtures include the same delivery twice, equal IDs in two source systems, missing accountId, invalid date and conflicting repeated payloads. Exact output: a bounded patch, fixture results, a review note with changed behavior, and commands with actual exit outcomes. No test result is filled in before execution.
Practice
Make a first attempt.
Implement the slice in a disposable branch or local exercise repository. Have a peer add one unseen fixture that violates your assumed input shape. Diagnose the failure, revise the contract if warranted, and retain the before-and-after check results. Compare a second model only if an unresolved failure justifies it.
Open the adaptable prompt
Implement one bounded Northstar normalization slice in the supplied repository. Inspect applicable repository instructions, the existing stack, test conventions and working-tree changes first. Use GPT-6.1 Terra if available and record the observed configuration. Do not add live connectors, authentication, a database or model calls. Implement normalizeRecords(records) using the repository's language and conventions. Return normalized records and explicit issues. Preserve sourceSystem, sourceId, accountId, observedAt and text. Deduplicate only identical deliveries with the same sourceSystem and sourceId. Preserve separate source systems even when sourceId matches. A conflicting payload for the same identity must become a review issue; do not silently overwrite it. Missing account IDs and invalid dates must be visible, and name similarity must not create an account match. Write or adapt meaningful behavior tests for those cases using synthetic fixtures. Preserve existing behavior outside this slice. Run the repository's required relevant checks and record the actual results, including failures or checks that could not run. Return the diff summary, behavior evidence, unresolved limitations and a rollback approach. Stop and identify the required decision if the task needs a schema migration, a new external service or broader architectural change. Do not claim a preview, deployment or live integration was verified unless it actually was.
Adapt the prompt to your context and use only information you are authorized to share. Tool access depends on your environment.
Review
Inspect the result.
Use these checks before handing the work to someone else:
- The patch stays within its boundary and preserves unrelated working-tree changes.
- Provenance survives normalization, and deduplication does not erase distinct evidence.
- Ambiguous identities, invalid dates and conflicting repeated payloads produce explicit issues.
- Behavior checks include an unseen adverse case and record actual execution outcomes.
- The handoff distinguishes local verification from unperformed live or deployment checks.
Transfer
Apply it to a fresh case.
Apply the same bounded-contract method to an accessible comparison component or a browser workflow fix. Replace data-integrity assertions with keyboard, error-state and recovery checks that match the new behavior.
Keep the decision, assumptions, evidence and next owner together. These are self-study checks, not a graded assessment.
Resources
Tools and further reading.
Connectors: Local repository tools, Optional GitHub read access; pull-request actions require task authority.
Skills: software-studio, starlight-qa, architect-ai-system.
Tool names describe possible workflows, not a guarantee of access. Sources checked 2026-10-31; recheck current documentation before implementation.
Open the source register
- OpenAI: GPT-6 Astra model reference ↗Model positioning and supported API settings; recheck the target endpoint before a live lab.
- OpenAI: GPT-6.1 Sol model reference ↗Model positioning and supported API settings; does not establish a local benchmark winner.
- OpenAI: GPT-6.1 Terra model reference ↗Model positioning, visual and scoped implementation use, and API effort options.
- OpenAI: Models in ChatGPT ↗Host model selection and account-dependent availability; distinguish a product label from an API model identifier.
- OpenAI: Subagents ↗Delegation configuration and host-specific orchestration; inspect actual runtime options.
- OpenAI: Connectors and remote MCP servers ↗Tool access, authorization and connector integration boundaries.
- OpenAI: Plugins ↗How packaged capabilities relate to tools and skills; a reference is not an installation.
- OpenAI: Enterprise skills ↗Reusable operating instructions and organization-managed distribution.
- OpenAI: Evaluation best practices ↗Task-specific evaluation, representative data and iterative improvement.