# Implementation provenance and scope

Baseline: `shahruuz/shahrouz-portfolio`, branch `release/research-public`, commit `b566f7ad82056031881eb51023af2201c2e9df32`. Default `main` at inspection: `a30450ddf62fa440434db3966fbe8672a4404bd2`; it does not contain the Research Engine. The repository is private. No private project source, identifying research record or restricted full text is included in this public method package.

At inspection, rebuilding the baseline with `npm run build:research:public` produced bundle SHA-256 `fedcf11eb39eeba28fc031d32b9f35417edaf2e26a195888ac531d6cb350b178`, matching the public `/research/version.json`. Each of its six listed asset hashes matched the rebuild. This establishes the served asset baseline, not authenticated Cloudflare account, routing configuration or deployment provenance. `/research/` served the engine; bare `/research` served the portfolio fallback. Deployment records in the repository predate this observation and must not be mistaken for current infrastructure evidence.

| General concept | Actual source | Existing enforcement |
|---|---|---|
| Objective, inputs, constraints | `public/research/core.js`: createManifest/validateManifest; `index.html` form | Field validation and browser handoff |
| Structured plan and feasibility gate | `master-prompt.txt`: stages 1–2; `research/framework/stages.json` | Agent instructions, not automatic scientific gate |
| Execution and provenance | Prompt stages 3–6, persistent-state contract | Instructions and CSV scaffolds |
| Verification and correction | Prompt stages 6/9, audit/defects requirement | Instructions; tests check generator, not completed science |
| Checkpoint and resumption | `core.js`: parseManifest/validateManifest; `app.js`: import/device storage | Imported complete statuses downgrade; human-review claims reset |
| Final delivery and audit | Prompt stage 10 and persistent-state contract; `scripts/research-project.cjs` | Scaffold and manifest/history formats; execution agent maintains them |
| Public artifact integrity | `scripts/build-research.cjs` | Opt-in catalog/export, real files, matching hash/bytes, verified flag |

The scientific adapter retains the ten stages and study-specific requirements; the generalized controller does not contain clinical screening, statistical models, manuscript writing or journal logic. The existing `master-prompt.txt`, `core.js`, `app.js`, project manifests and scientific stages are unchanged by this package.

New in method v1.0: domain-neutral documented contracts plus optional `controller.cjs`. Local gate/hash/retry/resume behavior is tested separately. Human identity, automatic remote synchronization, durable multi-user locking, autonomous research, statistical correctness and deployment are not provided by that helper. The other domain adapters are declarative examples only; there are no live career, engineering, SEO or sales integrations in this release.
