Collegium (AetherOS): Difference between revisions
Jump to navigation
Jump to search
AdminIsidore (talk | contribs) |
AdminIsidore (talk | contribs) No edit summary |
||
Line 70: | Line 70: | ||
# '''Layer 4: Automated Oversight (The Watcher):''' A maintenance bot, operated by the `Custos Structurae`, will periodically scan for non-compliant pages that may have bypassed the filter. The bot is authorized to revert non-compliant creations and notify the creator, ensuring the integrity of the policy. | # '''Layer 4: Automated Oversight (The Watcher):''' A maintenance bot, operated by the `Custos Structurae`, will periodically scan for non-compliant pages that may have bypassed the filter. The bot is authorized to revert non-compliant creations and notify the creator, ensuring the integrity of the policy. | ||
== 5. Collegium | == 5. Converti: The Collegium's SDK and Development Roadmap == | ||
The "Collegium Toolkit" is not a loose collection of scripts; it is a single, integrated SDK known as '''[[Converti (AetherOS)|Converti]]'''. All previously separate tools are to be deprecated and their functionality folded into `Converti` as distinct commands and capabilities. | |||
`Converti` is the canonized, opinionated, CLI-based quality and production system for the AetherOS wiki. It is designed to be downloaded and run directly in the terminal by any contributor—human developers and their AI Wingmen ([[ARC (AetherOS)|Code Virtuoso's Companions]]) alike. Its sole purpose is to provide a unified pipeline to draft, validate, and deploy high-quality, "virtuous" code to the wiki, and to assist in the removal or refactoring of graceless code. | |||
The following roadmap outlines the planned evolution of `Converti` into this comprehensive SDK. | |||
=== 5. | === 5.1 Core Architecture and Pipeline === | ||
* | The foundation of the SDK will be upgraded to ensure maximum robustness and automation. | ||
* '''Parsing Engine Upgrade:''' `Converti`'s wikitext parsing engine will be rebuilt using a dedicated library (e.g., <code>mwparserfromhell</code>). This will replace all brittle regular expression-based logic, ensuring accurate and reliable analysis of complex templates and modules. This is the highest-priority technical-debt payment. | |||
* | * '''Centralized Configuration:''' `Converti` will be driven by a single, version-controlled configuration file, <code>collegium_config.yaml</code>. This file will contain all tunable constants, including WM Score weights and formatter paths, making the entire system's behavior transparent and easy to adjust. | ||
* '''Integrated Formatter Toolchain:''' The sanctioned code formatters ('''[[https://github.com/pretty-php/pretty-php|pretty-php]]''', '''[[https://github.com/JohnnyMorganz/StyLua|StyLua]]''', and '''[[https://prettier.io/|Prettier]]''') will be integrated directly into the SDK. A new command, <code>converti format</code>, will be created to automatically apply the canonized style to any staged codebase. | |||
=== 5. | === 5.2 Commands for Analysis and Discovery (The Quaesitor's Toolkit) === | ||
* | This suite of commands allows the [[Collegium (AetherOS)|Quaesitor]] to map and audit the wiki's entire structural landscape. | ||
* | * '''<code>converti map</code>''': This command replaces the standalone `dependency_resolver.py`. It takes a list of root pages as input and generates the canonical <code>dependency_map.json</code> artifact, which serves as the static worldview for all other commands. | ||
** <code>--check-jargon</code>: | * '''<code>converti audit</code>''': This powerful command replaces both `dependency_analyzer.py` and `scriptor_explico.py`. It consumes the <code>dependency_map.json</code> and performs a full analysis, generating: | ||
** <code>--check-reading-level</code>: | ** The '''[[Wiki Maneuverability Score]]''' for every page in the map, with an enhanced check to ensure documentation pages exist and are not empty. | ||
** A detailed, "explainable" JSON output that breaks down the calculation for each page's score. | |||
** A human-readable text report summarizing the most foundational and complex pages. | |||
** An enriched, interactive HTML graph where nodes are '''color-coded by their WM Score''' and '''sized by their foundational importance''', creating a true diagnostic dashboard. | |||
=== 5.3 Commands for Deployment and Maintenance (The Praetor's Gateway) === | |||
This suite provides the tools for the [[Collegium (AetherOS)|Praetor]] and [[Collegium (AetherOS)|Custos Animae]] to manage the lifecycle of code on the wiki. | |||
* '''<code>converti deploy</code>''': This command replaces both `wiki_importer.py` and `batch_installer.py`, becoming the sole, sanctioned gateway for deploying code. It is driven by the static dependency map and supports two primary modes: | |||
** <code>converti deploy --page 'Template:Infobox'</code>: For deploying a single asset and its dependencies. | |||
** <code>converti deploy --batch approved_list.txt</code>: For executing a controlled, batch deployment of pre-vetted assets. | |||
* '''Mandatory Dry-Run Protocol:''' The `deploy` command will feature a mandatory <code>--dry-run</code> flag. This provides a pre-flight check that generates a report of all proposed changes (creations, skips, errors) without writing to the wiki, ensuring all deployments are deliberate and auditable. | |||
* '''<code>converti assist</code>''': This command evolves the `active_voice_assistant.py` into a comprehensive '''Scribal Quality Assistant''' for interactive content improvement. It will feature several modes for authors: | |||
** <code>--check-voice</code>: The original check for passive voice. | |||
** <code>--check-jargon</code>: Identifies overly technical terms that should be linked to a glossary or simplified. | |||
** <code>--check-reading-level</code>: Calculates a standard readability score to ensure content is accessible. |