Files
tools-legacy/openspec/changes/archive/2026-10-01-move-image-cropper/specs/tools-app/spec.md
T
adebisi-fa 58b8b9c862 docs(openspec): move-image-cropper change — specs synced, change archived
image-cropper capability added; tools-app landing + config requirements
updated (internal /cropper link, credentials-via-env carve-out).
2026-10-01 01:13:52 +01:00

1.4 KiB

Spec Delta: tools-app

MODIFIED Requirements

The app SHALL serve a landing page at / containing links to the Image Cropper (/cropper) and to the Fingerprint Agent page (/fingerprint).

  • WHEN a user opens the app root URL
  • THEN the page shows a link to the Image Cropper pointing at /cropper and a link to /fingerprint

Requirement: Configuration is hardcoded

The app SHALL hardcode all configuration in source: port 4173, portal https://portal.yrka.app, PocketBase https://pb.itcass.net, a2loft https://apis.a2loft.net, and agent http://127.0.0.1:9000. There SHALL be no runtime configuration via environment variables or config files, with one exception: the Image Cropper's service credentials (Minio keys, Azure storage connection string, nodered credentials, cleanup-service key) SHALL come from environment variables and SHALL NOT be stored in source.

Scenario: No configuration required to run

  • WHEN the app is started with no environment variables or config files
  • THEN it serves on port 4173 with the hardcoded external endpoints

Scenario: Cropper credentials from the environment

  • WHEN the cropper credentials are supplied as environment variables
  • THEN the cropper routes use them without any change to the hardcoded URL/port configuration