diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..936f106 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,50 @@ +name: Bug report +description: Something in Hindsight does not work as documented. +labels: [bug] +body: + - type: markdown + attributes: + value: | + Use synthetic data only. Do not paste API keys, enrollment tokens, real transcripts, hostnames or customer data. + - type: textarea + id: what + attributes: + label: What happened + description: What you did, what you expected, and what happened instead. + validations: + required: true + - type: textarea + id: steps + attributes: + label: Steps to reproduce + placeholder: | + 1. docker compose -f compose.yaml -f compose.demo.yaml up -d + 2. hindsight install claude + 3. ... + validations: + required: true + - type: dropdown + id: area + attributes: + label: Area + options: [Server or review queue, MCP tools, Agent installer or capture hook, Redaction, Git sync, Docs, Other] + validations: + required: true + - type: input + id: agent + attributes: + label: Agent and version + placeholder: e.g. Claude Code 2.1.316, Cursor 2.3, none + - type: input + id: version + attributes: + label: Hindsight version or commit + placeholder: e.g. 0.1.0 or a commit SHA + validations: + required: true + - type: textarea + id: logs + attributes: + label: Logs or output + description: Redact anything sensitive before pasting. + render: shell diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..7600783 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: Questions and setup help + url: https://github.com/DrDroidLab/hindsight/discussions/categories/q-a + about: Ask how to install, connect an agent or run Hindsight for your team. + - name: Report a security vulnerability + url: https://github.com/DrDroidLab/hindsight/security/advisories/new + about: Report privately. Never post secrets, transcripts or exploit details in a public issue. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..521de2f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,25 @@ +name: Feature or integration request +description: Suggest an improvement, a redaction rule or support for another agent. +labels: [enhancement] +body: + - type: textarea + id: problem + attributes: + label: Problem + description: What are you trying to do, and what gets in the way today? + validations: + required: true + - type: textarea + id: proposal + attributes: + label: Proposal + description: What should Hindsight do? For a new agent, link its MCP and hook documentation. + validations: + required: true + - type: checkboxes + id: scope + attributes: + label: Scope check + options: + - label: This does not require Hindsight to run commands against production or act as an agent itself. + required: true diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..d3969a3 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,16 @@ +## What and why + + + +## How it was checked + +- [ ] `pytest` +- [ ] `ruff check src tests scripts` and `ruff format --check src tests scripts` +- [ ] `mypy src/hindsight` +- [ ] `npm test --prefix web` and `npm run build --prefix web` (UI changes; commit the rebuilt assets) +- [ ] `mkdocs build --strict` (docs changes) + +## Safety + +- [ ] Fixtures use synthetic data only: no real keys, transcripts, hostnames or customer identifiers. +- [ ] New capture or redaction paths run redaction before anything is written, indexed or sent to a model. diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..83e7ee6 --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,21 @@ +# Code of conduct + +Hindsight is built by and for engineers who get paged. Treat everyone in issues, pull requests, discussions and any community channel the way you would want a colleague to treat you during an incident: be patient, assume good intent and stay on the problem. + +## Expected + +- Be respectful and constructive, especially when reviewing someone's first contribution. +- Critique code and ideas, not people. +- Keep real secrets, transcripts and other people's data out of public threads. + +## Not acceptable + +- Harassment, insults, or discriminatory language or imagery. +- Personal attacks, trolling or sustained disruption. +- Publishing anyone's private information without their permission. + +## Enforcement + +Maintainers may edit or remove comments, close threads, or block participants who break these rules. Report a problem privately through the repository's [security advisory form](https://github.com/DrDroidLab/hindsight/security/advisories/new) or by contacting a maintainer directly; reports are kept confidential. + +This code of conduct is informed by the [Contributor Covenant](https://www.contributor-covenant.org/). diff --git a/README.md b/README.md index ff6c54c..b1805a9 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,8 @@ FAQ

+[![Watch the 3-minute demo: a real Claude Code session (Opus 5.5) using Hindsight](docs/assets/video/demo-poster.jpg)](https://drdroidlab.github.io/hindsight/#demo) + ![Hindsight review queue showing three proposed clues from last night's on-call; the selected clue's session excerpt has a token and an IP address replaced by REDACTED markers](docs/assets/screenshots/review-queue.png) ## Why Hindsight diff --git a/docs/assets/extra.css b/docs/assets/extra.css index b9ed65f..6fedb7b 100644 --- a/docs/assets/extra.css +++ b/docs/assets/extra.css @@ -16,6 +16,7 @@ .hs-hero .hs-lede { font-size: 1.05rem; color: var(--md-default-fg-color--light); margin-bottom: 1.4rem; } .hs-hero .md-button { margin: 0.25rem; } .hs-shot { border: 1px solid var(--md-default-fg-color--lightest); border-radius: 10px; box-shadow: 0 12px 40px rgba(20, 40, 80, 0.14); display: block; margin: 0 auto; } +.hs-video { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--md-default-fg-color--lightest); } .hs-caption { text-align: center; font-size: 0.75rem; color: var(--md-default-fg-color--light); margin-top: 0.6rem; } .hs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; margin: 1.5rem 0; } .hs-card { border: 1px solid var(--md-default-fg-color--lightest); border-radius: 8px; padding: 0.9rem 1rem; } diff --git a/docs/assets/video/demo-poster.jpg b/docs/assets/video/demo-poster.jpg new file mode 100644 index 0000000..63b82e8 Binary files /dev/null and b/docs/assets/video/demo-poster.jpg differ diff --git a/docs/assets/video/hindsight-demo.mp4 b/docs/assets/video/hindsight-demo.mp4 new file mode 100644 index 0000000..58a780e Binary files /dev/null and b/docs/assets/video/hindsight-demo.mp4 differ diff --git a/docs/index.md b/docs/index.md index c9a770b..7758e03 100644 --- a/docs/index.md +++ b/docs/index.md @@ -26,6 +26,15 @@ hide:
The review queue: three clues proposed from last night's on-call. Secrets in the evidence were redacted before anything touched git.
+## See it in action { #demo } + + + +A real Claude Code session running Opus 5.5 against a local Hindsight server: the agent recalls the team's runbook and an approved fix, saves a new fix with the secret redacted, a teammate approves and promotes it, and the next engineer's agent has it on the first question. Long model pauses are shortened. + ## Give your coding agent the on-call experience your team already paid for Every incident teaches someone something: which dashboard lies, which alert means the credential mount is stale, which step in the runbook actually fixed it. Today that knowledge dies in a chat transcript. Hindsight keeps it, without turning into another agent you have to run. diff --git a/overrides/main.html b/overrides/main.html index 5a4aa3f..711a9af 100644 --- a/overrides/main.html +++ b/overrides/main.html @@ -50,6 +50,20 @@ } {% endif %} + {% if page.is_homepage %} + + {% endif %} {% if page.meta and page.meta.faq %} {% set entities = [] %} {% for item in page.meta.faq %}