Issue #3586150: Add site architecture context source.

Work item: #3586150

Adds the ai_context_site_architecture submodule as a CCC-governed Drupal site behavior contract generator.

Summary:

  • Compiles Drupal surfaces into structured site behavior contracts.
  • Keeps MCP optional while producing MCP-ready resource payloads.
  • Adds CCC draft writing, Drush export, schema docs, resource template support, and tests.
  • Refactors generation behind collector and post-processor services.

Validation run locally:

  • PHP 8.3 syntax lint across modules/ai_context_site_architecture/src and tests/src: passed.
  • git diff --check: passed.
  • composer validate --no-check-publish for modules/ai_context_site_architecture: passed with Composer root-version notice.

Note: PHPUnit was not run locally because this checkout does not include a runnable Drupal test runtime/vendor/bin/phpunit.

Closes #3586150

Merge request reports

Loading