ShtukbaseStandard

Content

content · version 0.1.0
Other3 norms3 checks

The collections of a content factory: topics, platforms, ideas and drafts; the contour "idea → draft → in review → approved → published"; norms: only a person approves and publishes, a draft rests on an approved idea and a platform, the text keeps the platform style.

About the package

A simple path of a text: a person and agents come up with ideas, a person approves an idea, an agent writes a draft, the editor agent checks it against the platform style, and a person approves the text and publishes it themselves.

Collections

  • Topics: what we write about. One page is one topic.
  • Platforms: where we write: channel, format, length, language, tone and own style rules.
  • Ideas: one idea per text: topic, platform, a couple of lines on what it is about.
  • Drafts: one text for one platform. A published draft is the publication: it has a date and an address.
  • Voice: the common language and tone of all texts.

Contour

Idea: new (proposed) → approved (approved by a person) → drafted (there is a draft for it); or rejected.

Draft: draft (being written or fixed) → review (in review) → approved (approved by a person) → published (a person published it). From review the editor returns the text to draft with notes.

Norms

  • CNT-R01 (MUST): only a person approves and publishes. Enforcers: the hook approve-guard (an agent in Claude Code cannot set approved, published or the approval fields) and the check approval (an approved text has a person and a day recorded).
  • CNT-R02 (MUST): a draft rests on an approved idea and a platform that exist. The enforcer is the check draft.
  • CNT-R03 (SHOULD): the text keeps the platform style. Enforcers: the judge judges/platform-style.md (the editor agent works by it) and the check length (an approved text fits the length of the platform).

Boundary

The package sends nothing outside: there are no social network APIs, no mail and no publishing. Publishing a text is a person's job; after that the person sets published, the day and the address. The agents and the schedule are in the blueprint blueprint-content-factory.

Norms 3

IDNormLevelModeEnforcer
CNT-R01
A draft in the state approved or published was approved by a person: approvedBy is the name of a person, not an agent, approvedOn is the day. An agent does not set approved and published and does not write the approval and publication fields.
MUST blocks
check
CNT-R02
A draft refers to an idea and a platform that exist; the idea is approved (approved or drafted), not rejected.
MUST blocks
check
CNT-R03
The text of a draft keeps the format, length, language, tone and style rules of its platform and the project voice; an approved text fits within minChars to maxChars of the platform.
SHOULD blocks
judge

"Blocks": the enforcer stops a violation. "Observes": it only notes it. Level MUST means required; SHOULD means yes by default.

Actions 4

NameWhat it doesFileWhen
placeAdd the kinds Topic, Platform, Idea, Draft to the placement mapbin/place.ts
after install after update
approvalAn approved and a published draft were approved by a person, not by an agent
norm CNT-R01
checks/c01_approval.ts
check
draftA draft rests on an idea and a platform that exist; the idea is not rejected
norm CNT-R02
checks/c02_draft.ts
check
lengthAn approved text fits the length of the platform
norm CNT-R03
checks/c03_length.ts
check

shtuk check runs the checks; shtuk run content <name> runs any action. "After install" actions run by themselves only if the package comes from a trusted source.

Agent hooks 1

NameEventToolsFileNorm
approve-guardPreToolUseWrite, Edit, MultiEdithooks/approve-guard.tsCNT-R01

Pages 18

They go into the project at these paths.

Package files 8

They go into .shtukbase/packages/content/; actions run from there.