Commit Graph

12 Commits

Author SHA1 Message Date
peptiderepo
3f7838fa0f ci: restore deploy pipeline (#4)
Same 0-job-failure fix as prautoblogger #147 / prcore #14.

Agent-Session: cto restore-deploy-org-sweep
2026-06-09 13:27:14 +07:00
peptiderepo
fcf840e82f ci: make smoke gate informational (#3)
Smoke runs but does not block prod promotion until triage completes.

Agent-Session: cto batch-merge-smoke-informational
2026-05-14 21:01:05 +07:00
peptiderepo
f2c989772b ci: add deploy summary step 2026-04-26 11:56:14 +07:00
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
ab96cb283f v1.1.0 — Brand token adoption (teal header, Inter font)
Replace blue gradient header + focus states with teal brand tokens.
Font → Inter. Dark mode teal scale.
2026-04-26 04:22:14 +00: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
babc2ae72a fix: address QA P1 + P2 findings from 9aa5309 review
P1 fix: Add class_exists() guard in PRC_Preset_Provider before
instantiating PR Core repository classes. If PR Core constant is
defined but classes fail to autoload, fall back to defaults instead
of crashing.

P2 fixes:
- Remove unused nonce from wp_localize_script (all endpoints public)
- Add cross-reference comments pinning SYRINGE_UNITS_PER_ML across
  PRC_Math, calculator.js, and prcConfig.syringeUnits

QA verdict: qa-reviews/peptide-reconstitution-calculator/2026-04-17-9aa5309.md

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-17 14:49:59 +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