Skip to content

Latest commit

 

History

History
96 lines (52 loc) · 19.9 KB

PROJECT_STATUS.md

File metadata and controls

96 lines (52 loc) · 19.9 KB

Project status — start here

Updated: 2026-11-20. SpecSpace Desktop 0.1.0, local macOS application.

Resume development

Read AGENTS.md, VISION.md, SPEC.md, ARCHITECTURE.md, and SDD.md. Then read the relevant increment in specs and plans.

Current state

  • MVP: local folders, tabs, CodeMirror, Markdown/Mermaid preview, explicit saving, and pending-edit protection. File → Open Folder… (⌘O) is the primary folder action.
  • 001 — Connected Specifications is implemented: saved-file index, outgoing references/backlinks, missing-document detection, and a navigable directed graph with zoom and automatic fit.
  • Connections rebuild on workspace opening, successful save/reload, and refresh; editor buffers and undo histories remain intact. Errors, skipped files, and stale snapshots are visible.
  • SPEC 005 is implemented locally with plan 005: save an individual Mermaid diagram as PNG or copy it to the image clipboard. The user confirmed the outstanding manual checks; implementation and validation evidence are recorded in the plan.
  • Repository: /Users/estebanabait/Documents/Projects/spec-space. Increments 001 and 003 are committed on main; the checkout was clean at the start of this continuation. Inspect Git before resuming. The initial baseline is tagged v0.1.0.

Validation evidence

  • Increment 001 validation (2026-10-17): 13 TypeScript tests and 6 Rust tests passed; frontend build, formatting, diff checks, and macOS release bundle succeeded. Details and limitations are in plan 001.
  • Native release executable verified by its full path. This repository initially produced 13 documents / 32 references before closure documentation added links. Graph navigation opened tabs and SPEC.md showed its outgoing reference and 4 backlinks.
  • Temporary workspace checks: missing-target reporting, unsaved-edit notice, external refresh preserving pending content, save updating the graph, and reconstruction after restarting the app passed. Automatic fit was corrected and visually verified at approximately 850 × 580 and normal size.
  • Bundle: src-tauri/target/release/bundle/macos/SpecSpace.app. No user session was closed; only the test session created in this task was restarted.
  • Rust remains under /private/tmp; see README and verify availability on future runs.

Limits and next step

Connections describe explicit document references, not semantic dependency or change impact. Scanning is bounded and reports partial results; see SPEC. No autosave, unsaved-edit recovery, file watcher, Git UI, or collaboration.

Active focus: Horizon 1 — Understanding and Review Workspace, revised by the user on 2026-10-21. Agents are the intended primary authors/editors; humans navigate, understand, direct, and review, with occasional manual corrections. Prioritize reading, navigation, diagrams, context, and change comprehension; see VISION and the candidate backlog. No agent implementation increment is accepted by this direction change. SPEC 010's visual direction, implementation scope, and plan were accepted on 2026-10-19. The redesign is implemented and validated locally; see SPEC 010 and plan 010. SPEC 003's minimum-window creation inspection remains outstanding.

The user accepted SPEC 011 and its matching plan on 2026-10-19. The section outline is implemented and validated in automated checks and an isolated packaged macOS app; see plan 011. SPEC 012 is implemented; automated checks and packaged layout checks pass. Manual confirmation of horizontal scrolling remains (see plan 012).

Bulk tab closing is implemented through SPEC 004. Mermaid-syntax PNG export and image clipboard copying are implemented through SPEC 005. SPEC 006 was discarded after packaged-app validation: Preview selection works well; horizontal selection in Source remains unresolved, and the user accepts that tradeoff. SPEC 007's isolated Pele comparison is complete. SPEC 008's Pele migration and isolated native visual, PNG save, and image-copy checks are complete; paste into another app was not repeated for Pele output. SPEC 009 is implemented locally: normal relaunch restores the last workspace and valid clean tabs from disk. SPEC 010's visual redesign and new system-blueprint icon are implemented and verified in the isolated packaged app. SPEC 011 adds a live per-document section outline with Source, Preview, and Split navigation; SPEC 012 keeps wide Preview tables readable with local horizontal scrolling; increments 013–015 add focused diagram viewing, node search, and direct-connection inspection for flowcharts and C4. See plans 008–015 for evidence and limits. SPEC 003's minimum-window creation inspection remains outstanding. SPEC 016 was rejected. SPEC 017 is accepted with its plan recorded; implementation pending. Next unused ID: 018.

Proposal 002 and its pilot are deferred. The assisted-inventory direction remains in VISION for future human fixed-price preparation; no automatic estimation is planned. The selected iCloud Drive/Test input and suggested EP-01 slice are retained for possible resumption. The npm audit found existing dependency advisories (versions unchanged from baseline); follow-up details are in plan 001. Do not publish or commit implicitly.

Latest task

2026-11-20: SPEC 021 code delivery passed 151 frontend tests, the production build, and 10 Rust tests. The user explicitly authorized merging and pushing main. The implementation remains In progress pending native interaction checks at normal size and 850 × 580, observed offline/network behavior, and larger-model timings. Details and current validation evidence are in plan 021.

2026-11-19: Implementation of SPEC 021, the native Structurizr architecture explorer, is in progress on codex/structurizr-explorer. The accepted attachments dated 2026-11-16 originally used ID 019; existing increments 019 and 020 were preserved and the next available ID 021 was assigned. DSL discovery, protected reading/saving/session restoration, current-buffer architecture routing, worker-based parsing/layout, view navigation, search/inspection, diagnostics, and representative examples are delivered locally. Validation and native QA are being recorded in plan 021. Existing uncommitted panel/table/outline changes remain in place. Next unused increment ID is 022.

2026-10-27: SPEC 020 was accepted with “aceptada” and implemented locally. It adds a read-only icon-only Copy Markdown action that copies the authored table block from the active buffer and makes nested outline titles left-aligned with visible heading-level indentation. 56 frontend tests, build, format checks, diff checks, and the release macOS bundle passed. Packaged-app copy/paste and outline inspection remain outstanding; see plan 020. Both increment directories were enumerated; next unused ID: 021. SPEC 019 is complete and user-validated.

2026-10-27: SPEC 019 was accepted with “aceptado”, implemented, tested by the user, and accepted with “probado y aceptado el cambio”. Explorer and Source/Preview separators now support bounded pointer and keyboard resizing, session-only preferences, reset to defaults, and clean compact-mode behavior while preserving mounted editor state. Frontend tests (55), build, format checks, diff checks, release macOS bundle, and manual packaged-app validation passed. No commit, publish, or deployment was performed. SPEC 017 remains independently accepted and pending.

2026-10-24: SPEC 018 is implemented. After pushing its commits to main, hosted run 40109531800 passed tag/version validation, Apple Silicon and Intel builds, artifact transfer, and draft-release preparation for v0.1.0. Both architecture artifacts were recorded against commit d1cffd3; the workflow did not publish the draft. Native launch and unsigned/unnotarized distribution remain explicit human review steps. See plan 018.

2026-10-24: SPEC 018's second hosted run passed both macOS build jobs but GitHub returned HTTP 403 when creating the draft; no release was created. Added token-safe API diagnostics and a focused test, bringing release-helper coverage to 13 passing tests. The exact GitHub permission reason requires the next hosted response; see plan 018.

2026-10-24: Following a user-reported hosted 5000 ms integration-test timeout, adjusted SPEC 018 release validation to two Vitest workers and a 15000 ms per-test limit, preserving all assertions. All 55 frontend tests and workflow checks passed locally; hosted confirmation remains pending. See plan 018. No commit, push, or tag changes performed.

2026-10-23: The user explicitly accepted SPEC 018 with “aceptada”. Plan 018 was recorded before implementation. Release workflow implementation and local validation are complete: 12 release tests, 55 frontend tests, 9 Rust tests, actionlint, formatting, both macOS builds, archive extraction/architecture/version checks, and checksums passed. SPEC 018 remains In progress pending a separately authorized hosted run. No commit, push, tag, hosted run, or release was created. This supersedes the acceptance-pending entry below.

2026-10-23: Prepared SPEC 018 — GitHub release workflow following the user's request for release automation. Proposed scope: validate version tags, check and build macOS Apple Silicon/Intel packages, and attach archives/checksums to a draft release for manual publication. Acceptance pending; no workflow, plan, tag, or release created. SPEC 017 remains accepted and pending independently. Directories were enumerated before assigning 018; next unused ID: 019. This supersedes earlier next-ID notes.

2026-10-21: Increment 014's node search is implemented locally and approved by the user. Its mapping gate passed; 50 frontend tests and the frontend/isolated macOS release builds passed. Native checks verified repeated labels, keyboard selection, centered highlighting, search clearing, and independent diagrams at normal size. Plan 014 records the unperformed minimum-size, native export, and dirty-buffer checks separately. The user committed the current work as 0365503; subsequent documentation changes remain local.

2026-10-21: Prepared proposal 015 at the user's request for the next increment: select a flowchart node, inspect its direct connections, and navigate to a connected node. Acceptance pending; no implementation started. Next unused ID: 016. These entries supersede earlier next-ID notes.

2026-10-21: SPEC 015 was accepted with “aceptada” and is now implemented locally. Native isolated QA verified selection, direct-connection groupings and labels, highlights, follow-to-node navigation, and one counted subgraph-endpoint exclusion. npm test passes 52 tests; frontend and isolated macOS release builds, formatting, and diff checks pass. Minimum-window and active-selection export checks remain unperformed; see plan 015. Next unused ID: 016.

2026-10-21: Increment 013 was approved and its requested manual check confirmed by the user with “validado”. Its earlier proposal-pending status is superseded; historical plan 013 still lacks consolidated closure evidence.

2026-10-19: SPEC 005 accepted with “si”, implemented, and closed after the user confirmed the remaining manual checks with “comprobados”. Local PNG export and native image copying are implemented and the release bundle rebuilt. 23 frontend and 8 Rust tests pass. Actual PNG saving and image pasting into Preview and TextEdit passed on a sample diagram; see plan 005 for observed evidence and the limits of the user's confirmation. The SPEC 004 right-click menu was observed in the rebuilt native app.

2026-10-19: The user confirmed the SPEC 003 document-creation dialog in the packaged app is OK. Minimum-window inspection remains outstanding.

2026-10-19: SPEC 007 was accepted for comparison with “hagamos la comparación”. In a production browser harness, Pele 1.6.0 rendered all 11 valid cases in the 12-case corpus; existing SVG sanitization and PNG export worked except for the deliberately over-limit wide graph, which Mermaid also rejects at the current export boundary. Warm local median rendering ranged 0.1–0.9 ms for Pele versus 2.0–44.3 ms for Mermaid 11.17.2. Renderer-only gzip JavaScript was 280 KB for Pele and 974 KB for Mermaid. Pele's visual layout differs; see plan 007. Recommend evaluating a controlled production migration in a separate accepted SPEC; no renderer or dependency was changed.

2026-10-19: SPEC 008 was accepted with “avanzar”. Pele 1.6.0 now replaces Mermaid in Preview; Mermaid is removed from runtime dependencies. Pele and each diagram type load lazily, the existing SVG sanitizer remains, and diagram links/images are disabled. The checked-in Architecture flowchart and representative sequence, class, state, ER, Gantt, pie, architecture, style/directive, invalid, and unsafe-resource cases are covered by frontend tests. All 34 frontend tests and 8 Rust tests passed; the standard release bundle and an isolated QA bundle were built. Later isolated app verification visually confirmed the checked-in flowchart, native save to a valid 1478 × 128 RGBA PNG, and “Image copied” feedback. Cross-app paste with Pele output was not repeated. See plan 008.

2026-10-19: SPEC 009 was accepted with “aceptada,” and the user accepted its plan with “aceptado el plan, implementar.” Implemented Rust-owned local session metadata containing only workspace/tab paths and active index; normal startup restores clean documents from current disk content, skipping missing files. 35 frontend and 9 Rust tests pass; frontend build, formatting, Rust formatting, and diff checks pass. Isolated packaged QA confirmed normal quit/relaunch restores workspace, two tabs in order, and the active tab. See plan 009. Preserve earlier uncommitted SPEC 008 and SPEC 009 documentation changes.

2026-10-19: SPEC 010's plan was accepted with “aceptado”; implementation was explicitly requested and later validated by the user with “valide el incremento”. Updated the workspace, source editor, Markdown reading view, Connections styling, and connected-module app icon. Automated checks pass: 35 frontend tests, production build, formatting, and diff checks. Isolated packaged macOS QA verified the normal-size split and Connections view, compact Source/Preview access, preserved dirty editor state through resize, the rebuilt source-only pane filling the available width, and the new icon. The temporary edit was discarded in the isolated workspace; the user's running SpecSpace session was preserved. See plan 010.

2026-10-19: SPEC 011 and its plan were accepted before implementation. Added a transient accessible outline from the active unsaved Markdown buffer, with source-offset navigation into Preview and the existing CodeMirror instance and explicit Split synchronization. npm test passes 43 tests; production build, format check, and diff check pass. Isolated packaged macOS QA verified hierarchy, duplicate headings, frontmatter/code exclusions, Preview and Split navigation, normal layout, and panel usability at 850 × 580. The user's running app and files were left untouched. See plan 011.

2026-10-19: The user selected local horizontal scrolling with readable minimum column widths to address Preview tables collapsing narrow columns and accepted the matching plan. Implemented an accessible local overflow region with content-based table sizing and left-aligned preview cells, while preserving Markdown alignment markers in source. 44 frontend tests, build, formatting, and diff checks pass; isolated packaged layout verification passed at normal and 850 × 580 sizes. The test fixture remained disposable and the user's app session was untouched. UI automation could not demonstrate the trackpad scroll gesture, as recorded in plan 012. Next unused ID: 013.

On 2026-10-18 the user accepted SPEC 004 with “aceptada”. Implemented File → Close All Tabs / Close Other Tabs plus the same actions in a tab right-click menu, target-only save/discard/cancel prompts, partial-save failure protection, native menu availability, and editor transaction guards preserving undo history. Validation: 22 frontend tests, 7 Rust tests, frontend/native release builds, formatting, and diff checks passed. Native checks used an isolated copy of the exact release executable and disposable files at normal and minimum 850 × 580 size; the user's running session was preserved. See plan 004 for evidence and the executable hash.

2026-10-19: SPEC 006 was accepted with “avanzar”, then discarded by the user after packaged-app validation. The user confirmed selection works very well in Preview, while horizontal selection in Source remains broken, and accepted this as a tradeoff. Reverted the SPEC 006 source implementation. SPEC 003's minimum-window inspection remains outstanding. Proposal 002 remains deferred.

2026-10-21: Corrected SPEC 015 after the user reported that C4 node selection showed no connected-node details. The renderer now derives C4 shape aliases and relationships from Pele's C4 parser and displays direct neighbors and connection details in the focused panel. The user confirmed it works; 55 frontend tests, production and packaged builds, format checks, and isolated C4 native verification passed. See plan 015.

2026-10-21: The user rejected SPEC 016 with “descartar”. No reason was specified; no plan or implementation was created. The ID remains reserved; next unused ID: 017.

2026-10-21: Revised VISION and the candidate backlog following the user's explicit direction: agents perform primary file editing, while product investment centers on an ergonomic experience for human understanding of specifications. Added bounded understanding/navigation/review candidates ahead of the supporting agent integration roadmap. Current product behavior is unchanged; implementation still requires accepted SPECs and plans.

2026-10-21: Prepared proposal 017 following the user’s “dale” to a centered prompt palette and configurable CLI profiles (agent, model, installed skills, and advanced arguments). Codex is recommended as the first adapter based on local version/help inspection; no model execution was performed. Written contract acceptance is pending; no implementation plan or code change yet. This is the currently selected proposal, superseding the backlog’s earlier suggested starting order. Next unused ID: 018.

2026-10-21: The user explicitly accepted SPEC 017 with “si acepto”. Plan 017 is recorded with status Pending, beginning with actual CLI capability, skills, configuration, isolation, and cancellation checks before production integration. Codex is the accepted first adapter. No application code or model execution was performed in this acceptance/planning step; next unused ID remains 018. This supersedes the earlier SPEC 017 acceptance-pending entry.

2026-10-22: The user amended SPEC 017 to exclude shortcuts (“do not include shortcuts, I dont use them”). Updated the accepted SPEC and plan to use visible controls and a native menu entry without a new shortcut. No application code changed.