Skip to content

install: four more hal0-api write paths have no perms.py ownership rows — images/cache, dashboard-layout.json, update-jobs, chat_templates #1938

Description

@thinmintdev

Surfaced during #1895 (PR #1933) write-path enumeration; deliberately left out of that PR to keep its diff minimal for #1896's rebase.

Paths hal0-api can be first-writer of that have no ownership/mode row in src/hal0/install/perms.py:

  • images/cache (api/image_cache.py)
  • dashboard-layout.json (dashboard/layout_store.py)
  • update-jobs (api/routes/updater.py)
  • chat_templates store dir (api/routes/chat_templates.py)

Same O13 birth-ownership class as #1895. PR #1933's new parametrized coverage test (test_every_hal0_api_write_path_has_an_ownership_row) is the durable gate — extend it with these four when adding the rows. Should land after #1896 settles the table.

Refs #1895, #1896.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageMaintainer needs to evaluate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions