Commit Graph

7 Commits

Author SHA1 Message Date
peptiderepo
334aeb3966 ci: add main-push-audit tripwire 2026-04-26 11:56:12 +07:00
peptiderepo
7a75dd0b58 ci: add CTO review workflow 2026-04-26 11:56:10 +07:00
peptiderepo
bea698813f ci: add Playwright smoke gate before prod deploy 2026-04-26 11:41:18 +07:00
peptiderepo
25b81bdf1b ci: split deploy.yml into staging→production pipeline with approval gate 2026-04-24 13:11:25 +07:00
peptiderepo
c35ed73616 ci: add workflow_call trigger so deploy.yml can reuse CI
The deploy workflow references ci.yml as a reusable workflow
via `uses: ./.github/workflows/ci.yml`. Without workflow_call
in the trigger list, GitHub Actions rejects the reference.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-17 17:16:39 +07:00
peptiderepo
817c3d1fb9 ci: add deploy-to-Hostinger workflow
Rsync over SSH on push to main. Runs CI first, then syncs
production files to wp-content/plugins/peptide-reconstitution-calculator/
on Hostinger. Includes LiteSpeed cache purge and health check.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-17 17:14:31 +07:00
peptiderepo
9aa5309eb4 feat: ship Peptide Reconstitution Calculator v1.0.0
Interactive reconstitution calculator with peptide-specific presets.

Core features:
- [prc_calculator] shortcode with instant client-side math
- Concentration (mg/mL), mcg/unit, injection volume, syringe units, doses/vial
- Live presets from PR Core dosing data (graceful fallback to 8 defaults)
- REST API (prc/v1): presets list/detail + server-side calculate
- Transient-cached presets with event-driven invalidation
- Dark mode + responsive design (320px+)
- Full teardown in uninstall.php

12 PHP files (max 241 lines), 1 JS file, 1 CSS file.
CI: PHP lint 8.1-8.3, PHPCS WordPress, 300-line check.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-17 14:23:59 +07:00