feat(15-01): clone journal plugin with translatable Post tracer

- Register golem15.journal requiring exactly golem15.translate
- Squash golem15_journal_posts DDL with unique slug and JSONB columns
- Persist one en/pl Post through translate helpers on real Postgres

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jakub Zych
2026-10-06 18:22:47 +02:00
commit 54322128fb
11 changed files with 1050 additions and 0 deletions

14
plugin_test.go Normal file
View File

@@ -0,0 +1,14 @@
package journal
import "testing"
func TestPostTranslatableSmoke(t *testing.T) {
p := &Plugin{}
if p.ID() != "golem15.journal" {
t.Fatalf("ID = %q, want golem15.journal", p.ID())
}
got := p.Requires()
if len(got) != 1 || got[0] != "golem15.translate" {
t.Fatalf("Requires = %#v, want exactly [golem15.translate]", got)
}
}