Skip to content

Commit a5be88d

Browse files
author
DavidQ
committed
Enhance project instructions with tool architecture, formatting, and ZIP requirements - PR_26126_052-project-instructions-enhancements
1 parent bfc2e48 commit a5be88d

3 files changed

Lines changed: 563 additions & 49 deletions

File tree

docs/dev/PROJECT_INSTRUCTIONS.md

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,4 +461,53 @@ Do not compact:
461461
- nested arrays
462462
- complex structures
463463

464-
Do not change JSON contracts or semantics while applying array formatting.
464+
Do not change JSON contracts or semantics while applying array formatting.
465+
466+
## PROJECT INSTRUCTIONS LOCATION
467+
468+
PROJECT_INSTRUCTIONS.md lives at:
469+
470+
`docs/dev/PROJECT_INSTRUCTIONS.md`
471+
472+
Codex must always read `docs/dev/PROJECT_INSTRUCTIONS.md` from this path as the source of truth before executing repository workflow instructions.
473+
474+
## CODEX COMMAND FORMATTING RULE
475+
476+
All Codex commands must be multi-line and human-readable.
477+
478+
Do not provide single-line Codex commands.
479+
480+
Codex commands must use these sections:
481+
482+
Changes:
483+
484+
Validation:
485+
486+
Required reports:
487+
488+
## REQUIRED ZIP OUTPUT
489+
490+
Codex must ALWAYS produce a repo-structured ZIP for every PR.
491+
492+
The ZIP must follow the existing CODEX ZIP STANDARD.
493+
494+
The ZIP is required output, not optional.
495+
496+
## HTML FILE RESTRICTIONS
497+
498+
Never allow `<script>` blocks inside HTML files.
499+
500+
Never allow `<style>` blocks inside HTML files.
501+
502+
All JavaScript must be external.
503+
504+
All CSS must be external.
505+
506+
## TOOL ARCHITECTURE STANDARDS
507+
508+
- One class per file.
509+
- One control or section per class.
510+
- App/root class is coordinator only and must not own DOM logic or business logic.
511+
- No `tools/shared` dependency is allowed.
512+
- Shared UI behavior must use reusable classes.
513+
- Do not duplicate shared UI behavior logic across controls or tools.

docs/dev/project_instructions_update.md

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)