Release Notes — v0.4.1 (November 9, 2026)
Patch release. No API, data model, migration or configuration changes.
This release extends the contextual AI assistant to framework templates outside the core list and detail shells, and adds assistant context to the audit trail and parameter pages.
AI assistant coverage
The assistant launcher and panel now appear on the framework's setup list pages (writable and read-only), journal list/detail/create, attachment list, workflow template list, task history, scheduled tasks, saved queries, query builder, workflow history, workflow error list, notification list, and the email library, builder, create, versions, delivery list and delivery detail pages.
The assistant still renders only when the page supplies an ai_assistant context. The context
builders enforce the existing rules: the user must be signed in, hold
action.enezaagents.assistant, have view access to the model, and the model must be registered
for AI in <app>/ai.py.
Audit trail and parameter pages
AuditTrailView now builds assistant context for the audited model and record, and the audit
trail page renders the launcher while its HTMX partial carries the context script. When the
audited record has been deleted, the page falls back to list-style context.
BaseParameter now builds assistant context, and the parameter detail/create templates emit the
context script. Direct page loads continue to render through core/full_page_template.html,
which supplies the launcher.
Files changed
| File | Change |
|---|---|
enezaframework/views/audit.py |
AuditTrailView builds ai_assistant context for the audited model/record. |
enezaframework/views/base.py |
BaseParameter builds ai_assistant context. |
enezaframework/views/baseJournals.py |
Journal list, detail and create views build ai_assistant context. |
enezaframework/views/baseinline.py |
BaseInlineListView builds ai_assistant context. |
enezaframework/templates/core/audit_trail_page.html |
Renders the assistant launcher. |
enezaframework/templates/core/audit_trail_partial.html |
Emits the assistant context script for HTMX swaps. |
enezaframework/templates/core/partials/detail_parameter_partial.html |
Emits the assistant context script. |
enezaframework/templates/core/partials/create_parameter_partial.html |
Emits the assistant context script. |
enezaframework/templates/setups/list.html |
Embeds the assistant. |
enezaframework/templates/setups/list_readonly.html |
Embeds the assistant. |
enezaframework/templates/journal/listpage.html |
Embeds the assistant. |
enezaframework/templates/journal/partials/journal_batch_detail.html |
Emits the assistant context script. |
enezaframework/templates/journal/partials/journal_batch_create.html |
Emits the assistant context script. |
enezaframework/templates/attachments/list.html |
Embeds the assistant. |
enezaworkflowengine/templates/workflowtemplate/list.html |
Embeds the assistant. |
enezaworkflowengine/templates/task_history/list.html |
Adds the assistant tag. |
enezaworkflowengine/templates/scheduled_task/list.html |
Adds the assistant tag. |
enezaworkflowengine/templates/saved_query/list.html |
Adds the assistant tag. |
enezaworkflowengine/templates/query_builder.html |
Adds the assistant tag. |
enezaworkflowengine/templates/workflow_instance/history_page.html |
Adds the assistant tag with the workflow instance. |
enezaworkflowengine/templates/workflow_instance/history_list.html |
Adds the assistant tag. |
enezaworkflowengine/templates/workflow_instance/error_list.html |
Adds the assistant tag. |
enezanotification/templates/enezanotification/notification_list.html |
Adds the assistant tag. |
enezanotification/templates/enezanotification/email/library.html |
Adds the assistant tag. |
enezanotification/templates/enezanotification/email/builder.html |
Adds the assistant tag. |
enezanotification/templates/enezanotification/email/create.html |
Adds the assistant tag. |
enezanotification/templates/enezanotification/email/versions.html |
Adds the assistant tag. |
enezanotification/templates/enezanotification/email/delivery_list.html |
Adds the assistant tag. |
enezanotification/templates/enezanotification/email/delivery_detail.html |
Adds the assistant tag. |
Upgrading
Install enezaframework==0.4.1. No migrations or data changes are required.
Models shown on the newly wired pages must be registered in <app>/ai.py. Apps without AI
registration keep rendering normally; the assistant tag simply renders nothing.
Packaging
- Version bumped to
0.4.1insetup.py,eneza/__init__.pyandeneza/templates/project/requirements.txt. - Generated projects now require
enezaframework==0.4.1.
Validation
Per project rules, the developer or agent does not run or claim test results. The user is solely
responsible for all testing and validation. Suggested checks: open each affected page as a user
with action.enezaagents.assistant and confirm one launcher appears; repeat without the
permission and confirm no launcher appears; open an audit trail directly and through an HTMX
history action; and confirm no duplicate launcher buttons appear on parameter pages.