Phase 5 part 3: build pages from a site's own sections
Sites → New pages: the AI composes a landing, product, alternative, comparison or blog page as the site's own sections, from the profile and optionally a product, competitor, buying signal or SEO brief. Code checks every section type, warns on unknown fields and missing pages, tags a signal's links with its campaign and finds experience claims. Pages are edited here, pushed to their own branch with a preview, and opened as pull requests after the claims are confirmed. Schema 22. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -17,6 +17,7 @@ import (
|
||||
"supermarket/internal/profile"
|
||||
"supermarket/internal/secrets"
|
||||
"supermarket/internal/seo"
|
||||
"supermarket/internal/sites"
|
||||
)
|
||||
|
||||
var googleFields = []secretField{
|
||||
@@ -248,6 +249,9 @@ func (s *Server) RunSEO(ctx context.Context) {
|
||||
if err := seo.RecoverBriefs(s.DB); err != nil {
|
||||
s.Log.Error("seo: recovering briefs", "err", err)
|
||||
}
|
||||
if err := sites.RecoverPages(s.DB); err != nil {
|
||||
s.Log.Error("sites: recovering pages", "err", err)
|
||||
}
|
||||
tick := time.NewTicker(30 * time.Minute)
|
||||
defer tick.Stop()
|
||||
for {
|
||||
|
||||
Reference in New Issue
Block a user