@enki-dev-expert/global-engineering-standards 0.0.0-stage → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/AGENTS.md +303 -0
  2. package/CHANGELOG.md +28 -0
  3. package/CITATION.cff +21 -0
  4. package/CODE_OF_CONDUCT.md +13 -0
  5. package/CONTRIBUTING.md +27 -0
  6. package/LICENSE +21 -0
  7. package/README.md +159 -2
  8. package/SECURITY.md +25 -0
  9. package/dist/cli.js +40 -0
  10. package/dist/content.js +71 -0
  11. package/dist/filesystem.js +83 -0
  12. package/dist/installer.js +243 -0
  13. package/dist/layout.js +42 -0
  14. package/dist/transaction.js +143 -0
  15. package/docs/ai-and-llm.md +1312 -0
  16. package/docs/architecture.md +1007 -0
  17. package/docs/cost-engineering.md +1322 -0
  18. package/docs/data.md +993 -0
  19. package/docs/governance.md +1744 -0
  20. package/docs/mobile-and-web.md +1362 -0
  21. package/docs/observability.md +1345 -0
  22. package/docs/platforms-and-applications.md +1581 -0
  23. package/docs/privacy.md +566 -0
  24. package/docs/quality-and-testing.md +1278 -0
  25. package/docs/scalability.md +1012 -0
  26. package/docs/security.md +373 -0
  27. package/handbook/claude-plugin.md +31 -0
  28. package/handbook/compatibility.md +27 -0
  29. package/handbook/recovery.md +29 -0
  30. package/handbook/releasing.md +50 -0
  31. package/handbook/security-review.md +41 -0
  32. package/handbook/signing.md +18 -0
  33. package/handbook/validation.md +50 -0
  34. package/package.json +65 -4
  35. package/scripts/content-baseline.json +25 -0
  36. package/skills/engineering-architecture-review/SKILL.md +1531 -0
  37. package/skills/engineering-cost-estimate/SKILL.md +1599 -0
  38. package/skills/engineering-database-review/SKILL.md +1364 -0
  39. package/skills/engineering-privacy-check/SKILL.md +1295 -0
  40. package/skills/engineering-safe-implementation/SKILL.md +1502 -0
  41. package/skills/engineering-security-standards-check/SKILL.md +1112 -0
  42. package/src/cli.ts +45 -0
  43. package/src/content.ts +82 -0
  44. package/src/filesystem.ts +94 -0
  45. package/src/installer.ts +280 -0
  46. package/src/layout.ts +70 -0
  47. package/src/transaction.ts +167 -0
  48. package/templates/ADR.md +1302 -0
  49. package/templates/AUDIT_REPORT.md +1693 -0
  50. package/templates/EXCEPTIONS.md +647 -0
  51. package/templates/PROJECT_AGENTS.md +868 -0
@@ -0,0 +1,868 @@
1
+
2
+ # Project Engineering Instructions
3
+
4
+ ## 1. Purpose
5
+
6
+ This file defines project-specific engineering context and operating instructions.
7
+
8
+ It complements the Global Engineering Standards maintained at:
9
+
10
+ ~/engineering-standards/
11
+
12
+ This file is a template.
13
+
14
+ Replace placeholders with verified project information before using it in an application repository.
15
+
16
+ Do not treat placeholder examples as actual project requirements.
17
+
18
+ ## 2. Global Standards
19
+
20
+ Apply the applicable Global Engineering Standards.
21
+
22
+ Global entry point:
23
+
24
+ ~/engineering-standards/AGENTS.md
25
+
26
+ Resolve all references to docs/ relative to:
27
+
28
+ ~/engineering-standards/
29
+
30
+ Relevant standards include:
31
+
32
+ - docs/security.md
33
+ - docs/privacy.md
34
+ - docs/architecture.md
35
+ - docs/data.md
36
+ - docs/scalability.md
37
+ - docs/cost-engineering.md
38
+ - docs/ai-and-llm.md
39
+ - docs/quality-and-testing.md
40
+ - docs/observability.md
41
+ - docs/mobile-and-web.md
42
+ - docs/platforms-and-applications.md
43
+ - docs/governance.md
44
+
45
+ Read specialized standards according to the task and the actual project technology.
46
+
47
+ Do not load every specialized document unnecessarily.
48
+
49
+ Project-specific requirements may strengthen global controls.
50
+
51
+ Do not silently weaken security, privacy, data integrity or financial safeguards.
52
+
53
+ Respect higher-priority platform instructions, sandbox restrictions and tool permissions.
54
+
55
+ ## 3. Project Identity
56
+
57
+ Project name:
58
+
59
+ [PROJECT_NAME]
60
+
61
+ Project description:
62
+
63
+ [PROJECT_DESCRIPTION]
64
+
65
+ Primary business objective:
66
+
67
+ [BUSINESS_OBJECTIVE]
68
+
69
+ Primary user groups:
70
+
71
+ [TARGET_USERS]
72
+
73
+ Project owner:
74
+
75
+ [PROJECT_OWNER_OR_ROLE]
76
+
77
+ Repository root:
78
+
79
+ [PROJECT_REPOSITORY_PATH]
80
+
81
+ Current project status:
82
+
83
+ [NEW | DEVELOPMENT | STAGING | PRODUCTION | MAINTENANCE]
84
+
85
+ Replace these values with verified information.
86
+
87
+ Do not invent missing business requirements.
88
+
89
+ ## 4. Project Platforms
90
+
91
+ Supported platforms:
92
+
93
+ [LIST_ACTUAL_SUPPORTED_PLATFORMS]
94
+
95
+ Possible platform categories include:
96
+
97
+ - Web.
98
+ - iOS.
99
+ - Android.
100
+ - macOS.
101
+ - Windows.
102
+ - Linux.
103
+ - Cross-platform desktop.
104
+ - Command-line applications.
105
+ - Backend services.
106
+ - Game development.
107
+ - Other specialized platforms.
108
+
109
+ These are examples, not required targets.
110
+
111
+ Do not implement unsupported platforms unless explicitly requested.
112
+
113
+ ## 5. Technology Stack
114
+
115
+ Frontend:
116
+
117
+ [ACTUAL_FRONTEND_TECHNOLOGY]
118
+
119
+ Backend:
120
+
121
+ [ACTUAL_BACKEND_TECHNOLOGY]
122
+
123
+ Programming languages:
124
+
125
+ [ACTUAL_LANGUAGES]
126
+
127
+ Database:
128
+
129
+ [ACTUAL_DATABASE_TECHNOLOGY]
130
+
131
+ Authentication:
132
+
133
+ [ACTUAL_AUTHENTICATION_SYSTEM]
134
+
135
+ Storage:
136
+
137
+ [ACTUAL_STORAGE_SYSTEM]
138
+
139
+ Infrastructure and hosting:
140
+
141
+ [ACTUAL_INFRASTRUCTURE]
142
+
143
+ External APIs:
144
+
145
+ [ACTUAL_EXTERNAL_INTEGRATIONS]
146
+
147
+ AI models and services:
148
+
149
+ [ACTUAL_AI_TECHNOLOGIES_OR_NONE]
150
+
151
+ Game engine:
152
+
153
+ [ACTUAL_GAME_ENGINE_OR_NONE]
154
+
155
+ Other relevant technologies:
156
+
157
+ [OTHER_TECHNOLOGIES]
158
+
159
+ Inspect the repository before confirming these values.
160
+
161
+ Do not assume a provider based on another project.
162
+
163
+ Preserve the existing technology stack when appropriate.
164
+
165
+ ## 6. Project Architecture
166
+
167
+ Describe the actual architectural structure.
168
+
169
+ Architecture overview:
170
+
171
+ [ARCHITECTURE_OVERVIEW]
172
+
173
+ Main application modules:
174
+
175
+ [MAIN_MODULES]
176
+
177
+ Critical business workflows:
178
+
179
+ [CRITICAL_WORKFLOWS]
180
+
181
+ Important dependencies:
182
+
183
+ [DEPENDENCIES]
184
+
185
+ Known architectural constraints:
186
+
187
+ [ARCHITECTURAL_CONSTRAINTS]
188
+
189
+ Relevant architecture decisions:
190
+
191
+ [ADR_REFERENCES]
192
+
193
+ Do not introduce major architectural changes without evidence and appropriate authorization.
194
+
195
+ Consult docs/architecture.md.
196
+
197
+ ## 7. Business Invariants
198
+
199
+ Document business rules that must always remain correct.
200
+
201
+ Examples may include:
202
+
203
+ - Resource ownership.
204
+ - Financial transaction consistency.
205
+ - Reservation uniqueness.
206
+ - Inventory availability.
207
+ - Subscription entitlements.
208
+ - Tenant isolation.
209
+ - Game economy integrity.
210
+
211
+ Actual invariants:
212
+
213
+ [VERIFIED_BUSINESS_INVARIANTS]
214
+
215
+ Enforce critical invariants through trusted application and data boundaries.
216
+
217
+ Never replace deterministic business constraints with unsupported AI assumptions.
218
+
219
+ ## 8. Data Architecture
220
+
221
+ Database provider:
222
+
223
+ [DATABASE_PROVIDER]
224
+
225
+ Database model:
226
+
227
+ [DATABASE_MODEL]
228
+
229
+ Data ownership rules:
230
+
231
+ [DATA_OWNERSHIP]
232
+
233
+ Tenant isolation model:
234
+
235
+ [TENANCY_MODEL]
236
+
237
+ Sensitive data categories:
238
+
239
+ [SENSITIVE_DATA_CATEGORIES]
240
+
241
+ Migration approach:
242
+
243
+ [MIGRATION_APPROACH]
244
+
245
+ Backup and recovery:
246
+
247
+ [BACKUP_AND_RECOVERY]
248
+
249
+ Document actual information only.
250
+
251
+ Never execute destructive production migrations automatically.
252
+
253
+ Consult docs/data.md and docs/privacy.md.
254
+
255
+ ## 9. Security Requirements
256
+
257
+ Project-specific security requirements:
258
+
259
+ [SECURITY_REQUIREMENTS]
260
+
261
+ Authentication requirements:
262
+
263
+ [AUTHENTICATION_REQUIREMENTS]
264
+
265
+ Authorization model:
266
+
267
+ [AUTHORIZATION_MODEL]
268
+
269
+ Protected resources:
270
+
271
+ [PROTECTED_RESOURCES]
272
+
273
+ Threat considerations:
274
+
275
+ [THREAT_MODEL_OR_REFERENCES]
276
+
277
+ Apply least privilege.
278
+
279
+ Protect credentials.
280
+
281
+ Validate untrusted inputs.
282
+
283
+ Enforce authorization outside client applications and AI models.
284
+
285
+ Do not weaken established security controls for convenience.
286
+
287
+ Consult docs/security.md.
288
+
289
+ ## 10. Privacy and Compliance
290
+
291
+ Relevant jurisdictions:
292
+
293
+ [APPLICABLE_JURISDICTIONS]
294
+
295
+ Personal data categories:
296
+
297
+ [PERSONAL_DATA_CATEGORIES]
298
+
299
+ Relevant regulatory requirements:
300
+
301
+ [VERIFIED_REGULATORY_REQUIREMENTS]
302
+
303
+ Data retention requirements:
304
+
305
+ [DATA_RETENTION]
306
+
307
+ Relevant third-party processors:
308
+
309
+ [PROCESSORS]
310
+
311
+ Document known obligations and uncertainties.
312
+
313
+ Do not assume that using a particular cloud provider establishes legal compliance.
314
+
315
+ Consult docs/privacy.md.
316
+
317
+ ## 11. Scalability and Performance
318
+
319
+ Current workload:
320
+
321
+ [MEASURED_CURRENT_WORKLOAD_OR_UNKNOWN]
322
+
323
+ Expected growth:
324
+
325
+ [SUPPORTED_GROWTH_ASSUMPTIONS]
326
+
327
+ Peak concurrency:
328
+
329
+ [ESTIMATED_OR_MEASURED_CONCURRENCY]
330
+
331
+ Relevant latency targets:
332
+
333
+ [PERFORMANCE_TARGETS]
334
+
335
+ Known bottlenecks:
336
+
337
+ [VERIFIED_BOTTLENECKS_OR_UNKNOWN]
338
+
339
+ Scaling strategy:
340
+
341
+ [CURRENT_OR_APPROVED_SCALING_STRATEGY]
342
+
343
+ Design a credible evolution path toward future scale.
344
+
345
+ Do not assume that registered users equal concurrent users.
346
+
347
+ Do not introduce Kubernetes or microservices solely because future growth is expected.
348
+
349
+ Provision according to actual demand.
350
+
351
+ Consult docs/scalability.md.
352
+
353
+ ## 12. Cost and Financial Constraints
354
+
355
+ Current hosting model:
356
+
357
+ [CURRENT_HOSTING_MODEL]
358
+
359
+ Known recurring costs:
360
+
361
+ [VERIFIED_COSTS_OR_UNKNOWN]
362
+
363
+ Approved development budget:
364
+
365
+ [APPROVED_BUDGET_OR_NOT_DEFINED]
366
+
367
+ Approved infrastructure budget:
368
+
369
+ [APPROVED_INFRASTRUCTURE_BUDGET_OR_NOT_DEFINED]
370
+
371
+ Relevant paid dependencies:
372
+
373
+ [PAID_SERVICES]
374
+
375
+ Cost monitoring:
376
+
377
+ [EXISTING_COST_CONTROLS]
378
+
379
+ No budget is implied when a field is unspecified.
380
+
381
+ Do not create paid commitments or increase spending without required authorization.
382
+
383
+ Consult docs/cost-engineering.md.
384
+
385
+ ## 13. AI and Agentic Systems
386
+
387
+ AI functionality:
388
+
389
+ [AI_FUNCTIONALITY_OR_NONE]
390
+
391
+ AI providers:
392
+
393
+ [AI_PROVIDERS_OR_NONE]
394
+
395
+ Model selection requirements:
396
+
397
+ [MODEL_REQUIREMENTS]
398
+
399
+ RAG sources:
400
+
401
+ [RAG_SOURCES_OR_NONE]
402
+
403
+ Agent tools:
404
+
405
+ [AUTHORIZED_AGENT_TOOLS_OR_NONE]
406
+
407
+ AI evaluation requirements:
408
+
409
+ [AI_EVALUATION_REQUIREMENTS]
410
+
411
+ Human oversight requirements:
412
+
413
+ [AI_HUMAN_OVERSIGHT]
414
+
415
+ Do not assume AI is necessary.
416
+
417
+ Restrict model and agent permissions.
418
+
419
+ Enforce retrieval authorization.
420
+
421
+ Prevent uncontrolled inference costs.
422
+
423
+ Consult docs/ai-and-llm.md when relevant.
424
+
425
+ ## 14. User Interface and Platform Requirements
426
+
427
+ Existing design system:
428
+
429
+ [DESIGN_SYSTEM_OR_NONE]
430
+
431
+ Brand constraints:
432
+
433
+ [BRAND_REQUIREMENTS]
434
+
435
+ Important user journeys:
436
+
437
+ [USER_JOURNEYS]
438
+
439
+ Accessibility requirements:
440
+
441
+ [ACCESSIBILITY_REQUIREMENTS]
442
+
443
+ Supported devices:
444
+
445
+ [SUPPORTED_DEVICES]
446
+
447
+ Offline requirements:
448
+
449
+ [OFFLINE_REQUIREMENTS]
450
+
451
+ Localization requirements:
452
+
453
+ [LOCALIZATION_REQUIREMENTS]
454
+
455
+ Preserve approved visual identity and established workflows.
456
+
457
+ Do not redesign existing screens without authorization.
458
+
459
+ Consult docs/mobile-and-web.md and docs/platforms-and-applications.md as relevant.
460
+
461
+ ## 15. Quality and Testing
462
+
463
+ Use the project's verified commands.
464
+
465
+ Install command:
466
+
467
+ [INSTALL_COMMAND_OR_NOT_DEFINED]
468
+
469
+ Formatting command:
470
+
471
+ [FORMAT_COMMAND_OR_NOT_DEFINED]
472
+
473
+ Lint command:
474
+
475
+ [LINT_COMMAND_OR_NOT_DEFINED]
476
+
477
+ Type-checking command:
478
+
479
+ [TYPECHECK_COMMAND_OR_NOT_DEFINED]
480
+
481
+ Unit test command:
482
+
483
+ [UNIT_TEST_COMMAND_OR_NOT_DEFINED]
484
+
485
+ Integration test command:
486
+
487
+ [INTEGRATION_TEST_COMMAND_OR_NOT_DEFINED]
488
+
489
+ End-to-end test command:
490
+
491
+ [E2E_TEST_COMMAND_OR_NOT_DEFINED]
492
+
493
+ Build command:
494
+
495
+ [BUILD_COMMAND_OR_NOT_DEFINED]
496
+
497
+ Security scanning command:
498
+
499
+ [SECURITY_COMMAND_OR_NOT_DEFINED]
500
+
501
+ Do not invent test commands.
502
+
503
+ Do not execute commands against production resources without authorization.
504
+
505
+ Report tests actually executed.
506
+
507
+ Consult docs/quality-and-testing.md.
508
+
509
+ ## 16. Observability
510
+
511
+ Logging system:
512
+
513
+ [LOGGING_SYSTEM]
514
+
515
+ Metrics:
516
+
517
+ [METRICS_SYSTEM]
518
+
519
+ Tracing:
520
+
521
+ [TRACING_SYSTEM]
522
+
523
+ Error reporting:
524
+
525
+ [ERROR_REPORTING_SYSTEM]
526
+
527
+ Alerting:
528
+
529
+ [ALERTING_SYSTEM]
530
+
531
+ Known operational limitations:
532
+
533
+ [OBSERVABILITY_LIMITATIONS]
534
+
535
+ Protect sensitive information in telemetry.
536
+
537
+ Avoid unnecessary high-volume logging.
538
+
539
+ Consult docs/observability.md.
540
+
541
+ ## 17. Development Operating Modes
542
+
543
+ The project supports:
544
+
545
+ - Supervised Mode.
546
+ - Autonomous Build Mode.
547
+
548
+ Supervised Mode is the default.
549
+
550
+ Autonomous Build Mode requires an explicit instruction from the authorized user.
551
+
552
+ Do not activate Autonomous Build Mode based solely on this template.
553
+
554
+ Follow docs/governance.md for permission boundaries and operational rules.
555
+
556
+ ## 18. Supervised Mode
557
+
558
+ In Supervised Mode:
559
+
560
+ 1. Inspect relevant project context.
561
+ 2. Understand the requested change.
562
+ 3. Identify affected components.
563
+ 4. Assess risks.
564
+ 5. Present a plan for significant modifications.
565
+ 6. Obtain required approval.
566
+ 7. Implement within approved scope.
567
+ 8. Run relevant checks.
568
+ 9. Report results.
569
+
570
+ Existing production audits must begin read-only.
571
+
572
+ Do not modify unrelated files.
573
+
574
+ ## 19. Autonomous Build Mode
575
+
576
+ When explicitly authorized to build the application from beginning to end:
577
+
578
+ - Plan the implementation.
579
+ - Make reasonable technical decisions within scope.
580
+ - Implement all feasible authorized functionality.
581
+ - Create and modify authorized project files.
582
+ - Install suitable local dependencies.
583
+ - Configure safe local development resources.
584
+ - Write appropriate tests.
585
+ - Run available validation.
586
+ - Investigate and correct failures.
587
+ - Continue through independent tasks without unnecessary interruptions.
588
+ - Prepare documentation and deployment artifacts.
589
+ - Consolidate remaining human actions at final handoff.
590
+
591
+ Do not stop after each routine milestone.
592
+
593
+ Do not require repeated approval for ordinary implementation decisions within the authorized scope.
594
+
595
+ Respect actual tool permissions and execution limits.
596
+
597
+ Never claim continued execution after the session ends without a supported mechanism.
598
+
599
+ ## 20. Engineering Standards in Autonomous Mode
600
+
601
+ Autonomous Build Mode changes the approval workflow, not engineering quality.
602
+
603
+ All applicable global engineering standards remain mandatory.
604
+
605
+ Apply:
606
+
607
+ - Security and privacy controls.
608
+ - Correct architecture.
609
+ - Data integrity.
610
+ - Authorization.
611
+ - Scalability planning.
612
+ - Cost efficiency.
613
+ - Maintainable code.
614
+ - Relevant tests.
615
+ - Appropriate observability.
616
+ - Platform-specific requirements.
617
+ - Human oversight for high-risk actions.
618
+
619
+ Never weaken these requirements merely to accelerate development.
620
+
621
+ Do not claim production readiness or verified scalability without evidence.
622
+
623
+ ## 21. Protected Operations
624
+
625
+ Require appropriate explicit authorization before:
626
+
627
+ - Production deployment.
628
+ - Production database modification.
629
+ - Destructive migration.
630
+ - Deletion of important data.
631
+ - Privileged access changes.
632
+ - High-impact security changes.
633
+ - Significant paid commitments.
634
+ - Publishing applications or games.
635
+ - Actions affecting unrelated projects.
636
+ - Sensitive external communications.
637
+
638
+ A general request to build an application does not authorize these actions.
639
+
640
+ Do not bypass tool or platform safeguards.
641
+
642
+ ## 22. Project-Specific Approval Rules
643
+
644
+ Approved development scope:
645
+
646
+ [AUTHORIZED_DEVELOPMENT_SCOPE]
647
+
648
+ Protected environments:
649
+
650
+ [PROTECTED_ENVIRONMENTS]
651
+
652
+ Protected resources:
653
+
654
+ [PROTECTED_RESOURCES]
655
+
656
+ Approval contacts or roles:
657
+
658
+ [APPROVAL_AUTHORITIES]
659
+
660
+ Pre-authorized operations:
661
+
662
+ [EXPLICITLY_PREAUTHORIZED_OPERATIONS_OR_NONE]
663
+
664
+ Financial limits:
665
+
666
+ [EXPLICIT_FINANCIAL_LIMITS_OR_NONE]
667
+
668
+ Do not infer approval from unspecified fields.
669
+
670
+ Follow documented authorization and applicable platform restrictions.
671
+
672
+ ## 23. Production Protection
673
+
674
+ Treat production systems as protected.
675
+
676
+ Before significant production changes:
677
+
678
+ - Assess impact.
679
+ - Review security.
680
+ - Review data integrity.
681
+ - Confirm compatibility.
682
+ - Establish rollback or recovery.
683
+ - Review operational costs.
684
+ - Obtain required approval.
685
+
686
+ Do not assume repository access grants production authorization.
687
+
688
+ ## 24. Existing Production Applications
689
+
690
+ For existing production applications:
691
+
692
+ 1. Inspect the repository.
693
+ 2. Identify existing behavior.
694
+ 3. Preserve user data.
695
+ 4. Identify relevant security boundaries.
696
+ 5. Review compatibility.
697
+ 6. Assess meaningful risks.
698
+ 7. Recommend incremental improvements.
699
+ 8. Obtain approval before significant changes.
700
+
701
+ Do not rewrite working systems merely to satisfy preferences.
702
+
703
+ Apply global standards progressively.
704
+
705
+ ## 25. Change Management
706
+
707
+ Before significant changes:
708
+
709
+ - Define the objective.
710
+ - Identify affected files.
711
+ - Review dependencies.
712
+ - Assess compatibility.
713
+ - Evaluate security.
714
+ - Evaluate privacy.
715
+ - Evaluate data integrity.
716
+ - Estimate cost impact.
717
+ - Define testing.
718
+ - Define rollback.
719
+ - Obtain required authorization.
720
+
721
+ Use documented architecture decisions where appropriate.
722
+
723
+ ## 26. Git and Repository Safety
724
+
725
+ Respect existing version control state.
726
+
727
+ Do not:
728
+
729
+ - Discard unrelated changes.
730
+ - Delete untracked user files.
731
+ - Force-push remote branches.
732
+ - Overwrite protected branches.
733
+ - Publish code without authorization.
734
+ - Commit credentials.
735
+
736
+ Use focused changes.
737
+
738
+ Inspect repository status before significant modifications.
739
+
740
+ ## 27. Dependencies and External Services
741
+
742
+ Before introducing dependencies:
743
+
744
+ - Confirm necessity.
745
+ - Evaluate maintenance.
746
+ - Check licenses.
747
+ - Assess security.
748
+ - Consider bundle or binary size.
749
+ - Review costs.
750
+
751
+ Do not introduce paid external services without appropriate authorization.
752
+
753
+ When credentials are unavailable, prepare safe integration boundaries and document remaining configuration.
754
+
755
+ ## 28. Documentation
756
+
757
+ Maintain relevant documentation.
758
+
759
+ Include:
760
+
761
+ - Project overview.
762
+ - Setup instructions.
763
+ - Architecture.
764
+ - Environment configuration.
765
+ - Build and test procedures.
766
+ - External dependencies.
767
+ - Deployment preparation.
768
+ - Known limitations.
769
+
770
+ Documentation must describe actual implemented behavior.
771
+
772
+ Do not fabricate completed features.
773
+
774
+ ## 29. Project-Specific Exceptions
775
+
776
+ Use documented exceptions when a global standard cannot reasonably be applied.
777
+
778
+ Exception records must include:
779
+
780
+ - Requirement.
781
+ - Reason.
782
+ - Scope.
783
+ - Risks.
784
+ - Compensating controls.
785
+ - Approval.
786
+ - Review date.
787
+ - Expiration where appropriate.
788
+
789
+ Use the approved EXCEPTIONS template.
790
+
791
+ An exception cannot override applicable law or platform security restrictions.
792
+
793
+ ## 30. Final Handoff Requirements
794
+
795
+ For significant development work, report:
796
+
797
+ 1. What was implemented.
798
+ 2. What was changed.
799
+ 3. What was tested.
800
+ 4. What passed.
801
+ 5. What failed.
802
+ 6. What was not tested.
803
+ 7. Remaining risks.
804
+ 8. Deployment readiness.
805
+ 9. Required approvals.
806
+ 10. Human actions.
807
+ 11. Recommended next steps.
808
+
809
+ Clearly distinguish completed work from blocked or unverified work.
810
+
811
+ ## 31. Autonomous Build Final Checklist
812
+
813
+ When Autonomous Build Mode is active, provide a consolidated final checklist of actions the user must perform.
814
+
815
+ Possible categories include:
816
+
817
+ - External account creation.
818
+ - Domain configuration.
819
+ - Credentials.
820
+ - Paid service approvals.
821
+ - Production environment configuration.
822
+ - Database migration approvals.
823
+ - Legal documentation review.
824
+ - Application publishing.
825
+ - Final deployment approval.
826
+
827
+ Include only actions actually required.
828
+
829
+ Do not repeatedly interrupt for tasks that can be completed safely and independently.
830
+
831
+ ## 32. Project Definition of Done
832
+
833
+ For significant project changes:
834
+
835
+ - Requirements understood.
836
+ - Architecture respected.
837
+ - Security reviewed.
838
+ - Privacy considered.
839
+ - Data integrity preserved.
840
+ - Scalability requirements evaluated.
841
+ - Costs considered.
842
+ - Relevant tests executed.
843
+ - Compatibility assessed.
844
+ - Documentation updated.
845
+ - Remaining risks documented.
846
+ - Required approvals obtained.
847
+ - Human actions identified.
848
+ - Results honestly reported.
849
+
850
+ Never claim the application is complete merely because the code compiles.
851
+
852
+ ## 33. Final Project Principles
853
+
854
+ Apply global standards according to project relevance.
855
+ Preserve existing working systems.
856
+ Use the actual technology stack.
857
+ Maintain strong security and privacy.
858
+ Protect data integrity.
859
+ Design for credible scalability.
860
+ Control infrastructure and API costs.
861
+ Write maintainable code.
862
+ Test important functionality.
863
+ Respect platform constraints.
864
+ Avoid unnecessary complexity.
865
+ Support authorized autonomous development.
866
+ Require approval for protected operations.
867
+ Report real results.
868
+ Deliver a clear final handoff.