Skip to content

[OpenSpec] lesson-authoring-ai-delegate #963

Description

@github-actions

⚠️ OpenSpec-managed issue — this content is automatically synced
from the openspec/ directory. Manual edits will be overwritten on next sync.

Artifacts

Summary

Add a lesson authoring delegate to Hermiq. It is a governed AI feature, off by default, that offers teachers four assistive actions. It drafts a lesson outline from a learning goal, suggests questions for a lesson, rewrites a text at a lower reading level, and suggests which goals a lesson covers. The only content it accepts is lesson text and goal titles, never pupil data. Every output is marked as a draft, and every call is logged. It follows the same pattern as the message translation delegate: a repair step seeds a disabled agentaifeature row, a DPO must acknowledge it before it can be enabled, an engine checks the gate before it touches a model, and a thin controller maps HTTP to the engine. The model runs through ProviderFactory::generateText(). With the admin's nextcloud driver that is Nextcloud task processing (OCP\TaskProcessing, core:text2text). Learniq never calls a model vendor directly.

Specs

Tasks

  • Implement
  • Test
  • Implement
  • Test
  • Implement
  • Test
  • Implement
  • Test
  • All tasks checked off
  • openspec validate passes
  • Code review against spec requirements

Design

See design.md for technical design details.


Synced from openspec/changes/lesson-authoring-ai-delegate by OpenSpec workflow
App: hermiq

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    openspecManaged by OpenSpec workflowopenspec:tasksOpenSpec phase: Tasks

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions