v0.6.2: deterministic peptide auto-linker
New Peptide_Linker class scans generated HTML and wraps every mention of a known peptide in a hyperlink to its /peptides/ database page. Runs as post-processing in Publisher — no LLM involvement, 100% reliable. Handles case-insensitive matching, hyphen/space variants, skips existing <a> tags. Gracefully no-ops if PR Core is not active. Removed prompt-based peptide linking from Content_Prompts (unreliable). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -134,6 +134,7 @@ prautoblogger/
|
||||
│ │ ├── class-semantic-dedup.php # Embedding-based cosine similarity dedup with keyword fallback
|
||||
│ │ ├── class-content-generator.php# Writer agent — manages the generation pipeline
|
||||
│ │ ├── class-content-prompts.php # Builds all LLM prompts for content generation (system, stage, linking rules)
|
||||
│ │ ├── class-peptide-linker.php # Deterministic post-processor: hyperlinks peptide mentions to /peptides/ pages
|
||||
│ │ ├── class-chief-editor.php # Editor agent — LLM-powered editorial review
|
||||
│ │ ├── class-publisher.php # Creates WordPress posts from approved content
|
||||
│ │ ├── class-post-assembler.php # Post-creation helpers: taxonomy, log linking, images, sanitization
|
||||
|
||||
Reference in New Issue
Block a user