lagora-cli 1.1.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.
Files changed (52) hide show
  1. package/README.md +138 -0
  2. package/dist/help.txt +70 -0
  3. package/dist/lagora.js +342 -0
  4. package/dist/report-help.txt +5 -0
  5. package/dist/scripts/agora_playground_harness.py +263 -0
  6. package/dist/scripts/announce.js +41 -0
  7. package/dist/scripts/check-kernel-submission.py +90 -0
  8. package/dist/scripts/chunk-2EAJVB5D.js +100 -0
  9. package/dist/scripts/chunk-2KTLCUFI.js +29 -0
  10. package/dist/scripts/chunk-AZ3EEBVD.js +137 -0
  11. package/dist/scripts/chunk-NBJMYAOA.js +2128 -0
  12. package/dist/scripts/chunk-NCJMUBTG.js +125 -0
  13. package/dist/scripts/chunk-QJPQHKIO.js +23 -0
  14. package/dist/scripts/chunk-RIR5KGHC.js +33 -0
  15. package/dist/scripts/chunk-TJZVQYBL.js +8 -0
  16. package/dist/scripts/chunk-UHJXD4TG.js +18 -0
  17. package/dist/scripts/chunk-UQ6I6VTY.js +117 -0
  18. package/dist/scripts/cli-auth.js +348 -0
  19. package/dist/scripts/cli-config-IA7EOSYD.js +7 -0
  20. package/dist/scripts/install-skill.js +199 -0
  21. package/dist/scripts/issue-local-client-DZUXZOKY.js +22 -0
  22. package/dist/scripts/issue-search.js +1823 -0
  23. package/dist/scripts/issue.js +386 -0
  24. package/dist/scripts/keycloak-provision.js +986 -0
  25. package/dist/scripts/legato-fsim-runner.py +126 -0
  26. package/dist/scripts/legato-lowering-runner.py +156 -0
  27. package/dist/scripts/legato_runner_annotations.py +235 -0
  28. package/dist/scripts/legato_runner_env.py +91 -0
  29. package/dist/scripts/legato_runner_launchers.py +287 -0
  30. package/dist/scripts/legato_runner_script_wrapper.py +193 -0
  31. package/dist/scripts/notifications-EU43SIEV.js +624 -0
  32. package/dist/scripts/playground.js +408 -0
  33. package/dist/scripts/report-bundle-sync-3U7QTP4Z.js +215 -0
  34. package/dist/scripts/report.js +104 -0
  35. package/dist/scripts/resolve-sdk-package-version.py +151 -0
  36. package/dist/scripts/sdk-runtime-JE6H2PB2.js +992 -0
  37. package/dist/scripts/sdk-runtime-kubernetes-job-KOWL4ITV.js +479 -0
  38. package/dist/scripts/sdk-runtime-smoke.py +168 -0
  39. package/dist/scripts/sdk.js +256 -0
  40. package/dist/scripts/site-feedback-CAPE5MPX.js +136 -0
  41. package/dist/scripts/site-feedback-rate-limit-5BU2WSFE.js +86 -0
  42. package/dist/scripts/site-feedback.js +117 -0
  43. package/dist/scripts/storage-234FBH54.js +67 -0
  44. package/dist/scripts/submit-issue.sh +489 -0
  45. package/dist/scripts/verification-3QCY66QW.js +772 -0
  46. package/dist/scripts/verify-issue.js +144 -0
  47. package/dist/skills/legato-agora-cli/SKILL.md +556 -0
  48. package/dist/skills/legato-agora-cli/agents/openai.yaml +7 -0
  49. package/dist/skills/legato-agora-cli/reference/kernel-with-golden.py +84 -0
  50. package/dist/skills/legato-site-feedback/SKILL.md +49 -0
  51. package/dist/skills/legato-site-feedback/agents/openai.yaml +7 -0
  52. package/package.json +16 -0
@@ -0,0 +1,49 @@
1
+ ---
2
+ name: legato-site-feedback
3
+ description: "Use this skill when handling Lagora site feedback from the in-site feedback popup: fetch reports, cluster meaningful site issues, plan improvements with ULW, implement, verify, deploy, and resolve feedback only after live validation."
4
+ ---
5
+
6
+ # Legato Site Feedback
7
+
8
+ This skill handles feedback about the Lagora site itself: UI layout, navigation, settings, workflow friction, confusing behavior, missing controls, and agent or CLI affordances. Do not use it for Legato kernel/lowering bugs; those belong in normal Lagora issues.
9
+
10
+ ## Workflow
11
+
12
+ 1. Fetch all open feedback before planning.
13
+
14
+ ```bash
15
+ lagora feedback fetch --api-url https://legato-dev-agora.hyperaccel.net/legato-dev-agora --status open
16
+ ```
17
+
18
+ For local development or a mounted issue store:
19
+
20
+ ```bash
21
+ lagora feedback fetch --store /path/to/issue-store --status open
22
+ ```
23
+
24
+ 2. Record the feedback IDs, reporter names, page paths, timestamps, and exact user-facing complaints in the work log.
25
+ 3. Analyze every report, then cluster them into meaningful improvements. Multiple feedback reports may map to one improvement when they share the same root cause.
26
+ 4. Separate actionable work from duplicates, already-fixed behavior, kernel issue reports, vague requests, and declined changes. Keep declined or non-actionable items explicit with a reason.
27
+ 5. Create a ULW plan for the actionable improvements. The plan must include RED evidence, implementation steps, verification, review, deploy, and feedback resolution.
28
+ 6. Implement the smallest site change that addresses the cluster. Preserve the existing design system and avoid expanding notification or feedback handling beyond the reported workflow.
29
+ 7. Verify with automated checks and browser QA on the actual affected surfaces. Capture evidence for the original complaint, the fixed behavior, and a mobile layout when UI is touched.
30
+ 8. Review the change, commit it, merge or push to `main`, wait for CI and deployment, then validate the live site.
31
+ 9. Resolve feedback only after live validation passes:
32
+
33
+ ```bash
34
+ lagora feedback resolve \
35
+ --api-url https://legato-dev-agora.hyperaccel.net/legato-dev-agora \
36
+ --id <feedback-id> \
37
+ --author "agent"
38
+ ```
39
+
40
+ ## Output Contract
41
+
42
+ When finished, report:
43
+
44
+ - Feedback IDs handled.
45
+ - Clusters found and which implementation resolved each cluster.
46
+ - Files changed.
47
+ - Verification commands and browser QA evidence.
48
+ - Deployment status and live validation result.
49
+ - Feedback IDs resolved or intentionally left open with the reason.
@@ -0,0 +1,7 @@
1
+ interface:
2
+ display_name: "Legato Site Feedback"
3
+ short_description: "Triage, cluster, fix, verify, deploy, and resolve Lagora site feedback"
4
+ default_prompt: "Use $legato-site-feedback to process open Lagora site feedback end to end."
5
+
6
+ policy:
7
+ allow_implicit_invocation: true
package/package.json ADDED
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "lagora-cli",
3
+ "version": "1.1.0",
4
+ "description": "Lean Legato Agora command-line client",
5
+ "license": "ISC",
6
+ "type": "module",
7
+ "bin": { "lagora": "dist/lagora.js" },
8
+ "files": ["dist/"],
9
+ "engines": { "node": ">=22.16.0" },
10
+ "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" },
11
+ "scripts": {
12
+ "build": "node build.mjs",
13
+ "prepack": "node build.mjs",
14
+ "test": "node --import tsx --test test/*.test.mjs test/*.test.ts"
15
+ }
16
+ }