yam-flow 0.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/AGENTS.md +18 -0
  2. package/COMMANDS.md +152 -0
  3. package/DECISIONS.md +70 -0
  4. package/LICENSE +21 -0
  5. package/README.md +174 -0
  6. package/ROADMAP.md +313 -0
  7. package/dist/bin/yam.d.ts +2 -0
  8. package/dist/bin/yam.js +2005 -0
  9. package/dist/lib/trust-kernel.d.ts +99 -0
  10. package/dist/lib/trust-kernel.js +300 -0
  11. package/package.json +101 -0
  12. package/references/context-reuse.md +59 -0
  13. package/references/current-docs.md +45 -0
  14. package/references/db-supabase-safety-lite.md +40 -0
  15. package/references/doctor-scan.md +56 -0
  16. package/references/eye.md +30 -0
  17. package/references/final-report.md +61 -0
  18. package/references/honest-completion.md +61 -0
  19. package/references/hook-lite.md +55 -0
  20. package/references/markdown-management.md +56 -0
  21. package/references/memory.md +59 -0
  22. package/references/mission.md +86 -0
  23. package/references/question.md +25 -0
  24. package/references/quick.md +70 -0
  25. package/references/risk-escalation.md +27 -0
  26. package/references/runtime-orchestration.md +57 -0
  27. package/references/scout.md +38 -0
  28. package/references/token-budget-reporter.md +44 -0
  29. package/references/token-economy.md +61 -0
  30. package/references/tool-trust-layer.md +115 -0
  31. package/references/trust-kernel.md +55 -0
  32. package/references/truth-matrix.md +47 -0
  33. package/references/ueye-proof.md +109 -0
  34. package/references/ueye.md +174 -0
  35. package/references/ui-quality.md +23 -0
  36. package/references/verification-levels.md +53 -0
  37. package/skills/deep/SKILL.md +77 -0
  38. package/skills/mission/SKILL.md +105 -0
  39. package/skills/question/SKILL.md +45 -0
  40. package/skills/quick/SKILL.md +81 -0
  41. package/skills/scout/SKILL.md +71 -0
  42. package/skills/ueye/SKILL.md +132 -0
  43. package/src/bin/yam.ts +1988 -0
  44. package/src/lib/trust-kernel.ts +398 -0
  45. package/templates/mission-plan.md +46 -0
  46. package/templates/runtime-proof.md +54 -0
  47. package/templates/tuning-log.md +39 -0
  48. package/templates/ueye-comparison.md +78 -0
  49. package/templates/ueye-review.md +110 -0
  50. package/templates/yam.project.md +73 -0
  51. package/tsconfig.json +27 -0
  52. package/yam.manifest.json +48 -0
@@ -0,0 +1,110 @@
1
+ # yam Ueye Review
2
+
3
+ ## Input
4
+
5
+ - Screenshot/URL:
6
+ - Product or screen:
7
+ - Reference direction:
8
+ - Source evidence:
9
+
10
+ ## Direction Fit
11
+
12
+ - Fits project direction:
13
+ - Mismatch:
14
+
15
+ ## Visual Evidence Inventory
16
+
17
+ - Evidence bound: 1-3 primary images, max 5 inventory rows by default.
18
+ - Label:
19
+ - Type:
20
+ - Path/URL:
21
+ - Dimensions:
22
+ - sha256:
23
+ - Viewport:
24
+ - State:
25
+ - Role: proof / reference direction / annotation / partial evidence
26
+ - Visual verification cap:
27
+
28
+ ## Reference Read Proof
29
+
30
+ - Layout:
31
+ - Visual hierarchy:
32
+ - Typography:
33
+ - Color/contrast:
34
+ - Component detail:
35
+ - Interaction/motion:
36
+ - Responsiveness:
37
+ - Brand/mood fit:
38
+
39
+ ## Reference vs Implementation Matrix
40
+
41
+ | Dimension | Status | Evidence |
42
+ | --- | --- | --- |
43
+ | Layout and spacing | not-verified | |
44
+ | Visual hierarchy | not-verified | |
45
+ | Typography | not-verified | |
46
+ | Color and contrast | not-verified | |
47
+ | Component detail | not-verified | |
48
+ | Interaction and motion | not-verified | |
49
+ | Responsiveness | not-verified | |
50
+ | Accessibility visuals | not-verified | |
51
+ | Brand and mood fit | not-verified | |
52
+
53
+ Status values: matched / similar / different / not-verified / not-applicable.
54
+
55
+ ## Design Quality Review
56
+
57
+ | Dimension | Result | Evidence |
58
+ | --- | --- | --- |
59
+ | Visual hierarchy | needs-polish | |
60
+ | Layout/spacing | needs-polish | |
61
+ | Typography | needs-polish | |
62
+ | Color/contrast | needs-polish | |
63
+ | Component detail | needs-polish | |
64
+ | Interaction/motion | needs-polish | |
65
+ | Responsiveness | needs-polish | |
66
+ | Accessibility | needs-polish | |
67
+ | Brand/mood fit | needs-polish | |
68
+
69
+ Result values: pass / needs-polish / fails.
70
+
71
+ ## P0-P3 Issues
72
+
73
+ ### P0 Blockers
74
+
75
+ - None.
76
+
77
+ ### P1 Major
78
+
79
+ - None.
80
+
81
+ ### P2 Quality
82
+
83
+ - None.
84
+
85
+ ### P3 Polish
86
+
87
+ - None.
88
+
89
+ ## Checks
90
+
91
+ - Visual hierarchy:
92
+ - Layout/spacing:
93
+ - Typography:
94
+ - Color/contrast:
95
+ - Component detail:
96
+ - Interaction/motion:
97
+ - Responsiveness:
98
+ - Accessibility:
99
+ - Brand/mood fit:
100
+ - Empty/loading/error/disabled/hover/focus states:
101
+
102
+ ## Safe Fix Path
103
+
104
+ 1.
105
+ 2.
106
+ 3.
107
+
108
+ ## Truth Status
109
+
110
+ - verified / partial / skipped / blocked / assumed:
@@ -0,0 +1,73 @@
1
+ # yam Project Pack
2
+
3
+ ## Product Direction
4
+
5
+ - What this product is:
6
+ - Primary user:
7
+ - Primary workflow:
8
+ - What should feel fast/easy:
9
+
10
+ ## UI Direction
11
+
12
+ - Visual tone:
13
+ - Existing design system or tokens:
14
+ - Components to follow:
15
+ - Things to avoid:
16
+
17
+ ## Tech Stack
18
+
19
+ - Framework:
20
+ - Language:
21
+ - Styling:
22
+ - State/data:
23
+ - Auth/payment/DB:
24
+
25
+ ## Commands
26
+
27
+ - Dev:
28
+ - Typecheck:
29
+ - Lint:
30
+ - Test:
31
+ - Build:
32
+
33
+ ## Key Paths
34
+
35
+ - App/routes:
36
+ - Components:
37
+ - Styles:
38
+ - Tests:
39
+ - Config:
40
+
41
+ ## Verification Policy
42
+
43
+ - Tiny changes:
44
+ - UI changes:
45
+ - Feature changes:
46
+ - Risky changes:
47
+ - Public/release changes: scan for external harness/tool names, comparison wording, and origin-credit wording; remove those hits unless the user explicitly approves keeping them.
48
+
49
+ ## Known Risks
50
+
51
+ - Auth/payment/DB/security:
52
+ - Fragile areas:
53
+ - Slow commands:
54
+
55
+ ## Recent Decisions
56
+
57
+ - Decision:
58
+ - Reason:
59
+ - Date:
60
+
61
+ ## No-Go Rules
62
+
63
+ - Do not:
64
+ - Avoid:
65
+ - Do not leave external harness/tool/project comparison, attribution, or origin-credit language in public-facing source, docs, npm metadata, release notes, or GitHub repository text.
66
+
67
+ ## MD Management
68
+
69
+ - Owner: user-maintained project pack
70
+ - Target size: 500-1200 words
71
+ - Update rule: narrow edits only; do not rewrite the whole pack
72
+ - Generated sections: keep clearly marked
73
+ - Competing instruction files:
package/tsconfig.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2022",
4
+ "module": "NodeNext",
5
+ "moduleResolution": "NodeNext",
6
+ "rootDir": "src",
7
+ "outDir": "dist",
8
+ "strict": false,
9
+ "noImplicitAny": false,
10
+ "strictNullChecks": false,
11
+ "noUncheckedIndexedAccess": false,
12
+ "exactOptionalPropertyTypes": false,
13
+ "noImplicitReturns": true,
14
+ "noFallthroughCasesInSwitch": true,
15
+ "useUnknownInCatchVariables": true,
16
+ "forceConsistentCasingInFileNames": true,
17
+ "skipLibCheck": true,
18
+ "declaration": true,
19
+ "sourceMap": false,
20
+ "types": [
21
+ "node"
22
+ ]
23
+ },
24
+ "include": [
25
+ "src/**/*.ts"
26
+ ]
27
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "yam",
3
+ "version": "0.1.0",
4
+ "principles": [
5
+ "Direction before execution.",
6
+ "Start fast.",
7
+ "Deepen deliberately.",
8
+ "Basic direction fit and honest verification always.",
9
+ "Honest by design.",
10
+ "Heavy proof when risk or user intent calls for it.",
11
+ "Token-aware by default.",
12
+ "Context-reuse first.",
13
+ "End with remaining tasks and fix-first items."
14
+ ],
15
+ "defaultHooks": false,
16
+ "routes": [
17
+ {
18
+ "id": "quick",
19
+ "stage": "v0.3",
20
+ "purpose": "Fast scoped implementation, small fixes, and quick error scans with focused verification."
21
+ },
22
+ {
23
+ "id": "ueye",
24
+ "stage": "v0.3",
25
+ "purpose": "Tight UI/UX/design implementation and visual review with reference-read proof, visual comparison, design quality review, and P0-P3 issue tracking."
26
+ },
27
+ {
28
+ "id": "question",
29
+ "stage": "v0.1",
30
+ "purpose": "Very-light direct Q&A for stable or local questions without implementation."
31
+ },
32
+ {
33
+ "id": "scout",
34
+ "stage": "v0.1",
35
+ "purpose": "Lightweight investigation and recommendation without code changes by default."
36
+ },
37
+ {
38
+ "id": "deep",
39
+ "stage": "v0",
40
+ "purpose": "Single-agent heavy verification by explicit request, including runtime/tmux/browser/process proof when needed."
41
+ },
42
+ {
43
+ "id": "mission",
44
+ "stage": "v0.2",
45
+ "purpose": "Explicit real-subagent/team execution route for approved plans, cross-verification, doctor scan, and final proof."
46
+ }
47
+ ]
48
+ }