@oscharko-dev/test-intelligence 0.0.1-beta.0 → 0.1.0-beta.1

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.
@@ -0,0 +1,22 @@
1
+ # Code of Conduct
2
+
3
+ ## Purpose
4
+
5
+ This project supports respectful, inclusive, and professional collaboration.
6
+
7
+ ## Expected behavior
8
+
9
+ - Use clear, concise, and professional language.
10
+ - Keep reviews and discussions focused on technical quality and evidence.
11
+ - Respect branch, release, and governance rules for all contributions.
12
+ - Share concerns directly and provide actionable alternatives.
13
+
14
+ ## Unacceptable behavior
15
+
16
+ - Harassment, intimidation, or demeaning language.
17
+ - Removing governance controls for convenience.
18
+ - Misrepresenting project status or scope in public documentation.
19
+
20
+ ## Enforcement
21
+
22
+ Project owners may remove, pause, or close contributions that materially violate this standard.
@@ -0,0 +1,38 @@
1
+ # Contributing to Test Intelligence
2
+
3
+ ## Scope and readiness
4
+
5
+ This repository is the public, standalone implementation surface for Test Intelligence.
6
+ Work is expected to be production-oriented and aligned with the enterprise charter.
7
+
8
+ ## Workflow
9
+
10
+ 1. Create work on topic branches from `dev`.
11
+ 2. Open PRs against `dev`; changes reach `main` only through the release governance flow.
12
+ 3. Use issue templates for new work and keep acceptance criteria explicit.
13
+ 4. Resolve review comments and update issue-linked evidence before merge.
14
+ 5. Merge to `main` only through the release governance flow.
15
+
16
+ ## Standards
17
+
18
+ - Use professional English in all GitHub artifacts.
19
+ - No claims that position the repository as demo/prototype/sample/POC.
20
+ - Include references to the product charter when introducing scope or constraints.
21
+ - Keep PR changes minimal, deterministic, and auditable.
22
+
23
+ ## Required artifacts
24
+
25
+ Before merge, ensure:
26
+
27
+ - issue scope is complete.
28
+ - root documentation remains aligned with current behavior.
29
+ - release-impacting changes reference package metadata updates and `NOTICE` requirements.
30
+ - branch/merge expectations in this repository are respected.
31
+
32
+ ## Attribution and licensing
33
+
34
+ Test Intelligence is distributed under the Apache License 2.0. Any redistribution or derivative work — including redistribution of any source portion — must include a copy of the Apache License 2.0 and preserve the attribution notices from [`NOTICE`](NOTICE), retaining attribution to the product name "Test Intelligence" and the originator "oscharko-dev" in derivative documentation and notices. [`NOTICE`](NOTICE) is the defining source for this requirement.
35
+
36
+ ## Questions and support
37
+
38
+ Open an issue for governance and architecture questions.
package/GOVERNANCE.md ADDED
@@ -0,0 +1,36 @@
1
+ # Test Intelligence Governance
2
+
3
+ ## Product status
4
+
5
+ Test Intelligence is a standalone product initiative for enterprise quality and testing intelligence in regulated banking and insurance environments.
6
+
7
+ The repository is not a prototype, demo, sample, or proof of concept.
8
+
9
+ ## Operating model
10
+
11
+ - Development baseline branch: `dev`
12
+ - Release and package publication baseline: `main`
13
+ - Merges to `main` are restricted to reviewed pull requests originating from `dev`.
14
+ - Release artifacts must remain deterministic and auditable.
15
+
16
+ ## Scope
17
+
18
+ Governance work in this repository defines:
19
+
20
+ - product scope and trust posture
21
+ - communication and evidence standards for all work
22
+ - delivery constraints across release preparation, security, and quality.
23
+
24
+ ## Communication standard
25
+
26
+ All issue text, pull requests, comments, commit messages, commit metadata,
27
+ repository documentation, code comments, configuration, and release notes must
28
+ use professional English and avoid prototype framing.
29
+
30
+ ## Attribution and reuse
31
+
32
+ For any redistribution or derivative work:
33
+
34
+ - preserve license and notice files.
35
+ - preserve the required attribution to `Test Intelligence` and `oscharko-dev`.
36
+ - avoid weakening these requirements in downstream package metadata.
package/LICENSE ADDED
@@ -0,0 +1,199 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation source,
28
+ and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this definition, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution infringes a patent, then any patent licenses
85
+ granted to You under this License for that Work shall terminate
86
+ as of the date such litigation is filed.
87
+
88
+ 4. Redistribution. You may reproduce and distribute copies of the
89
+ Work or Derivative Works thereof in any medium, with or without
90
+ modifications, and in Source or Object form, provided that You
91
+ meet the following conditions:
92
+
93
+ (a) You must give any other recipients of the Work or
94
+ Derivative Works a copy of this License; and this License
95
+ must be attached to the Work or Derivative Works with a
96
+ copy of the License. You may not offer or impose any
97
+ terms on the Work or Derivative Works that alter or
98
+ restrict the terms of this License.
99
+
100
+ (b) You must cause any modified files to carry prominent notices
101
+ stating that You changed the files; and
102
+
103
+ (c) You must retain, in the Source form of any Derivative Works
104
+ that You distribute, all copyright, patent, trademark, and
105
+ attribution notices from the Source form of the Work,
106
+ excluding those notices that do not pertain to any part of
107
+ the Derivative Works; and
108
+
109
+ If the Work includes a "NOTICE" text file as part of its
110
+ distribution, then any Derivative Works that You distribute must
111
+ include a readable copy of the attribution notices contained
112
+ within such NOTICE file, excluding those notices that do not
113
+ pertain to any part of the Derivative Works, in at least one
114
+ of the following places: within a NOTICE text file distributed
115
+ as part of the Derivative Works; within the Source form or
116
+ documentation, if provided along with the Derivative Works; or,
117
+ within a display generated by the Derivative Works, if and
118
+ wherever such third-party notices normally appear.
119
+
120
+ The contents of the NOTICE file are for informational purposes only
121
+ and do not modify the License. You may add your own attribution
122
+ notices within Derivative Works that you distribute, alongside
123
+ or as an addendum to the NOTICE text from the Work, provided
124
+ that such additional attribution notices cannot be construed as
125
+ modifying the License.
126
+
127
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
128
+ any Contribution intentionally submitted for inclusion in the Work
129
+ by You to the Licensor shall be under the terms and conditions
130
+ of this License, without any additional terms or conditions.
131
+ Notwithstanding the above, nothing herein shall supersede or
132
+ modify the terms of any separate license agreement you may have
133
+ executed with Licensor regarding such Contributions.
134
+
135
+ 6. Trademarks. This License does not grant permission to use the trade
136
+ names, trademarks, service marks, or product names of the Licensor,
137
+ except as required for reasonable and customary use in describing the
138
+ origin of the Work and reproducing the content of the NOTICE file.
139
+
140
+ 7. Disclaimer of Warranty. Unless required by applicable law or
141
+ agreed to in writing, Licensor provides the Work (and each
142
+ Contributor provides its Contributions) on an "AS IS" BASIS,
143
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
144
+ implied, including, without limitation, any warranties or
145
+ conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or
146
+ FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for
147
+ determining the appropriateness of using or redistributing the Work
148
+ and assume any risks associated with Your exercise of permissions under
149
+ this License.
150
+
151
+ 8. Limitation of Liability. In no event and under no legal theory,
152
+ whether in tort (including negligence), contract, or otherwise,
153
+ unless required by applicable law (such as deliberate and grossly
154
+ negligent acts) or agreed to in writing, shall any Contributor be
155
+ liable to You for damages, including any direct, indirect, special,
156
+ incidental, or consequential damages of any character arising as a
157
+ result of this License or out of the use or inability to use the
158
+ Work (including but not limited to damages for loss of goodwill,
159
+ work stoppage, computer failure or malfunction, or any and all
160
+ other commercial damages or losses), even if such Contributor
161
+ has been advised of the possibility of such damages.
162
+
163
+ 9. Accepting Warranty or Additional Liability. While redistributing
164
+ the Work or Derivative Works thereof, You may choose to offer,
165
+ and charge a fee for, acceptance of support, warranty, indemnity,
166
+ or other liability obligations and/or rights consistent with this
167
+ License. However, in accepting such obligations, You may act only
168
+ on Your own behalf and on Your sole responsibility, not on behalf
169
+ of any other Contributor, and only if You agree to indemnify,
170
+ defend, and hold each Contributor harmless for any liability
171
+ incurred by, or claims asserted against, such Contributor by reason
172
+ of your accepting any such warranty or additional liability.
173
+
174
+ END OF TERMS AND CONDITIONS
175
+
176
+ APPENDIX: How to apply the Apache License to your work.
177
+
178
+ To apply the Apache License to your work, attach the following
179
+ boilerplate notice, with the fields enclosed by brackets "[]"
180
+ replaced with your own identifying information. (Don't include
181
+ the brackets!) The text should be enclosed in the appropriate
182
+ comment syntax for the file format. We also recommend that a
183
+ file or class name and description of purpose be included on the
184
+ same "printed page" as the copyright notice for easier
185
+ identification within third-party archives.
186
+
187
+ Copyright [yyyy] [name of copyright owner]
188
+
189
+ Licensed under the Apache License, Version 2.0 (the "License");
190
+ you may not use this file except in compliance with the License.
191
+ You may obtain a copy of the License at
192
+
193
+ http://www.apache.org/licenses/LICENSE-2.0
194
+
195
+ Unless required by applicable law or agreed to in writing, software
196
+ distributed under the License is distributed on an "AS IS" BASIS,
197
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
198
+ See the License for the specific language governing permissions and
199
+ limitations under the License.
package/NOTICE ADDED
@@ -0,0 +1,12 @@
1
+ Test Intelligence
2
+ Copyright 2026 oscharko-dev
3
+
4
+ This product includes work authored by oscharko-dev.
5
+
6
+ Attribution requirements:
7
+ - You must retain this NOTICE file in redistributions and derivative works.
8
+ - You must preserve and reference the product name "Test Intelligence" and
9
+ the originator "oscharko-dev" in derivative documentation, notices,
10
+ and where practical in downstream communication.
11
+
12
+ This product is provided under the Apache License 2.0.
package/README.md CHANGED
@@ -1,19 +1,80 @@
1
- I am Test-Intelligence...
1
+ # Test Intelligence
2
2
 
3
- ## Package
3
+ Test Intelligence turns design and requirement evidence into traceable test
4
+ intelligence for regulated banking and insurance delivery.
4
5
 
5
- Dieses Repository wird als extrem frühes Pre-Beta-Paket veröffentlicht.
6
+ The current user-facing surface is the **Workbench** in `apps/workbench`. It is
7
+ a local Next.js operator UI for configuring runs, launching the runtime, and
8
+ inspecting generated artifacts.
6
9
 
7
- **Name:** `@oscharko-dev/test-intelligence`
8
- **Version:** `0.0.1-beta.0`
10
+ ## Local Workbench
9
11
 
10
- Install:
12
+ Start from a fresh checkout:
11
13
 
12
14
  ```bash
13
- npm install @oscharko-dev/test-intelligence@pre-beta
15
+ pnpm run local:start
14
16
  ```
15
17
 
16
- ```js
17
- const testIntelligence = require("@oscharko-dev/test-intelligence");
18
- console.log(testIntelligence.ping());
18
+ Open `http://localhost:1983`.
19
+
20
+ `local:start` checks for missing `node_modules`, runs `pnpm install` when
21
+ needed, builds `apps/workbench` when the build output is missing, and starts the
22
+ Workbench on port `1983`. If that port is already occupied, the script exits and
23
+ asks the operator to free the port locally; it does not switch ports.
24
+
25
+ Stop the managed Workbench process:
26
+
27
+ ```bash
28
+ pnpm run local:stop
29
+ ```
30
+
31
+ Useful variants are:
32
+
33
+ ```bash
34
+ pnpm run local:start:mock # UI-only mock runner, no live Figma/LLM calls
35
+ pnpm run local:start:prod # production Next.js mode
36
+ pnpm run local:start -- --env-file=.env.local
37
+ ```
38
+
39
+ Runtime state, PID files, and logs are written under
40
+ `.test-intelligence/local-runtime/` and are intentionally ignored by Git.
41
+
42
+ The Workbench currently provides Runs and Model Settings for local operator
43
+ workflows. Run History is read-only sample data until persisted history loading
44
+ is implemented.
45
+
46
+ ## Final Local E2E
47
+
48
+ Run the local final end-to-end suite after the Workbench is running:
49
+
50
+ ```bash
51
+ pnpm run test:final-e2e
19
52
  ```
53
+
54
+ The command runs the Workbench Playwright flow against the local test-case set
55
+ and writes fresh results to `.test-intelligence/final-e2e/`. The test clears
56
+ that result directory at the start of each run so stale artifacts are not reused
57
+ as successful evidence.
58
+
59
+ ## Maintainer Checks
60
+
61
+ For Workbench changes:
62
+
63
+ ```bash
64
+ pnpm --dir apps/workbench lint
65
+ pnpm --dir apps/workbench test
66
+ pnpm --dir apps/workbench typecheck
67
+ pnpm --dir apps/workbench build
68
+ ```
69
+
70
+ For visual or final local E2E coverage:
71
+
72
+ ```bash
73
+ pnpm --dir apps/workbench exec playwright install chromium
74
+ pnpm --dir apps/workbench test:visual
75
+ pnpm run test:final-e2e
76
+ ```
77
+
78
+ Update visual snapshots with `pnpm --dir apps/workbench test:visual:update`
79
+ only after reviewing the UI diff. For repository-wide runtime changes, use the
80
+ CI scripts in `package.json`.
package/SECURITY.md ADDED
@@ -0,0 +1,64 @@
1
+ # Security Policy
2
+
3
+ Test Intelligence is published as a standalone enterprise package for
4
+ regulated banking and insurance modernization workflows. This policy documents
5
+ how vulnerabilities are reported and which security controls are maintained for
6
+ the public package.
7
+
8
+ ## Supported Versions
9
+
10
+ | Version line | Supported |
11
+ | --- | --- |
12
+ | `0.0.x` | Supported during the current pre-1.0 line |
13
+ | Older unpublished snapshots | Not supported |
14
+
15
+ ## Reporting a Vulnerability
16
+
17
+ Do not open public issues for security vulnerabilities.
18
+
19
+ Report privately via GitHub private vulnerability reporting on this repository.
20
+ If that is unavailable, contact
21
+ [security@oscharko.dev](mailto:security@oscharko.dev).
22
+
23
+ Include the impact summary, reproduction steps, affected versions, suggested
24
+ remediation, and any relevant operator configuration.
25
+
26
+ ## Response Targets
27
+
28
+ | Severity | Acknowledge | Fix target |
29
+ | --- | --- | --- |
30
+ | Critical | 4 hours | 24 hours |
31
+ | High | 8 hours | 72 hours |
32
+ | Medium | 24 hours | 7 calendar days |
33
+ | Low | 48 hours | Next scheduled release |
34
+
35
+ ## Security-Sensitive Surfaces
36
+
37
+ - The HTTP runtime binds to loopback by default and requires explicit operator
38
+ configuration for broader exposure.
39
+ - Write routes require bearer-token authentication and fail closed when
40
+ authentication is unavailable.
41
+ - Feature gates fail closed when disabled or unset.
42
+ - The model gateway reads operator-provided endpoints, deployment names, and
43
+ keys from environment variables; secrets are not committed to the repository.
44
+ - Evidence, audit-dossier, region-attestation, and reviewer signing keys are
45
+ operator-owned.
46
+ - Runtime artifacts are written only under operator-selected output roots.
47
+
48
+ ## Supply-Chain Controls
49
+
50
+ - Dependencies are installed from the committed lockfile.
51
+ - Lockfile hosts are checked against an allowlist.
52
+ - Dependency review runs on package metadata changes.
53
+ - GitHub Actions use pinned actions and `persist-credentials: false` on
54
+ checkout.
55
+ - SBOM and package-shape checks are part of the release posture.
56
+ - Private runtime state, generated caches, secrets, and internal documentation
57
+ are excluded from the public package.
58
+
59
+ ## Remediation Policy
60
+
61
+ Released versions are not unpublished. Affected releases are deprecated when
62
+ needed and fixed by publishing a patched forward release. Public release notes
63
+ must not disclose unpublished vulnerability details before coordinated
64
+ disclosure is complete.
package/SUPPORT.md ADDED
@@ -0,0 +1,18 @@
1
+ # Support
2
+
3
+ ## Scope
4
+
5
+ Test Intelligence is provided as a pre-1.0 open-source package for regulated
6
+ test-intelligence workflows.
7
+
8
+ ## Channels
9
+
10
+ - GitHub Issues: feature requests, operational questions, and reproducible bugs.
11
+ - Security matters: use the private security reporting path on GitHub.
12
+ - Enterprise onboarding and licensing questions: open an issue without secrets,
13
+ customer data, or private runtime logs.
14
+
15
+ ## Response Expectations
16
+
17
+ Response times depend on issue severity and maintainer availability.
18
+ Security disclosures follow the Security Policy process.