feat: add standard file headers to all 57 files missing them
Branch Policy Check / Verify merge target (pull_request) Successful in 1s
Branch Policy Check / Verify merge target (pull_request) Successful in 1s
- 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) <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
# Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
# 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
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Root
|
||||
INGROUP: MokoStandards
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /CHANGELOG.md
|
||||
BRIEF: Release changelog
|
||||
-->
|
||||
|
||||
# Changelog
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Root
|
||||
INGROUP: MokoStandards
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /PLUGIN_SCRIPTS.md
|
||||
BRIEF: Plugin system CLI documentation
|
||||
-->
|
||||
|
||||
# Plugin System CLI Scripts
|
||||
|
||||
Command-line scripts for validating, health checking, and managing projects using the MokoStandards plugin system.
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Root
|
||||
INGROUP: MokoStandards
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /README.md
|
||||
BRIEF: Project overview and documentation
|
||||
-->
|
||||
|
||||
# MokoStandards Enterprise API
|
||||
|
||||
PHP implementation of MokoStandards — enterprise standards, automation framework, workflow templates, and bulk sync tooling.
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Analysis
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /analysis/index.md
|
||||
BRIEF: Analysis directory index
|
||||
-->
|
||||
|
||||
# Docs Index: /api/analysis
|
||||
|
||||
## Purpose
|
||||
|
||||
@@ -4,6 +4,13 @@
|
||||
* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
* 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,
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Automation
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /automation/index.md
|
||||
BRIEF: Automation directory index
|
||||
-->
|
||||
|
||||
# Docs Index: /api/automation
|
||||
|
||||
## Purpose
|
||||
|
||||
@@ -4,6 +4,13 @@
|
||||
* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
* 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
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Definitions
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /definitions/index.md
|
||||
BRIEF: Definitions directory index
|
||||
-->
|
||||
|
||||
# Docs Index: /api/definitions
|
||||
|
||||
## Purpose
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Fix
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /fix/index.md
|
||||
BRIEF: Fix directory index
|
||||
-->
|
||||
|
||||
# Docs Index: /api/fix
|
||||
|
||||
## Purpose
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Root
|
||||
INGROUP: MokoStandards
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /index.md
|
||||
BRIEF: Scripts directory index
|
||||
-->
|
||||
|
||||
# Scripts Index
|
||||
|
||||
Quick navigation for MokoStandards scripts organized by function.
|
||||
|
||||
@@ -2,6 +2,20 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
*
|
||||
* 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;
|
||||
|
||||
/**
|
||||
|
||||
@@ -2,6 +2,20 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -2,6 +2,20 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -2,6 +2,20 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
|
||||
@@ -2,6 +2,20 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
*
|
||||
* 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
|
||||
*
|
||||
|
||||
@@ -2,6 +2,20 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
*
|
||||
* 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;
|
||||
|
||||
/**
|
||||
|
||||
@@ -2,6 +2,20 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
*
|
||||
* 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;
|
||||
|
||||
@@ -2,6 +2,20 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
*
|
||||
* 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;
|
||||
|
||||
/**
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -2,6 +2,20 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
*
|
||||
* 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
|
||||
*
|
||||
|
||||
@@ -2,6 +2,20 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
*
|
||||
* 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
|
||||
*
|
||||
|
||||
@@ -2,6 +2,20 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
*
|
||||
* 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
|
||||
*
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Lib
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /lib/index.md
|
||||
BRIEF: Library directory index
|
||||
-->
|
||||
|
||||
# Docs Index: /api/lib
|
||||
|
||||
## Purpose
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Maintenance
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /maintenance/index.md
|
||||
BRIEF: Maintenance directory index
|
||||
-->
|
||||
|
||||
# Docs Index: /api/maintenance
|
||||
|
||||
## Purpose
|
||||
|
||||
+11
-4
@@ -1,13 +1,20 @@
|
||||
<?php
|
||||
/**
|
||||
* MokoStandards Common Functions
|
||||
*
|
||||
*
|
||||
* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
*
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
@@ -1,7 +1,12 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Templates.Configs
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /templates/configs/index.md
|
||||
BRIEF: Configuration templates directory index
|
||||
-->
|
||||
|
||||
# Code Quality Configuration Templates
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Templates.Docs
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /templates/docs/README.md
|
||||
BRIEF: Documentation templates README
|
||||
-->
|
||||
|
||||
# Documentation Templates
|
||||
|
||||
## Purpose
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Templates.Docs.Extra
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /templates/docs/extra/README.md
|
||||
BRIEF: Extra documentation templates README
|
||||
-->
|
||||
|
||||
# Extra Documentation Templates
|
||||
|
||||
## Purpose
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Templates.Docs.Extra
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /templates/docs/extra/index.md
|
||||
BRIEF: Extra documentation templates directory index
|
||||
-->
|
||||
|
||||
# Docs Index: /templates/docs/extra
|
||||
|
||||
## Purpose
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Templates.Docs
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /templates/docs/index.md
|
||||
BRIEF: Documentation templates directory index
|
||||
-->
|
||||
|
||||
# Docs Index: /templates/docs
|
||||
|
||||
## Purpose
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Templates.Docs.Required
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /templates/docs/required/README.md
|
||||
BRIEF: Required documentation templates README
|
||||
-->
|
||||
|
||||
# Required Documentation Templates
|
||||
|
||||
## Purpose
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Templates.Docs.Required
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /templates/docs/required/index.md
|
||||
BRIEF: Required documentation templates directory index
|
||||
-->
|
||||
|
||||
# Docs Index: /templates/docs/required
|
||||
|
||||
## Purpose
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Templates.Licenses
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /templates/licenses/README.md
|
||||
BRIEF: License templates README
|
||||
-->
|
||||
|
||||
# License Templates
|
||||
|
||||
## Purpose
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Templates.Licenses
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /templates/licenses/index.md
|
||||
BRIEF: License templates directory index
|
||||
-->
|
||||
|
||||
# Docs Index: /templates/licenses
|
||||
|
||||
## Purpose
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Templates.Makefiles
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /templates/makefiles/README.md
|
||||
BRIEF: Makefile templates README
|
||||
-->
|
||||
|
||||
# Makefile Templates
|
||||
|
||||
This directory contains Makefile templates for different repository types.
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Templates.Required
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /templates/required/README.md
|
||||
BRIEF: Required templates README
|
||||
-->
|
||||
|
||||
# Required Templates
|
||||
|
||||
This directory contains **REQUIRED** files that must be present in all MokoStandards-compliant repositories.
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Templates.Schemas
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /templates/schemas/README.md
|
||||
BRIEF: Schema templates README
|
||||
-->
|
||||
|
||||
# Repository Structure Schemas
|
||||
|
||||
This directory contains template schema files for defining custom repository structures.
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Templates.Schemas
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /templates/schemas/schemas/README.md
|
||||
BRIEF: Deprecated schema directory README
|
||||
-->
|
||||
|
||||
# Schema Directory - DEPRECATED
|
||||
|
||||
## ⚠️ NOTICE: This Directory Has Been Deprecated
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Templates.Scripts
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /templates/scripts/README.md
|
||||
BRIEF: Script templates README
|
||||
-->
|
||||
|
||||
# Script Templates
|
||||
|
||||
This directory contains template scripts for common repository operations including validation, fixes, and release automation.
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Templates.Scripts.Fix
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /templates/scripts/fix/index.md
|
||||
BRIEF: Fix scripts directory index
|
||||
-->
|
||||
|
||||
# Docs Index: /templates/scripts/fix
|
||||
|
||||
## Purpose
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Templates.Scripts
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /templates/scripts/index.md
|
||||
BRIEF: Script templates directory index
|
||||
-->
|
||||
|
||||
# Docs Index: /templates/scripts
|
||||
|
||||
## Purpose
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Templates.Scripts.Release
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /templates/scripts/release/index.md
|
||||
BRIEF: Release scripts directory index
|
||||
-->
|
||||
|
||||
# Docs Index: /templates/scripts/release
|
||||
|
||||
## Purpose
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Templates.Scripts.Validate
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /templates/scripts/validate/index.md
|
||||
BRIEF: Validate scripts directory index
|
||||
-->
|
||||
|
||||
# Docs Index: /templates/scripts/validate
|
||||
|
||||
## Purpose
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Templates.Security
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /templates/security/README.md
|
||||
BRIEF: Security templates README
|
||||
-->
|
||||
|
||||
# Security Templates
|
||||
|
||||
This directory contains security-related templates for MokoStandards repositories.
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,9 +1,16 @@
|
||||
/**
|
||||
* MokoStandards Web Interface - Material Design 3
|
||||
*
|
||||
*
|
||||
* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
* 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/
|
||||
*/
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Tests
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /tests/index.md
|
||||
BRIEF: Tests directory index
|
||||
-->
|
||||
|
||||
# Docs Index: /api/tests
|
||||
|
||||
## Purpose
|
||||
|
||||
@@ -1,5 +1,19 @@
|
||||
#!/usr/bin/env php
|
||||
<?php
|
||||
/* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
*
|
||||
* 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
|
||||
*/
|
||||
|
||||
@@ -2,6 +2,20 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/* Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
*
|
||||
* 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;
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Validate
|
||||
INGROUP: MokoStandards
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /validate/SECURITY_SCANNING.md
|
||||
BRIEF: Security scanning guide
|
||||
-->
|
||||
|
||||
# Security Scanning Guide
|
||||
|
||||
**Version**: 01.00.00 | **Status**: Active | **Last Updated**: 2026-01-28
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
<!--
|
||||
Copyright (C) 2026 Moko Consulting <hello@mokoconsulting.tech>
|
||||
SPDX-License-Identifier: GPL-3.0-or-later
|
||||
FILE INFORMATION
|
||||
DEFGROUP: MokoStandards.Index
|
||||
INGROUP: MokoStandards.Validate
|
||||
REPO: https://git.mokoconsulting.tech/MokoConsulting/moko-platform
|
||||
PATH: /validate/index.md
|
||||
BRIEF: Validate directory index
|
||||
-->
|
||||
|
||||
# Docs Index: /api/validate
|
||||
|
||||
## Purpose
|
||||
|
||||
Reference in New Issue
Block a user