feat(scores): interview contract — free-form asks use question text kind (#245) - #247
Merged
Merged
Conversation
… free-form uses kind: "text" (amicode#245)
…plain-text permission dropped (amicode#245)
…text permission dropped (amicode#245)
jeonghun-jj-lee
force-pushed
the
amico/issue-245-text-card-questions
branch
from
August 4, 2026 04:21
2105558 to
059ed70
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #245.
Companion engine PR: harmoniqs/opencode#113 — that PR must merge and release first; this one stays draft until it picks up the resulting pin (see "Why draft" below).
What
src/scores/compiler.ts): the one-sentence rule — every question is a card via the nativequestiontool; choice questions list options (recommended first); free-form questions take text viakind: "text". "Free-form answers can be plain text" is gone from the contract.scores/overture/SCORE.md,scores/pulse-designer/SCORE.md): the same change in both bodies. Choice-question instructions (options, recommended-first, typed-custom-answer row) are untouched.Test evidence
pnpm --filter amicode test -- test/scores: 13 files / 138 tests green, including new compiled-prompt assertions on bothcompileScore(pulse-designer)andcompileChainedScore(overture, pulse-designer)— the text-kind instruction is present, the plain-text phrasing is gone, and choice-question contract text is undisturbed.pnpm --filter amicode run typecheck: clean.server_auth.test.tsAMICO_PYTHONvenv path — reproduce identically on pristinemain).Why draft — rides the engine pin
Per the issue's Key Decisions, this contract text ships with the next engine pin, not ahead of it: the currently pinned engine (
v1.18.10-amicode.1) does not knowkind: "text", so merging now would instruct a field the vendored engine cannot honor.Merge sequence:
vX.Y.Z-amicode.N) is cut.packages/extension/opencode.lock.json+ re-vendor.Orchestrated via amicode
/develop(issue-DAG walk — single-slice unit, TDD per slice).