From 1799401db579e26efd1a9633aaa8b4835c9c34fb Mon Sep 17 00:00:00 2001 From: Jonathan Miller Date: Mon, 11 May 2026 17:10:19 -0500 Subject: [PATCH] feat: add standard file headers to all 57 files missing them - Add Copyright + FILE INFORMATION headers to 11 PHP enterprise classes - Add FILE INFORMATION blocks to 9 PHP files with incomplete headers - Add headers to 2 test files - Add markdown comment headers to 27 index/README files - Add headers to 5 root markdown files - Add FILE INFORMATION to 4 files with existing but incomplete headers All files now conform to moko-platform file header standard. Authored-by: Moko Consulting Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/pr-branch-check.yml | 7 +++++++ CHANGELOG.md | 11 +++++++++++ PLUGIN_SCRIPTS.md | 11 +++++++++++ README.md | 11 +++++++++++ analysis/index.md | 11 +++++++++++ automation/enrich_mokostandards_xml.php | 7 +++++++ automation/index.md | 11 +++++++++++ automation/push_mokostandards_xml.php | 7 +++++++ definitions/index.md | 11 +++++++++++ fix/index.md | 11 +++++++++++ index.md | 11 +++++++++++ lib/Enterprise/AbstractProjectPlugin.php | 14 ++++++++++++++ lib/Enterprise/ApiClient.php | 14 ++++++++++++++ lib/Enterprise/AuditLogger.php | 7 +++++++ lib/Enterprise/CheckpointManager.php | 7 +++++++ lib/Enterprise/Config.php | 14 ++++++++++++++ lib/Enterprise/ErrorRecovery.php | 7 +++++++ lib/Enterprise/InputValidator.php | 14 ++++++++++++++ lib/Enterprise/MetricsCollector.php | 14 ++++++++++++++ lib/Enterprise/PluginFactory.php | 14 ++++++++++++++ lib/Enterprise/PluginRegistry.php | 14 ++++++++++++++ lib/Enterprise/ProjectPluginInterface.php | 14 ++++++++++++++ lib/Enterprise/RecoveryError.php | 7 +++++++ lib/Enterprise/RecoveryManager.php | 7 +++++++ lib/Enterprise/RetryHelper.php | 7 +++++++ lib/Enterprise/SecurityValidator.php | 14 ++++++++++++++ lib/Enterprise/TransactionManager.php | 14 ++++++++++++++ lib/Enterprise/UnifiedValidation.php | 14 ++++++++++++++ lib/index.md | 11 +++++++++++ maintenance/index.md | 11 +++++++++++ src/functions.php | 15 +++++++++++---- templates/configs/index.md | 7 ++++++- templates/docs/README.md | 11 +++++++++++ templates/docs/extra/README.md | 11 +++++++++++ templates/docs/extra/index.md | 11 +++++++++++ templates/docs/index.md | 11 +++++++++++ templates/docs/required/README.md | 11 +++++++++++ templates/docs/required/index.md | 11 +++++++++++ templates/licenses/README.md | 11 +++++++++++ templates/licenses/index.md | 11 +++++++++++ templates/makefiles/README.md | 11 +++++++++++ templates/required/README.md | 11 +++++++++++ templates/schemas/README.md | 11 +++++++++++ templates/schemas/schemas/README.md | 11 +++++++++++ templates/scripts/README.md | 11 +++++++++++ templates/scripts/fix/index.md | 11 +++++++++++ templates/scripts/index.md | 11 +++++++++++ templates/scripts/release/index.md | 11 +++++++++++ templates/scripts/validate/index.md | 11 +++++++++++ templates/security/README.md | 11 +++++++++++ templates/security/index.php | 7 +++++++ templates/web/assets/css/app.css | 11 +++++++++-- tests/index.md | 11 +++++++++++ tests/test_circuit_breaker_handling.php | 14 ++++++++++++++ tests/test_enterprise_libraries.php | 14 ++++++++++++++ validate/SECURITY_SCANNING.md | 11 +++++++++++ validate/index.md | 11 +++++++++++ 57 files changed, 619 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/pr-branch-check.yml b/.gitea/workflows/pr-branch-check.yml index b8d9742..5f3010e 100644 --- a/.gitea/workflows/pr-branch-check.yml +++ b/.gitea/workflows/pr-branch-check.yml @@ -1,6 +1,13 @@ # Copyright (C) 2026 Moko Consulting # SPDX-License-Identifier: GPL-3.0-or-later # +# FILE INFORMATION +# DEFGROUP: MokoStandards.CI +# INGROUP: MokoStandards +# REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform +# PATH: /.gitea/workflows/pr-branch-check.yml +# BRIEF: PR branch merge policy enforcement +# # Enforces branch merge policy: # feature/* → dev only # fix/* → dev only diff --git a/CHANGELOG.md b/CHANGELOG.md index 8fb3067..cd4ce7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ + + # Changelog All notable changes to this project will be documented in this file. diff --git a/PLUGIN_SCRIPTS.md b/PLUGIN_SCRIPTS.md index d2da37c..b991eba 100644 --- a/PLUGIN_SCRIPTS.md +++ b/PLUGIN_SCRIPTS.md @@ -1,3 +1,14 @@ + + # Plugin System CLI Scripts Command-line scripts for validating, health checking, and managing projects using the MokoStandards plugin system. diff --git a/README.md b/README.md index 179ca52..9fd41d3 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,14 @@ + + # MokoStandards Enterprise API PHP implementation of MokoStandards — enterprise standards, automation framework, workflow templates, and bulk sync tooling. diff --git a/analysis/index.md b/analysis/index.md index 51855d1..7a220ad 100644 --- a/analysis/index.md +++ b/analysis/index.md @@ -1,3 +1,14 @@ + + # Docs Index: /api/analysis ## Purpose diff --git a/automation/enrich_mokostandards_xml.php b/automation/enrich_mokostandards_xml.php index 69c830e..ac75e2d 100644 --- a/automation/enrich_mokostandards_xml.php +++ b/automation/enrich_mokostandards_xml.php @@ -4,6 +4,13 @@ * Copyright (C) 2026 Moko Consulting * SPDX-License-Identifier: GPL-3.0-or-later * + * FILE INFORMATION + * DEFGROUP: MokoStandards.Automation + * INGROUP: MokoStandards + * REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform + * PATH: /automation/enrich_mokostandards_xml.php + * BRIEF: Enrich XML manifests with repo-specific build and deploy details + * * Enrich XML .mokostandards manifests with repo-specific build, deploy, and script details. * * Runs AFTER push_mokostandards_xml.php. Clones each repo, inspects its contents, diff --git a/automation/index.md b/automation/index.md index d105b1f..31b76d1 100644 --- a/automation/index.md +++ b/automation/index.md @@ -1,3 +1,14 @@ + + # Docs Index: /api/automation ## Purpose diff --git a/automation/push_mokostandards_xml.php b/automation/push_mokostandards_xml.php index 23587e9..8080f9e 100644 --- a/automation/push_mokostandards_xml.php +++ b/automation/push_mokostandards_xml.php @@ -4,6 +4,13 @@ * Copyright (C) 2026 Moko Consulting * SPDX-License-Identifier: GPL-3.0-or-later * + * FILE INFORMATION + * DEFGROUP: MokoStandards.Automation + * INGROUP: MokoStandards + * REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform + * PATH: /automation/push_mokostandards_xml.php + * BRIEF: Push XML manifests to all governed repositories + * * Push XML .mokostandards manifest to all governed repositories. * * Uses git SSH to bypass the Gitea reverse-proxy WAF that blocks diff --git a/definitions/index.md b/definitions/index.md index cc1f260..829bb18 100644 --- a/definitions/index.md +++ b/definitions/index.md @@ -1,3 +1,14 @@ + + # Docs Index: /api/definitions ## Purpose diff --git a/fix/index.md b/fix/index.md index 88cc345..8edfc19 100644 --- a/fix/index.md +++ b/fix/index.md @@ -1,3 +1,14 @@ + + # Docs Index: /api/fix ## Purpose diff --git a/index.md b/index.md index cc6445e..1433b96 100644 --- a/index.md +++ b/index.md @@ -1,3 +1,14 @@ + + # Scripts Index Quick navigation for MokoStandards scripts organized by function. diff --git a/lib/Enterprise/AbstractProjectPlugin.php b/lib/Enterprise/AbstractProjectPlugin.php index 7a829d3..e50594f 100644 --- a/lib/Enterprise/AbstractProjectPlugin.php +++ b/lib/Enterprise/AbstractProjectPlugin.php @@ -2,6 +2,20 @@ declare(strict_types=1); +/* Copyright (C) 2026 Moko Consulting + * + * This file is part of a Moko Consulting project. + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + * FILE INFORMATION + * DEFGROUP: MokoStandards.Enterprise.Plugins + * INGROUP: MokoStandards.Enterprise + * REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform + * PATH: /lib/Enterprise/AbstractProjectPlugin.php + * BRIEF: Abstract base class for project plugins + */ + namespace MokoEnterprise; /** diff --git a/lib/Enterprise/ApiClient.php b/lib/Enterprise/ApiClient.php index c97814f..8c9a08b 100644 --- a/lib/Enterprise/ApiClient.php +++ b/lib/Enterprise/ApiClient.php @@ -2,6 +2,20 @@ declare(strict_types=1); +/* Copyright (C) 2026 Moko Consulting + * + * This file is part of a Moko Consulting project. + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + * FILE INFORMATION + * DEFGROUP: MokoStandards.Enterprise.API + * INGROUP: MokoStandards.Enterprise + * REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform + * PATH: /lib/Enterprise/ApiClient.php + * BRIEF: HTTP API client library + */ + /** * API Client Library - Rate-limited, resilient API interactions. * diff --git a/lib/Enterprise/AuditLogger.php b/lib/Enterprise/AuditLogger.php index 5677582..668eef0 100644 --- a/lib/Enterprise/AuditLogger.php +++ b/lib/Enterprise/AuditLogger.php @@ -21,6 +21,13 @@ declare(strict_types=1); * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * + * FILE INFORMATION + * DEFGROUP: MokoStandards.Enterprise.Audit + * INGROUP: MokoStandards.Enterprise + * REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform + * PATH: /lib/Enterprise/AuditLogger.php + * BRIEF: Enterprise audit logging + * * @package MokoStandards\Enterprise * @version 04.00.04 * @author MokoStandards Team diff --git a/lib/Enterprise/CheckpointManager.php b/lib/Enterprise/CheckpointManager.php index 5656ea6..14ae022 100644 --- a/lib/Enterprise/CheckpointManager.php +++ b/lib/Enterprise/CheckpointManager.php @@ -9,6 +9,13 @@ declare(strict_types=1); * * SPDX-License-Identifier: GPL-3.0-or-later * + * FILE INFORMATION + * DEFGROUP: MokoStandards.Enterprise.Checkpoint + * INGROUP: MokoStandards.Enterprise + * REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform + * PATH: /lib/Enterprise/CheckpointManager.php + * BRIEF: Checkpoint manager for resumable operations + * * @package MokoStandards\Enterprise * @version 04.00.04 * @author MokoStandards Team diff --git a/lib/Enterprise/Config.php b/lib/Enterprise/Config.php index 8df8ee4..e6d6266 100644 --- a/lib/Enterprise/Config.php +++ b/lib/Enterprise/Config.php @@ -2,6 +2,20 @@ declare(strict_types=1); +/* Copyright (C) 2026 Moko Consulting + * + * This file is part of a Moko Consulting project. + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + * FILE INFORMATION + * DEFGROUP: MokoStandards.Enterprise.Config + * INGROUP: MokoStandards.Enterprise + * REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform + * PATH: /lib/Enterprise/Config.php + * BRIEF: Configuration manager + */ + /** * Configuration Manager - Centralized, environment-aware configuration. * diff --git a/lib/Enterprise/ErrorRecovery.php b/lib/Enterprise/ErrorRecovery.php index c5485e3..c943451 100644 --- a/lib/Enterprise/ErrorRecovery.php +++ b/lib/Enterprise/ErrorRecovery.php @@ -16,6 +16,13 @@ declare(strict_types=1); * * SPDX-License-Identifier: GPL-3.0-or-later * + * FILE INFORMATION + * DEFGROUP: MokoStandards.Enterprise.Recovery + * INGROUP: MokoStandards.Enterprise + * REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform + * PATH: /lib/Enterprise/ErrorRecovery.php + * BRIEF: Error recovery framework + * * @package MokoStandards\Enterprise * @version 04.00.04 * @author MokoStandards Team diff --git a/lib/Enterprise/InputValidator.php b/lib/Enterprise/InputValidator.php index c57f34c..1c6bea0 100644 --- a/lib/Enterprise/InputValidator.php +++ b/lib/Enterprise/InputValidator.php @@ -2,6 +2,20 @@ declare(strict_types=1); +/* Copyright (C) 2026 Moko Consulting + * + * This file is part of a Moko Consulting project. + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + * FILE INFORMATION + * DEFGROUP: MokoStandards.Enterprise.Validation + * INGROUP: MokoStandards.Enterprise + * REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform + * PATH: /lib/Enterprise/InputValidator.php + * BRIEF: Input validation library + */ + /** * Input Validation Library - Security-focused input validation and sanitization. * diff --git a/lib/Enterprise/MetricsCollector.php b/lib/Enterprise/MetricsCollector.php index eac3fa6..21f6afd 100644 --- a/lib/Enterprise/MetricsCollector.php +++ b/lib/Enterprise/MetricsCollector.php @@ -2,6 +2,20 @@ declare(strict_types=1); +/* Copyright (C) 2026 Moko Consulting + * + * This file is part of a Moko Consulting project. + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + * FILE INFORMATION + * DEFGROUP: MokoStandards.Enterprise.Metrics + * INGROUP: MokoStandards.Enterprise + * REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform + * PATH: /lib/Enterprise/MetricsCollector.php + * BRIEF: Metrics collection framework + */ + /** * Metrics Collector for MokoStandards * diff --git a/lib/Enterprise/PluginFactory.php b/lib/Enterprise/PluginFactory.php index 79046a2..246d62c 100644 --- a/lib/Enterprise/PluginFactory.php +++ b/lib/Enterprise/PluginFactory.php @@ -2,6 +2,20 @@ declare(strict_types=1); +/* Copyright (C) 2026 Moko Consulting + * + * This file is part of a Moko Consulting project. + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + * FILE INFORMATION + * DEFGROUP: MokoStandards.Enterprise.Plugins + * INGROUP: MokoStandards.Enterprise + * REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform + * PATH: /lib/Enterprise/PluginFactory.php + * BRIEF: Plugin factory for project type detection + */ + namespace MokoEnterprise; /** diff --git a/lib/Enterprise/PluginRegistry.php b/lib/Enterprise/PluginRegistry.php index 5d65228..1a7036b 100644 --- a/lib/Enterprise/PluginRegistry.php +++ b/lib/Enterprise/PluginRegistry.php @@ -2,6 +2,20 @@ declare(strict_types=1); +/* Copyright (C) 2026 Moko Consulting + * + * This file is part of a Moko Consulting project. + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + * FILE INFORMATION + * DEFGROUP: MokoStandards.Enterprise.Plugins + * INGROUP: MokoStandards.Enterprise + * REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform + * PATH: /lib/Enterprise/PluginRegistry.php + * BRIEF: Plugin registry for available project plugins + */ + namespace MokoEnterprise; use MokoEnterprise\Plugins\JoomlaPlugin; diff --git a/lib/Enterprise/ProjectPluginInterface.php b/lib/Enterprise/ProjectPluginInterface.php index 4766907..ca03267 100644 --- a/lib/Enterprise/ProjectPluginInterface.php +++ b/lib/Enterprise/ProjectPluginInterface.php @@ -2,6 +2,20 @@ declare(strict_types=1); +/* Copyright (C) 2026 Moko Consulting + * + * This file is part of a Moko Consulting project. + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + * FILE INFORMATION + * DEFGROUP: MokoStandards.Enterprise.Plugins + * INGROUP: MokoStandards.Enterprise + * REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform + * PATH: /lib/Enterprise/ProjectPluginInterface.php + * BRIEF: Interface for project type plugins + */ + namespace MokoEnterprise; /** diff --git a/lib/Enterprise/RecoveryError.php b/lib/Enterprise/RecoveryError.php index 04b31a7..96bfa7d 100644 --- a/lib/Enterprise/RecoveryError.php +++ b/lib/Enterprise/RecoveryError.php @@ -9,6 +9,13 @@ declare(strict_types=1); * * SPDX-License-Identifier: GPL-3.0-or-later * + * FILE INFORMATION + * DEFGROUP: MokoStandards.Enterprise.Recovery + * INGROUP: MokoStandards.Enterprise + * REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform + * PATH: /lib/Enterprise/RecoveryError.php + * BRIEF: Recovery error exception class + * * @package MokoStandards\Enterprise * @version 04.00.04 * @author MokoStandards Team diff --git a/lib/Enterprise/RecoveryManager.php b/lib/Enterprise/RecoveryManager.php index cc05553..5373d7d 100644 --- a/lib/Enterprise/RecoveryManager.php +++ b/lib/Enterprise/RecoveryManager.php @@ -9,6 +9,13 @@ declare(strict_types=1); * * SPDX-License-Identifier: GPL-3.0-or-later * + * FILE INFORMATION + * DEFGROUP: MokoStandards.Enterprise.Recovery + * INGROUP: MokoStandards.Enterprise + * REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform + * PATH: /lib/Enterprise/RecoveryManager.php + * BRIEF: Recovery manager for failed operations + * * @package MokoStandards\Enterprise * @version 04.00.04 * @author MokoStandards Team diff --git a/lib/Enterprise/RetryHelper.php b/lib/Enterprise/RetryHelper.php index b360a48..526182b 100644 --- a/lib/Enterprise/RetryHelper.php +++ b/lib/Enterprise/RetryHelper.php @@ -9,6 +9,13 @@ declare(strict_types=1); * * SPDX-License-Identifier: GPL-3.0-or-later * + * FILE INFORMATION + * DEFGROUP: MokoStandards.Enterprise.Recovery + * INGROUP: MokoStandards.Enterprise + * REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform + * PATH: /lib/Enterprise/RetryHelper.php + * BRIEF: Retry helper with exponential backoff + * * @package MokoStandards\Enterprise * @version 04.00.04 * @author MokoStandards Team diff --git a/lib/Enterprise/SecurityValidator.php b/lib/Enterprise/SecurityValidator.php index 8f3a36c..ce7e0dd 100644 --- a/lib/Enterprise/SecurityValidator.php +++ b/lib/Enterprise/SecurityValidator.php @@ -2,6 +2,20 @@ declare(strict_types=1); +/* Copyright (C) 2026 Moko Consulting + * + * This file is part of a Moko Consulting project. + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + * FILE INFORMATION + * DEFGROUP: MokoStandards.Enterprise.Security + * INGROUP: MokoStandards.Enterprise + * REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform + * PATH: /lib/Enterprise/SecurityValidator.php + * BRIEF: Security validation library + */ + /** * Security Validator for MokoStandards * diff --git a/lib/Enterprise/TransactionManager.php b/lib/Enterprise/TransactionManager.php index b992a2b..d457db3 100644 --- a/lib/Enterprise/TransactionManager.php +++ b/lib/Enterprise/TransactionManager.php @@ -2,6 +2,20 @@ declare(strict_types=1); +/* Copyright (C) 2026 Moko Consulting + * + * This file is part of a Moko Consulting project. + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + * FILE INFORMATION + * DEFGROUP: MokoStandards.Enterprise.Transaction + * INGROUP: MokoStandards.Enterprise + * REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform + * PATH: /lib/Enterprise/TransactionManager.php + * BRIEF: Transaction manager for atomic operations + */ + /** * Transaction Manager for MokoStandards * diff --git a/lib/Enterprise/UnifiedValidation.php b/lib/Enterprise/UnifiedValidation.php index ad0f6fd..fffe02d 100644 --- a/lib/Enterprise/UnifiedValidation.php +++ b/lib/Enterprise/UnifiedValidation.php @@ -2,6 +2,20 @@ declare(strict_types=1); +/* Copyright (C) 2026 Moko Consulting + * + * This file is part of a Moko Consulting project. + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + * FILE INFORMATION + * DEFGROUP: MokoStandards.Enterprise.Validation + * INGROUP: MokoStandards.Enterprise + * REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform + * PATH: /lib/Enterprise/UnifiedValidation.php + * BRIEF: Unified validation framework + */ + /** * Unified Validation Framework for MokoStandards * diff --git a/lib/index.md b/lib/index.md index 0ac8b6e..b44c075 100644 --- a/lib/index.md +++ b/lib/index.md @@ -1,3 +1,14 @@ + + # Docs Index: /api/lib ## Purpose diff --git a/maintenance/index.md b/maintenance/index.md index 68f1026..e8f6cc3 100644 --- a/maintenance/index.md +++ b/maintenance/index.md @@ -1,3 +1,14 @@ + + # Docs Index: /api/maintenance ## Purpose diff --git a/src/functions.php b/src/functions.php index ab645eb..0f01e75 100644 --- a/src/functions.php +++ b/src/functions.php @@ -1,13 +1,20 @@ - * + * * SPDX-License-Identifier: GPL-3.0-or-later - * + * + * FILE INFORMATION + * DEFGROUP: MokoStandards.Common + * INGROUP: MokoStandards + * REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform + * PATH: /src/functions.php + * BRIEF: Common utility functions + * * This file provides global helper functions for MokoStandards. - * + * * @package MokoStandards * @version 04.00.04 */ diff --git a/templates/configs/index.md b/templates/configs/index.md index f05a262..3f02245 100644 --- a/templates/configs/index.md +++ b/templates/configs/index.md @@ -1,7 +1,12 @@ # Code Quality Configuration Templates diff --git a/templates/docs/README.md b/templates/docs/README.md index ab5406b..c6b80e4 100644 --- a/templates/docs/README.md +++ b/templates/docs/README.md @@ -1,3 +1,14 @@ + + # Documentation Templates ## Purpose diff --git a/templates/docs/extra/README.md b/templates/docs/extra/README.md index 90df0cb..193d9f7 100644 --- a/templates/docs/extra/README.md +++ b/templates/docs/extra/README.md @@ -1,3 +1,14 @@ + + # Extra Documentation Templates ## Purpose diff --git a/templates/docs/extra/index.md b/templates/docs/extra/index.md index aa969e1..04939d0 100644 --- a/templates/docs/extra/index.md +++ b/templates/docs/extra/index.md @@ -1,3 +1,14 @@ + + # Docs Index: /templates/docs/extra ## Purpose diff --git a/templates/docs/index.md b/templates/docs/index.md index a384f2e..5892b90 100644 --- a/templates/docs/index.md +++ b/templates/docs/index.md @@ -1,3 +1,14 @@ + + # Docs Index: /templates/docs ## Purpose diff --git a/templates/docs/required/README.md b/templates/docs/required/README.md index bc30eaf..c2dca78 100644 --- a/templates/docs/required/README.md +++ b/templates/docs/required/README.md @@ -1,3 +1,14 @@ + + # Required Documentation Templates ## Purpose diff --git a/templates/docs/required/index.md b/templates/docs/required/index.md index 9e47f20..c11ca53 100644 --- a/templates/docs/required/index.md +++ b/templates/docs/required/index.md @@ -1,3 +1,14 @@ + + # Docs Index: /templates/docs/required ## Purpose diff --git a/templates/licenses/README.md b/templates/licenses/README.md index 34209b1..6025866 100644 --- a/templates/licenses/README.md +++ b/templates/licenses/README.md @@ -1,3 +1,14 @@ + + # License Templates ## Purpose diff --git a/templates/licenses/index.md b/templates/licenses/index.md index d6785ae..d5a8655 100644 --- a/templates/licenses/index.md +++ b/templates/licenses/index.md @@ -1,3 +1,14 @@ + + # Docs Index: /templates/licenses ## Purpose diff --git a/templates/makefiles/README.md b/templates/makefiles/README.md index 1c2a07d..b10474d 100644 --- a/templates/makefiles/README.md +++ b/templates/makefiles/README.md @@ -1,3 +1,14 @@ + + # Makefile Templates This directory contains Makefile templates for different repository types. diff --git a/templates/required/README.md b/templates/required/README.md index ab327b7..031bd50 100644 --- a/templates/required/README.md +++ b/templates/required/README.md @@ -1,3 +1,14 @@ + + # Required Templates This directory contains **REQUIRED** files that must be present in all MokoStandards-compliant repositories. diff --git a/templates/schemas/README.md b/templates/schemas/README.md index 33e57c4..2a6b190 100644 --- a/templates/schemas/README.md +++ b/templates/schemas/README.md @@ -1,3 +1,14 @@ + + # Repository Structure Schemas This directory contains template schema files for defining custom repository structures. diff --git a/templates/schemas/schemas/README.md b/templates/schemas/schemas/README.md index 6f3183b..3973737 100644 --- a/templates/schemas/schemas/README.md +++ b/templates/schemas/schemas/README.md @@ -1,3 +1,14 @@ + + # Schema Directory - DEPRECATED ## ⚠️ NOTICE: This Directory Has Been Deprecated diff --git a/templates/scripts/README.md b/templates/scripts/README.md index 182fb26..6b43b24 100644 --- a/templates/scripts/README.md +++ b/templates/scripts/README.md @@ -1,3 +1,14 @@ + + # Script Templates This directory contains template scripts for common repository operations including validation, fixes, and release automation. diff --git a/templates/scripts/fix/index.md b/templates/scripts/fix/index.md index d9bc389..187592d 100644 --- a/templates/scripts/fix/index.md +++ b/templates/scripts/fix/index.md @@ -1,3 +1,14 @@ + + # Docs Index: /templates/scripts/fix ## Purpose diff --git a/templates/scripts/index.md b/templates/scripts/index.md index d3501a3..112f03f 100644 --- a/templates/scripts/index.md +++ b/templates/scripts/index.md @@ -1,3 +1,14 @@ + + # Docs Index: /templates/scripts ## Purpose diff --git a/templates/scripts/release/index.md b/templates/scripts/release/index.md index d7c1b65..73e45d5 100644 --- a/templates/scripts/release/index.md +++ b/templates/scripts/release/index.md @@ -1,3 +1,14 @@ + + # Docs Index: /templates/scripts/release ## Purpose diff --git a/templates/scripts/validate/index.md b/templates/scripts/validate/index.md index 32cdc7f..744b736 100644 --- a/templates/scripts/validate/index.md +++ b/templates/scripts/validate/index.md @@ -1,3 +1,14 @@ + + # Docs Index: /templates/scripts/validate ## Purpose diff --git a/templates/security/README.md b/templates/security/README.md index 4c643f4..dc56753 100644 --- a/templates/security/README.md +++ b/templates/security/README.md @@ -1,3 +1,14 @@ + + # Security Templates This directory contains security-related templates for MokoStandards repositories. diff --git a/templates/security/index.php b/templates/security/index.php index 9cee169..99c2fd6 100644 --- a/templates/security/index.php +++ b/templates/security/index.php @@ -5,6 +5,13 @@ * * SPDX-License-Identifier: GPL-3.0-or-later * + * FILE INFORMATION + * DEFGROUP: MokoStandards.Templates.Security + * INGROUP: MokoStandards.Templates + * REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform + * PATH: /templates/security/index.php + * BRIEF: Directory listing prevention script + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or diff --git a/templates/web/assets/css/app.css b/templates/web/assets/css/app.css index 22d3f31..94b7eef 100644 --- a/templates/web/assets/css/app.css +++ b/templates/web/assets/css/app.css @@ -1,9 +1,16 @@ /** * MokoStandards Web Interface - Material Design 3 - * + * * Copyright (C) 2026 Moko Consulting * SPDX-License-Identifier: GPL-3.0-or-later - * + * + * FILE INFORMATION + * DEFGROUP: MokoStandards.Templates.Web + * INGROUP: MokoStandards.Templates + * REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform + * PATH: /templates/web/assets/css/app.css + * BRIEF: Material Design 3 web interface stylesheet + * * Based on Material Design 3 (Material You) * https://m3.material.io/ */ diff --git a/tests/index.md b/tests/index.md index b50e6b4..c30ed84 100644 --- a/tests/index.md +++ b/tests/index.md @@ -1,3 +1,14 @@ + + # Docs Index: /api/tests ## Purpose diff --git a/tests/test_circuit_breaker_handling.php b/tests/test_circuit_breaker_handling.php index e266609..2ea2f41 100644 --- a/tests/test_circuit_breaker_handling.php +++ b/tests/test_circuit_breaker_handling.php @@ -1,5 +1,19 @@ #!/usr/bin/env php + * + * This file is part of a Moko Consulting project. + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + * FILE INFORMATION + * DEFGROUP: MokoStandards.Tests + * INGROUP: MokoStandards + * REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform + * PATH: /tests/test_circuit_breaker_handling.php + * BRIEF: Circuit breaker handling tests + */ + /** * Test circuit breaker exception handling in bulk sync */ diff --git a/tests/test_enterprise_libraries.php b/tests/test_enterprise_libraries.php index a157206..8b8fcc6 100644 --- a/tests/test_enterprise_libraries.php +++ b/tests/test_enterprise_libraries.php @@ -2,6 +2,20 @@ declare(strict_types=1); +/* Copyright (C) 2026 Moko Consulting + * + * This file is part of a Moko Consulting project. + * + * SPDX-License-Identifier: GPL-3.0-or-later + * + * FILE INFORMATION + * DEFGROUP: MokoStandards.Tests + * INGROUP: MokoStandards + * REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform + * PATH: /tests/test_enterprise_libraries.php + * BRIEF: Enterprise library tests + */ + require_once __DIR__ . '/../../vendor/autoload.php'; use MokoEnterprise\MetricsCollector; diff --git a/validate/SECURITY_SCANNING.md b/validate/SECURITY_SCANNING.md index 38e5154..803fb07 100644 --- a/validate/SECURITY_SCANNING.md +++ b/validate/SECURITY_SCANNING.md @@ -1,3 +1,14 @@ + + # Security Scanning Guide **Version**: 01.00.00 | **Status**: Active | **Last Updated**: 2026-01-28 diff --git a/validate/index.md b/validate/index.md index 0cc29a3..beda89d 100644 --- a/validate/index.md +++ b/validate/index.md @@ -1,3 +1,14 @@ + + # Docs Index: /api/validate ## Purpose