# Shared project memory starter

Fictional data for a small two-agent workflow. Copy the two sections below into the named files, then replace the project, decisions and source references with your own. The source paths are examples and do not exist in your repository. Keep one current record per topic. A revision label in Markdown does not provide concurrency control.

## Current record

```markdown
# PROJECT-MEMORY.md (fictional example)
Project: example-checkout
Topic: launch-login
Current decision: DEC-014
Revision: 5
Status: confirmed
Decision: Use email codes for the first web release.
Confirmed by: project owner
Source: reviews/2026-11-16.md#login-approval (fictional)
Effective from: 2026-11-16 09:00 Asia/Singapore
Recorded at: 2026-11-16 09:10 Asia/Singapore
Supersedes: DEC-009 (email and password)
Reason: Keep the first release to one login method.
Rejected option: Ship both methods in the first release.
Scope: First web release; later releases are undecided.
Implementation: Not verified. Inspect login UI, retry handler and tests.
History: DECISION-HISTORY.md
Next check: Read DEC-014, inspect the affected code, run existing checks.
```

## Decision history

```markdown
# DECISION-HISTORY.md (fictional example)

## DEC-009
Decision: Use email and password for the first web release.
Status: superseded by DEC-014
Source: reviews/2026-11-15.md#login-approval (fictional)
Effective from: 2026-11-15 10:00 Asia/Singapore
Effective until: 2026-11-16 09:00 Asia/Singapore

## DEC-014
Decision: Use email codes for the first web release.
Status: confirmed; current pointer is in PROJECT-MEMORY.md
Source: reviews/2026-11-16.md#login-approval (fictional)
Reason: Keep the first release to one login method.
Supersedes: DEC-009
Rejected option: Ship both methods in the first release.
Implementation checks: pending; this approval is not proof of working code.
```

## Read before a task

Before changing login in example-checkout, read PROJECT-MEMORY.md and the linked decision history from the latest accessible version. Return the current decision ID, status, source, scope and implementation checks still pending. Keep superseded and proposed decisions separate. If you cannot access a source or find conflicting approvals, report that gap before the affected change. Do not edit these records in this read-only step.

## Update after an approved change

Read the latest version. Verify the approving source and scope. Preserve the old decision in history; update the current pointer. Keep implementation checks pending until observed. Read both files back. If another writer changed them, reconcile from the latest version instead of overwriting it.

## Acceptance

In a fresh conversation, ask for the current decision and why the old one changed. Expect DEC-014, its source, the first-web-release scope and pending checks. Then ask about an unrelated project; this project's decision must not be reused there. These are expected results, not a record of an executed test.
