Skip to content

Productize @sketchi-app/opencode-excalidraw docs + deterministic agent defaults #129

@anand-testcompare

Description

@anand-testcompare

Objective

Finish remaining productization work for @sketchi-app/opencode-excalidraw after v0.0.7.

Current Status

Completed

Still Open

  1. Output path policy hardening

    • default output root is still sketchi/png (packages/opencode-excalidraw/src/lib/output.ts)
    • move default to /.sketchi/sessions/<sessionID>/png/...
    • constrain tool-supplied outputPath to remain under default root by default
    • provide explicit opt-out for power users
    • ensure .sketchi/** is gitignored (including nested .gitignore if needed)
  2. Deterministic package defaults

    • implement package-owned model/instruction defaults (no hidden reliance on local agent files)
    • add documented permission baseline + override mechanism
  3. Docs consistency

    • align README/opencode docs with current install/output behavior
    • keep references/version labels current
  4. Automated coverage

    • add tests for default session-scoped pathing
    • add tests for outputPath containment (bare filename + traversal attempts)
    • keep plugin CI gates enforcing this behavior

Non-Goals

  • backend architecture changes for diagram endpoints

Consolidation

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions