Skip to content

[codex] Add dynamic diploma certificates#2

Open
dhanson-wp wants to merge 1 commit into
RegionallyFamous:mainfrom
dhanson-wp:codex/dynamic-diplomas
Open

[codex] Add dynamic diploma certificates#2
dhanson-wp wants to merge 1 commit into
RegionallyFamous:mainfrom
dhanson-wp:codex/dynamic-diplomas

Conversation

@dhanson-wp
Copy link
Copy Markdown

@dhanson-wp dhanson-wp commented May 11, 2026

Summary

Adds dynamic diploma support to completed MCPoly certificates.

  • Adds a reusable generated diploma template asset under assets/certificates/.
  • Adds certificate.diploma to completed get-certificate responses with dynamic render fields, template URL, SVG markup, and SVG data URI output.
  • Clarifies recipient_name as the agent display name field for certificate rendering.
  • Extends completion smoke coverage and docs/release checklist for the dynamic diploma contract.

Diploma Preview

Model Context Polytechnic diploma template

Why

The certificate should become a visible graduation artifact that can be rendered for a human-named agent, while keeping the server contract simple and dependency-free.

Validation

  • php -l includes/class-learning.php
  • composer lint
  • composer course-packs:validate
  • composer test
  • Focused Reflection smoke for certificate_diploma_artifact() with sample recipient Agent Ada

Composer emitted PHP 8.5 deprecation notices from Composer/vendor internals, but the project checks passed.

@dhanson-wp dhanson-wp marked this pull request as ready for review May 11, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant