Repository navigation
✨ Inbox: read Word (.docx) documents dropped or linked - #18425
Conversation
Headings, paragraphs, lists and tables become markdown; the title comes from docProps/core.xml or the first heading. Read in Go with archive/zip and encoding/xml: entry-count, inflated-size (declared and actual) and compression-ratio caps against zip bombs; DTDs and unknown entities are refused (no XXE). Signed-off-by: Andy Anderson <andy@clubanderson.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Open PR overlap checkBase branch: Conflicts are checked with every PR merged onto the current tip of
|
Mutation testinggremlins found 23 surviving mutant(s) in changed files: the code ran under tests, but changing it did not fail any test.
5 mutant(s) in changed files are not reached by any test (NOT COVERED). A maintainer may apply the
Verdict: |
|
merged by Hive trusted-author auto-merge: author @clubanderson holds role owner and GitHub permission admin on repo; CI green at 8d78382. |
Third of three PRs that retire inception Campaigns in favour of Inception (spek) sessions. Earlier: #18400 (Campaigns tab) and #18407 (
/api/campaigns, Jam, Recheck and the one-time export).Callers found before removing anything
I grepped for every caller of
/api/inception/*, the inception engine and watcher, and the brainstorm inception mode.No caller found:
cmd/hivectl,pkg/hivectl)cmd/hive-admin-mcporadminmcpin this repo, andmcp_knowledge.godoes not call inceptionNon-UI callers found, and how each is handled:
dashboard/build-snapshot.mjsfetched/api/inception/stateto bake the old wizard into public snapshots. The fetch and the snapshot render are removed in this PR.src/docs/inception.md("Driving the workflow through the API"),api-reference/inception.mdandruns.md(inception approval as a run admission path). These are rewritten with a deprecation note.brainstorm-advisory.md, both the embedded default and thesrc/policiescopy. Its inception mode (the capture, clarify, structure and scaffold branches) is removed. Stale seeded copies refresh throughReconcileSeededDefaults.SetInceptionand the${INCEPTION_*}template variables. The engine wiring is removed. The six variables now always render empty for one release, so a custom template that names them keeps rendering.cmd/hive/main.go): the brainstorm resume, the stale-inception reset and the crash re-kick are removed. Brainstorm is still parked at boot, since it stays on-demand.Since there are external callers (scripts and docs), all 14
/api/inception/*routes stay registered and answer410 Gonefor one release. Nothing is read or changed. The body is:{"ok": false, "error": "The inception API was retired. Use Inception (spek) sessions instead ...", "replacement": "/api/sessions", "docs": "https://github.com/hivecommons/hive/blob/v5/src/docs/inception.md"}dashboard/openapi.jsonmarks the routesdeprecatedwith only a410response. The api-reference rows say so too.Removed
pkg/dashboard/inception_handlers.goandinception_watcher.go, with their tests and the kick/pluk-subscriber tests that only exercised them.pkg/knowledge/inception.go: the engine, the campaign archive code, the scaffold generator and the i18n strings, with their tests.slugifyandxmlEscapeare still used elsewhere, so they move topkg/knowledge/slug.go.Dependencies.Inception, the kick seams onServer, the boot deps (newInceptionEngine,restartBrainstorm,startInceptionWatcher) andboot.inceptionEngine.src/test. The shared HTTP helpers thatruns_e2e_test.gouses are kept ase2e_helpers_test.go.cruxandagentparse, and the stale copy in docs, the L1 pack, the FAQ and the hub journey.Kept: knowledge facts from past inception runs
Past ideation facts live in the knowledge store and as Markdown in
/data/inception-wiki. Nothing in this PR deletes them.knowledge.ReconnectInceptionWikidoes the same: it reads only, and uses the saved wiki name frominception/state.json, defaulting toinception-wiki.inception_wiki_test.go, including that the fact file stays on disk.StartandResetused to wipe the wiki directory. That deletion path is now gone./data/inception/stays on disk. The campaign archives were exported by ⚠️ Retire /api/campaigns, campaign Jam and Recheck #18407.Also kept: the
brainstormagent itself (ideation-only, on-demand), the ACMM "L1 Inception" level name, andknowledge.InceptionState, which the wiki reconnect reads.v6
The v5 to v6 top-up carries this change to v6. The v6-only transcript fact-confirmation panel from the old wizard was already removed by an earlier top-up.
🤖 Generated with Claude Code