How xxyoudeadpunkxx/gpt-pf-chat-gpt-project-forge works
1. What this repository is
Project Forge is a documentation-driven preparation system for ChatGPT Projects and similar file-based agent workflows. It is not an application runtime; it is a set of canonical instructions, templates, and checks for producing a clean “project opening package.”
2. Top-level architecture
The repo has four main subsystems:
- Canonical core: 00_SCOPE.md, 01_RULES.md, 02_PROTOCOL.md, 03_ARTIFACTS.md
- Operator guidance: operator_guide/
- AI bootstrap: AI_START.md
- Output artifacts and verification: artifact_templates/ and smoke_test/
3. Canonical core boundary
The core docs define the system itself: what Project Forge is, what it is not, the operating rules, the protocol, and the artifact grammar. This is the stable layer that should not be mixed with project-specific content. In architecture terms, it acts as the policy-and-schema layer.
4. Project-opening artifact layer
artifact_templates/ contains the files that Forge helps generate for a real project opening. These are not the system authority; they are output instances. The main templates are:
- ENTRY_POINT.md
- TARGET_PROJECT_BRIEF_ARTIFACT.template.md
- INITIAL_SSOT_ARTIFACT.template.md
- SOURCE_OR_MATERIAL_TRANSFER_ARTIFACT.template.md
- HANDOFF_ARTIFACT.template.md
This is the project-state layer, where scope, source material, and handoff state live.
5. Startup and routing flow
AI_START.md is a routing file for an AI session. Its role is to direct the model into the canonical core first, so the session begins with the system rules instead of ad hoc assumptions. The intended reading order starts there, then moves into the core docs, then into the artifacts.
6. Operational workflow
The main workflow is:
- define the target project
- close scope in and scope out
- review source/material constraints
- compile opening artifacts
- create the real project workspace
- open that project from the prepared files
This is a preparation pipeline, not a live working environment.
7. Data flow between layers
The flow is one-way from rules to project state:
- canonical core provides constraints and structure
- operator or AI uses those constraints to fill templates
- templates become the opening package for the target project
- the target project then starts from explicit files rather than chat memory
This separation is the central architectural boundary in the repo.
8. Human/operator interface
operator_guide/OPERATOR_GUIDE.md and operator_guide/OPERATOR_TECHNICAL_REFERENCE.md are the main human-facing execution guides. They explain how to use Forge in practice, including how to prepare files and how to reason about the boundary between stable rules and case-specific state.
9. Verification subsystem
smoke_test/ contains minimal checks for validating that the system can open a project cleanly. This is the repo’s lightweight assurance layer: it tests the startup path and the smallest viable opening case rather than the full preparation workflow.
10. External compiler
The README references a guided browser compiler hosted on GitHub Pages. That is an optional external tool for filling the opening artifacts. It matters architecturally because it is the UI surface for the same file-based preparation model, but it is outside the repository’s own runtime.
11. Repository’s primary dependency model
The repo depends on disciplined file ordering, not code execution. Its “integration points” are humans, AI agents, ChatGPT Projects, IDE/file-based agents, and the optional browser compiler. The critical dependency is correct startup sequence and clean separation of:
- stable system rules
- project-specific opening state
- source material
- handoff material
12. How to draw it
An accurate diagram would show:
- a stable core block feeding
- an artifact-generation block
- which produces a project-opening package
- which is then consumed by a target project workspace
Alongside that, show operator guidance and AI bootstrap as entry paths into the core, and smoke tests as validation of the opening process.
Main entry points: 03_ARTIFACTS.md Artifacts · INITIAL_SSOT_ARTIFACT.template.md Initial SSOT · TARGET_PROJECT_BRIEF_ARTIFACT.template.md Project Brief · SOURCE_OR_MATERIAL_TRANSFER_ARTIFACT.template.md Source Transfer
Components 17
Canonical core
Stable policy and schema layer for the system
Operator guidance
Human-facing usage and technical reference materials
- Operator Guide · Practical usage instructions
operator_guide/OPERATOR_GUIDE.md - Tech Reference · Technical reference for operators
operator_guide/OPERATOR_TECHNICAL_REFERENCE.md
AI bootstrap
Session entry routing into the canonical core
- AI Start · Routing file that sends a session into the core
AI_START.md
Artifact generation
Templates for assembling the project-opening package
- Entry Point · Starting point for an opening package
artifact_templates/ENTRY_POINT.md - Project Brief · Target project definition template
artifact_templates/TARGET_PROJECT_BRIEF_ARTIFACT.template.md - Initial SSOT · Single source of truth seed artifact
artifact_templates/INITIAL_SSOT_ARTIFACT.template.md - Source Transfer · Source or material intake template
artifact_templates/SOURCE_OR_MATERIAL_TRANSFER_ARTIFACT.template.md - Handoff · Final handoff artifact template
artifact_templates/HANDOFF_ARTIFACT.template.md
Verification
Minimal checks for the clean opening path
- Smoke Test · Minimal verification of the opening path
smoke_test/SMOKE_TEST.md - Minimal Case · Smallest viable opening scenario
smoke_test/CASE_01_MINIMAL_OPENING.md
Consumers
External or downstream environments that use the prepared package
- Browser Compiler · Optional external UI for filling opening artifacts
- Target Workspace · Prepared project environment opened from the package
Other components
- README · Top-level description and entry context
README.md
Connections 25
- README → AI Start: routes to · Primary session entry points into the bootstrap path
- AI Start → Scope: loads · Directs the model into the stable core first
- Scope → Rules: defines context for · Core policy layer proceeds from scope into rules
- Rules → Protocol: constrains · Rules inform the required operating sequence
- Protocol → Artifacts: specifies · Protocol culminates in the artifact grammar
- Scope → Operator Guide: informs · Human guidance is grounded in the canonical scope
- Rules → Tech Reference: informs · Technical reference depends on core constraints
- Operator Guide → Project Brief: fills · Operator prepares the project brief from guidance
- Tech Reference → Source Transfer: supports · Reference helps structure source material intake
- Protocol → Entry Point: orchestrates · Entry point organizes the opening workflow
- Artifacts → Entry Point: schemas · Artifact grammar defines the entry-point file
- Artifacts → Project Brief: schemas · Artifact grammar defines the brief template
- Artifacts → Initial SSOT: schemas · Artifact grammar defines the SSOT seed
- Artifacts → Source Transfer: schemas · Artifact grammar defines source transfer
- Artifacts → Handoff: schemas · Artifact grammar defines final handoff
- Project Brief → Initial SSOT: feeds · Project definition informs the initial source of truth
- Source Transfer → Initial SSOT: feeds · Transferred material informs the source of truth
- Initial SSOT → Handoff: concludes in · Opening state resolves into a handoff package
- Entry Point → Target Workspace: opens · Prepared package is consumed by the downstream workspace
- Handoff → Target Workspace: delivers · Handoff artifact seeds the target project
- Smoke Test → Minimal Case: includes · Smoke test describes the minimal case
- Minimal Case → Target Workspace: verifies · Minimal case validates clean project opening
- Browser Compiler → Project Brief: can fill · Optional external UI may populate the opening templates
- Browser Compiler → Source Transfer: can fill · Optional external UI may populate the opening templates
- Browser Compiler → Initial SSOT: can fill · Optional external UI may populate the opening templates