# PRD — magalies-pharma-heisenberg-frontend-new

Evidence date: 2026-10-09. Source: `git@bitbucket.org:overdrive/magalies-pharma-heisenberg-frontend-new.git`, `main` at `a110255`. Full hash `a1102558add413d635de871b289ab1287eb47175`.

Provenance labels: **Documented**, **Implemented**, **Inferred**, **Planned**, **Unknown**.

No formal PRD existed in the repository or in `silicon_ark/magalies-pharma-heisenberg-frontend-new/` before this file. The only tracked file is `.gitignore`. The statements below record that absence. They are not a product decision.

## Product purpose

**Unknown / Requires Confirmation.**

The repository slug is `magalies-pharma-heisenberg-frontend-new`. No README, page title, route, or comment defines a purpose. The `.gitignore` header describes ignore examples. It does not describe prescriptions, medicines, packaging, a pharmacy staff UI, or a Magalies Pharma product.

**Implemented:** a Bitbucket Git repository with one commit (`a110255`, 2024-11-20, Kevin James King, "Initial commit") whose tree is `.gitignore` only.

What a future product should do is out of scope for this document.

## Users and roles

No user, role, permission, or account model is present.

| Role | Evidence | Provenance |
|---|---|---|
| Repository author | Commit `a110255` names Kevin James King (`kevin@overdrive.co.za`) | **Implemented** as git metadata, not an application role |
| Application user | No source file names a person, role, or login | **Unknown** |

Who would use a product in this repository, if one is added later, is **Unknown / Requires Confirmation**.

The Cognito groups documented for `magalies-pharma-heisenberg-serverless` (SuperAdmin, Prescription, Fulfilment, Packaging, Customer) are roles of that API. This repository does not mention them. They are not users of this tree.

## Major workflows

No application workflow is implemented. There is no trigger, input, validation, output, or error path in product code.

The only observed repository operation, besides reading the tree, is the history of that one commit:

- Trigger: the initial commit on 2024-11-20.
- Input: `.gitignore` (50 lines).
- Behaviour: the file is the entire tree. No other path is added, renamed, or deleted in any commit.
- Output: `main` at `a110255`, which is also `origin/HEAD`.
- Provenance: **Implemented** as git history. This is repository state, not application behaviour.

A clone of `git@bitbucket.org:overdrive/magalies-pharma-heisenberg-frontend-new.git` on 2026-10-09 checked out `main` and matched that tip. Provenance: **Implemented** as remote state on that date.

## Integrations

No integration is declared or called from this repository.

| System | Evidence | Provenance |
|---|---|---|
| Bitbucket Git hosting | Remote URL on `origin`; one commit on `main` | **Implemented** |
| SonarQube | Filenames `sonar-project.properties` and `sonarqube_scan.bat` listed by OVER-190 for the scan-host path. Files not in git and not read | **Unknown** |
| Heisenberg API (`magalies-pharma-heisenberg-serverless`) | Not referenced by any file in this repository. Silicon Ark for that API says the front end is elsewhere and names an unused S3 bucket `heisenberg-frontend-${EnvironmentName}`. Those documents do not name this slug | **Unknown** whether this slug was meant to be that front end |
| Heisenberg print server | Not referenced by any file in this repository. Silicon Ark for `magalies-pharma-heisenberg-print-server` does not name this slug | **Unknown** |
| Any package registry, mailer, queue, or storage service | Not present | **Unknown** |

## Constraints

- This PRD must not treat the repository name as a specification.
- Ignore patterns in `.gitignore` must not be read as a chosen language or framework. The file says they are examples.
- Requirements cannot be tested against this repository until code or a written spec exists.
- The scan-host working tree was not available. Filenames reported there are not confirmed file contents.
- Behaviour in `magalies-pharma-heisenberg-serverless` and `magalies-pharma-heisenberg-print-server` is evidence about those repositories only.

## Requirements discovered from the implementation

No functional requirements were discovered. There is no command, controller, route, screen, schema, test, or application config to cite.

| ID | Statement | Provenance |
|---|---|---|
| — | No requirement text exists in the repository | **Unknown** |

Nothing is marked **Planned**. A plan would need a document or an issue inside the repository, and there is neither.

## Data the repository manages

None. There is no schema, fixture file, or sample record.

## Out of scope for this document

- Defining screens, prescription capture, fulfilment, or packaging behaviour because the slug contains "frontend" and "heisenberg".
- Importing the order, batch, scan, and courier workflows from `magalies-pharma-heisenberg-serverless` as requirements of this slug.
- Importing the ZPL print endpoints from `magalies-pharma-heisenberg-print-server` as requirements of this slug.
- Contents of the two Sonar filenames on the scan host.

## Human confirmation

- Product purpose, users, and workflows, if this repository is meant to hold a product.
- Whether any requirement lives in another system (tracker, wiki, or another repo) that was not linked from this remote.
- Whether this slug is the front end for the API documented under `magalies-pharma-heisenberg-serverless`, including the S3 bucket `heisenberg-frontend-${EnvironmentName}`.
- Whether this slug was meant to call `magalies-pharma-heisenberg-print-server`.
