paqad-ai 1.2.1 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # paqad-ai
2
2
 
3
+ ## 1.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#67](https://github.com/Eliyce/paqad-ai/pull/67) [`c4312aa`](https://github.com/Eliyce/paqad-ai/commit/c4312aab1366c6c25138e6de38cff935c862ccb1) Thanks [@HLasani](https://github.com/HLasani)! - Add `paqad-ai dashboard` and `paqad-ai status` — the living single-pane health overview for an onboarded paqad project.
8
+
9
+ `paqad-ai dashboard` starts a local web server (port 5372, auto-incrementing) on the same bundle as `paqad-ai graph`. The graph view is now one section inside the dashboard, opened via the architecture card; the existing `paqad-ai graph` command is unchanged and is still a direct shortcut to the graph route. Sections rendered in Phase 1: project profile, rules, workflows, decisions (living), module health (living), module docs, architecture, design system, stack, registries, tools, tech-debt, stack drift, framework version, RAG status, and — when present — pentest and session continuity. Each card shows a score badge, a one-line state-derived summary, a `?` helper popover, and up to three compact metrics. Score is existence + freshness only (file present + last-modified ≤ 30d = 100%, decays linearly to 0 at the 180d cliff); no content-quality heuristics in Phase 1. The summary band surfaces up to five "Needs your attention" items, critical-first. The card border pulses (200ms accent) when SSE re-fetch updates a section — the one allowed animation.
10
+
11
+ `paqad-ai status` is the same `buildReport()` pipeline, but one-shot — no server, no long-running process. Defaults to a deterministic Markdown rendering for humans / PR descriptions; `--format json` emits the stable `schemaVersion: 1` contract for agent prompts.
12
+
13
+ Zero install footprint: the bundle ships inside the package (mirroring the existing `runtime/graph-ui/` pattern), no new files are written into the user's project, scoring is computed on the fly, and no new MCP server or background process is introduced. Reuses every `--color-mod-*` design token already present in `graph-ui/src/index.css` — no new design tokens.
14
+
15
+ Closes [#64](https://github.com/Eliyce/paqad-ai/issues/64).
16
+
17
+ ### Patch Changes
18
+
19
+ - [#71](https://github.com/Eliyce/paqad-ai/pull/71) [`c530fa3`](https://github.com/Eliyce/paqad-ai/commit/c530fa34d032f7f454f49386bc66987e32cb726a) Thanks [@HLasani](https://github.com/HLasani)! - Stop leaking absolute install paths into committed onboarding artifacts ([#69](https://github.com/Eliyce/paqad-ai/issues/69)). The hooks manifest (`.claude/settings.hooks.json`, `.codex/hooks.json`, `.gemini/hooks.json`, etc.) now stores only the package-relative `source` and resolves the hook script at runtime, instead of baking in `/opt/homebrew/lib/node_modules/paqad-ai/...` or `~/.npm/_npx/<hash>/...` from the onboarding user's machine. A teammate cloning the repo (different OS user, different package manager, Mac vs. Windows) can now run Paqad without every hook 404'ing, and usernames/machine layout no longer end up in source control. Adds a portability test that scans all generated config across every adapter × fixture combination for leaked absolute paths.
20
+
3
21
  ## 1.2.1
4
22
 
5
23
  ### Patch Changes
package/README.md CHANGED
@@ -512,6 +512,39 @@ paqad-ai graph --no-watch # Disable live reload on .paqad/ changes
512
512
 
513
513
  **Pre-conditions:** the current directory must contain a `.paqad/` from a previous `paqad-ai onboard`. RAG is optional — without it the graph still renders fully, with similarity and chunk nodes disabled behind a clear banner.
514
514
 
515
+ ### `paqad-ai dashboard`
516
+
517
+ The single-pane "where am I on this project?" view. Same bundle as `paqad-ai graph` — the graph view is now one section inside the dashboard, opened by the architecture card.
518
+
519
+ ```bash
520
+ paqad-ai dashboard # Opens http://127.0.0.1:5372/#/dashboard
521
+ paqad-ai dashboard --no-open # Print the URL and skip auto-open
522
+ paqad-ai dashboard --port 8080 # Custom port (auto-increments if busy)
523
+ paqad-ai dashboard --no-watch # Disable live reload on .paqad/ changes
524
+ ```
525
+
526
+ **What you get:**
527
+
528
+ - Overall completeness score (existence + freshness, no content-quality heuristics)
529
+ - A card per section: project profile, rules, workflows, decisions (living), module health (living), module docs, architecture, design system / stack / registries / tools / tech-debt, stack drift, framework version, RAG status, and — when present — pentest and session continuity
530
+ - Per-card score badge using the same `mod-green` / `mod-amber` / `mod-red` / `mod-unknown` tokens as the graph view
531
+ - Helper text behind a `?` affordance on every card (what this means + what good looks like)
532
+ - Summary band with up to five "Needs your attention" items, ordered critical-first
533
+ - Live reload — same SSE pattern as the graph view, the card border pulses when its section changes
534
+ - `paqad-ai graph` and `paqad-ai dashboard` share the bundle; switching between routes is a hash-router nav
535
+
536
+ ### `paqad-ai status`
537
+
538
+ One-shot LLM-friendly snapshot of the same report — no server, no long-running process. Use this from an agent prompt.
539
+
540
+ ```bash
541
+ paqad-ai status # Markdown (default) to stdout
542
+ paqad-ai status --format json # Full DashboardReport contract
543
+ paqad-ai status --project-root <path> # Snapshot a different project
544
+ ```
545
+
546
+ The JSON shape is stable (`schemaVersion: 1`) and identical to the payload served by `GET /api/dashboard` on the dashboard server.
547
+
515
548
  ### Security workflows
516
549
 
517
550
  Security and retest flows are part of the framework runtime and agent workflows in this package version. They are not exposed as standalone top-level CLI commands in `paqad-ai` today.
@@ -598,22 +631,24 @@ Entry files stay thin. Knowledge lives in shared instruction bundles that extern
598
631
 
599
632
  ## Workflow overview
600
633
 
601
- | Workflow | How to trigger | What happens |
602
- | -------------------- | -------------------------------------- | --------------------------------------------------------- |
603
- | **Onboarding** | `paqad-ai onboard` | Detect stack → confirm → generate everything |
604
- | **Health check** | `paqad-ai doctor` | Validate artifacts, config, docs |
605
- | **Spec compliance** | `paqad-ai compliance ...` | Extract obligations, check evidence, generate skeletons |
606
- | **Refresh** | `paqad-ai refresh` | Re-detect stack, update derived docs |
607
- | **Update** | `paqad-ai update` | Regenerate framework files after version bump |
608
- | **RAG** | `paqad-ai rag ...` | Build, inspect, clear, and benchmark hybrid retrieval |
609
- | **Project graph** | `paqad-ai graph` | Interactive browser view of modules, files, chunks, deps |
610
- | **Documentation** | Ask agent: _"create documentation"_ | Stack architecture design system → modules |
611
- | **Pentest** | Ask agent: _"run pentest"_ | 5-step scan findings report |
612
- | **Retest** | Ask agent: _"retest pentest"_ | Replay findings fixed / still-open / needs-verification |
613
- | **Capabilities** | `paqad-ai capabilities add/remove` | Toggle content / coding / security |
614
- | **Pack management** | `paqad-ai packs install/remove` | Install, validate, scaffold stack packs |
615
- | **Pattern library** | `paqad-ai patterns ...` | Query, prune, and export reusable solutions |
616
- | **Custom workflows** | YAML at `docs/instructions/workflows/` | Your own resumable skill sequences |
634
+ | Workflow | How to trigger | What happens |
635
+ | --------------------- | -------------------------------------- | --------------------------------------------------------- |
636
+ | **Onboarding** | `paqad-ai onboard` | Detect stack → confirm → generate everything |
637
+ | **Health check** | `paqad-ai doctor` | Validate artifacts, config, docs |
638
+ | **Spec compliance** | `paqad-ai compliance ...` | Extract obligations, check evidence, generate skeletons |
639
+ | **Refresh** | `paqad-ai refresh` | Re-detect stack, update derived docs |
640
+ | **Update** | `paqad-ai update` | Regenerate framework files after version bump |
641
+ | **RAG** | `paqad-ai rag ...` | Build, inspect, clear, and benchmark hybrid retrieval |
642
+ | **Project graph** | `paqad-ai graph` | Interactive browser view of modules, files, chunks, deps |
643
+ | **Project dashboard** | `paqad-ai dashboard` | Living single-pane health overview, per-section scoring |
644
+ | **Project status** | `paqad-ai status [--format json]` | One-shot LLM-friendly snapshot of the dashboard |
645
+ | **Documentation** | Ask agent: _"create documentation"_ | Stackarchitecture design system modules |
646
+ | **Pentest** | Ask agent: _"run pentest"_ | 5-step scan findings report |
647
+ | **Retest** | Ask agent: _"retest pentest"_ | Replay findings fixed / still-open / needs-verification |
648
+ | **Capabilities** | `paqad-ai capabilities add/remove` | Toggle content / coding / security |
649
+ | **Pack management** | `paqad-ai packs install/remove` | Install, validate, scaffold stack packs |
650
+ | **Pattern library** | `paqad-ai patterns ...` | Query, prune, and export reusable solutions |
651
+ | **Custom workflows** | YAML at `docs/instructions/workflows/` | Your own resumable skill sequences |
617
652
 
618
653
  ---
619
654