Skip to content

🐛 bug: inception scaffold ignores the answered language and generates Go #18260

Closed as not planned

Description

@kanrenibm

What happened?

In chat Inception, the language answer is not used for the scaffold. The scaffold is generated as Go.

  • Answer 1 (language) was C++ CLI application with GitHub API SDK. The state stored it unchanged.
  • Hive log: ProduceScaffold complete, "files":13, "lang":"go".
  • The files include go.mod, main.go, cmd/root.go, main_test.go, Makefile. Dockerfile starts with FROM golang:1.23-alpine.
  • README.md, AGENTS.md and CLAUDE.md describe a C++ CLI. The scaffold mixes C++ text with Go files.
  • Chat and the log do not say that the answer was not used.

A previous run on the same spoke answered python. Its scaffold also lists go.mod and main.go.

Impact: the operator gets a project in a language they did not choose, with no warning.

Expected behavior

The scaffold uses the language the operator answered. If Hive cannot generate that language, it says so. It does not switch to Go silently.

Reproduction steps

  1. In Dashboard Hive Chat, as owner, send !inception start I want to create an Agent that analyze all the GitHub issue and categorize into different kind of issues based on Labels , description, title, and keywords.
  2. Send !inception answer 1 C++ CLI application with GitHub API SDK.
  3. Send answers 2 to 7 with any text. Answer 7 submits the batch (✅ Submitted 7 answers.).
  4. Wait for phase scaffold. It took 33 seconds in this run.
  5. Read GET /api/inception/scaffold or GET /api/inception/state.
  6. The file list has go.mod and main.go. The state has answers.language = C++ CLI application with GitHub API SDK.

Environment

  • Branch/version: v6, channel edge, commit 15a6de7fc (release 6.30.1).
  • Deployment method: Hive Hub (hub-managed spoke, Kubernetes).
  • Hive URL: https://availableslotlke648397260827-9hmc-k3sw.lke.hive.hivecommons.dev
  • Operating system or Kubernetes version: not recorded.
  • Relevant configuration: operator kanrenibm, role owner. Brainstorm agent: backend claude, model claude-sonnet-5-5. Date 2026-11-15.

Logs or screenshots

State, GET /api/inception/state (phase scaffold):

"answers": { "language": "C++ CLI application with GitHub API SDK", ... }

Hive log (times -05:00):

06:49:18.941  inception answers submitted        answer_count=7
06:49:52.244  supplemented facts from Q&A        original=8 supplemented=7 total=15
06:49:53.351  facts extracted, advancing to scaffold   count=15
06:49:54.473  ProduceScaffold complete           files=13 lang=go project_type=container
06:49:55.370  ProduceScaffold complete           files=13 lang=go project_type=container

The log has no scaffold language cross-check override line.

GET /api/inception/ideation-facts, the two constitution facts:

constitution-constitution-read-only-analysis-no-data-leakage   body: "The tool MUST NOT close, delete, or otherwise mutate issues; ..."
constitution-what-languageruntime-only-if-not-inferable-from-the-idea   body: "C++ CLI application with GitHub API SDK"

GET /api/inception/scaffold, 13 paths: README.md, AGENTS.md, CONTRIBUTING.md, CLAUDE.md, .github/workflows/ci.yml, .github/workflows/nightly.yml, .gitignore, go.mod, main.go, cmd/root.go, main_test.go, Makefile, Dockerfile.

go.mod: module vision-c-cli, go 1.23, require github.com/spf13/cobra v1.8.1.

Full logs: logs/step4_* (this run) and logs/step0_* (previous run, answer python).

logs.zip

Additional context

By the code at 15a6de7fc:

  • ProduceScaffold (src/pkg/knowledge/inception.go:632) calls inferLanguage(constitution). It does not read the answers.
  • inferLanguage (inception.go:3755-3783) matches keywords for TypeScript, Python, JavaScript, Rust, Java and shell. No match returns go (line 3781).
  • The cross-check (inception.go:636-642) reads only the idea text. The idea text in this run names no language, so no override applies.
  • The language fact comes from the Q&A step (src/pkg/dashboard/inception_watcher.go:1068-1117). It maps the language question to a constitution fact whose body is the raw answer.
  • docs/inception.md:20-21 lists Go, Python, TypeScript, JavaScript, Rust, Java and shell. It does not say what happens for another language.

For this run, neither constitution fact contains a keyword from those lists, so both reach the go default.

Not determined:

  • Why the previous run (answer python) also got Go. findFactByType (inception.go:2152) returns the first constitution fact. Which one is first depends on file order, and the files on the spoke were not read.
  • Who called ProduceScaffold at 06:49:54 and 06:49:55. The chat code does not call it.
  • Languages other than C++ and Python were not tested.

A separate gap: after the batch is submitted and after !inception approve, chat does not mention the scaffold.

Activity

  1. added
    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
    on Nov 15, 2026
  2. added
    needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.
    on Nov 15, 2026
  3. hivecommons-hive commented on Nov 15, 2026

    @hivecommons-hive
    Contributor

    Thanks — this hive only works issues from OWNER, MEMBER, COLLABORATOR automatically. A maintainer can admit this one by adding the label triage/accepted (configured in issue_filter.reporter_trust.untrusted_require_labels). Until then the hive will not claim, label, or open PRs for it. See https://github.com/hivecommons/hive/blob/HEAD/GOVERNANCE.md#reporter-trust-and-escalation for what these terms mean and how to become a trusted reporter.

  4. added
    stage/015-triage-neededActionable but no maintainer has looked at it yet (hive-filed, or awaiting the triage label)
    stage/stalledIn its current stage longer than expected
    on Nov 15, 2026
  5. clubanderson commented on Nov 17, 2026

    @clubanderson
    Member

    Closing as obsolete. #18419 (merged 2026-11-16) removed the inception watcher and the Go scaffold generator this report was about (ProduceScaffold no longer exists on v5 or v6), and inception now runs as Spek sessions. Thank you for the precise repro, the log lines made it easy to confirm. The underlying expectation still stands: a project scaffold should use the language the operator chose. If you can retest the language answer on an Inception (Spek) session and it is ignored there too, please open a new issue against the session flow and link this one.

  6. github-actions commented on Nov 17, 2026

    @github-actions
    Contributor

    @kanrenibm this issue was closed by @clubanderson as not planned.

    If this was closed by a merged PR, the fix only takes effect once it ships in a tagged release and your deployment updates to it — check your running version against the fix before concluding the fix failed.

    If you are still seeing the problem, comment /reopen and it will be reopened for you — you do not need write access. Please add what you are still observing (running version, logs, steps) so it is not closed the same way again.

  7. removed
    stage/015-triage-neededActionable but no maintainer has looked at it yet (hive-filed, or awaiting the triage label)
    stage/stalledIn its current stage longer than expected
    on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions