feat: initialize Hypothesis Machine Pi extension
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
name: Bug report
|
||||
description: Report reproducible incorrect behavior
|
||||
title: "[Bug]: "
|
||||
labels: [bug]
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: Do not report security vulnerabilities here; follow SECURITY.md.
|
||||
- type: input
|
||||
id: version
|
||||
attributes:
|
||||
label: Hypothesis Machine and Pi versions
|
||||
placeholder: Hypothesis Machine 0.1.1, Pi 0.83.0
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: area
|
||||
attributes:
|
||||
label: Area
|
||||
options:
|
||||
- Pi extension loading
|
||||
- Recursive agents
|
||||
- Research memory
|
||||
- Web gateway
|
||||
- Research loop
|
||||
- Experiment runner
|
||||
- Documentation or other
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
label: What happened?
|
||||
description: Include the expected result and a minimal reproduction.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: logs
|
||||
attributes:
|
||||
label: Sanitized logs
|
||||
description: Remove credentials, private sources, and model transcripts.
|
||||
render: shell
|
||||
- type: checkboxes
|
||||
id: checks
|
||||
attributes:
|
||||
label: Safety checks
|
||||
options:
|
||||
- label: I removed credentials and private data from this report.
|
||||
required: true
|
||||
- label: This is not a privately reportable security vulnerability.
|
||||
required: true
|
||||
@@ -0,0 +1 @@
|
||||
blank_issues_enabled: false
|
||||
@@ -0,0 +1,30 @@
|
||||
name: Feature request
|
||||
description: Propose a focused extension improvement
|
||||
title: "[Feature]: "
|
||||
labels: [enhancement]
|
||||
body:
|
||||
- type: textarea
|
||||
id: problem
|
||||
attributes:
|
||||
label: Problem
|
||||
description: What research workflow is currently difficult or impossible?
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: proposal
|
||||
attributes:
|
||||
label: Proposed behavior
|
||||
description: Explain how this should integrate with official Pi capabilities.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: alternatives
|
||||
attributes:
|
||||
label: Alternatives and tradeoffs
|
||||
- type: checkboxes
|
||||
id: scope
|
||||
attributes:
|
||||
label: Scope
|
||||
options:
|
||||
- label: This does not require a Pi fork or a separate chat/TUI application.
|
||||
required: true
|
||||
@@ -0,0 +1,12 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: npm
|
||||
directory: /
|
||||
schedule:
|
||||
interval: weekly
|
||||
open-pull-requests-limit: 5
|
||||
- package-ecosystem: github-actions
|
||||
directory: /
|
||||
schedule:
|
||||
interval: weekly
|
||||
open-pull-requests-limit: 5
|
||||
@@ -0,0 +1,16 @@
|
||||
## Summary
|
||||
|
||||
Describe the user-visible result and why it is needed.
|
||||
|
||||
## Verification
|
||||
|
||||
- [ ] `npm run check`
|
||||
- [ ] `docker compose -f infra/compose.yaml config --quiet`
|
||||
- [ ] Tests cover changed behavior
|
||||
- [ ] `CHANGELOG.md` is updated when behavior is user-visible
|
||||
|
||||
## Security and data
|
||||
|
||||
- [ ] No credentials, runtime state, fetched private sources, or model transcripts are included
|
||||
- [ ] Web, filesystem, session, and container boundaries were reviewed where relevant
|
||||
- [ ] The agent layer still depends only on official Pi packages
|
||||
@@ -0,0 +1,36 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: ci-${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
node: [22, 24]
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
cache: npm
|
||||
- run: npm ci --ignore-scripts
|
||||
- run: npm run typecheck
|
||||
- run: npm run lint
|
||||
- run: npm test
|
||||
- run: npm run build
|
||||
- run: npm run smoke
|
||||
- run: docker compose -f infra/compose.yaml config --quiet
|
||||
- if: matrix.node == 22
|
||||
run: npm pack --dry-run
|
||||
@@ -0,0 +1,23 @@
|
||||
name: CodeQL
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
schedule:
|
||||
- cron: "17 4 * * 1"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: github/codeql-action/init@v4
|
||||
with:
|
||||
languages: javascript-typescript
|
||||
- uses: github/codeql-action/analyze@v4
|
||||
Reference in New Issue
Block a user