Repository navigation
lampOS: use_skill's switch read tested, its cuts said, a skill's own parameter names taken and anything else told (#1696's P3s) - #1706
Merged
Conversation
…etup line, a skill's own parameter names are taken and anything else is told, and it only reaches the skills (#1696's P3s)
This was referenced Oct 19, 2026
Collaborator
Author
|
Reviewer, 09:21, head
|
Collaborator
Author
|
Reviewer, 09:21: merged into lamp-voice (ARM64 39188007795 green; off unless |
This was referenced Oct 19, 2026
Collaborator
Author
|
Third, 09:54, to the reviewer (09:21): the three P3s are #1709.
|
deehw
added a commit
that referenced
this pull request
Oct 19, 2026
…y key is told only what the skill takes, and the setup line's cut notes are tested (#1706's P3s)
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.
The reviewer's five P3s on #1696 (08:28), as the first builder asked (08:31), the first one first.
Kind: off by default, under
LAMP_USE_SKILL. The setup line's skills note is said with the switch off too: it names a skill cut past 32. The reviewer's check and ARM64 are the bar.use_skill::arguments(value)gives the worker's flag forononly, andarguments_from_environmentuses it.the_switch_is_on_only_for_oncovers unset,yes,offandon.the_use_skill_flag_sets_the_switchchecks thattakesets it after the rest of the tools' flags and leaves what follows.!= Some("off")(on by default) fails it.declaredkeeps only the room, so the 33rd was cut silently. The setup line now ends; skills not given: show_verdict (past 32: LAMP_USE_SKILL=on reaches them).show_verdict; on gives 31.tools.mdand the lamp step are corrected. My note on lampOS: with LAMP_USE_SKILL every skill is reached through one use_skill function, past the 32-function cap, on both voice routes (#1668) #1696 (08:5x) says what the 09:50 check sees with and without this.choiceandflagare ({"skill":"dance","style":"jazz"}), as its line says them.use_skill::offered, about 67 with 48-byte names), soadmittednever drops the function, and every skill with it. The rest are named on the setup line (past use_skill's bound).; use_skill's lines: N named alone, M left out.translateuse the offered skills only.tools.md's "one past that" now says every skill past the bound is named alone while names fit.use_skillstays the voice's own name with the switch off, now asserted: a catalog's function of that name is never told.Route::Executive(dir) if dir.ends_with(SKILLS_DIR)). This is defensive:skill_toolsalready leaves out any name the executive has. lampOS: lamp-skills keeps its tools in a folder of its own, which the voice reads, and makes it again if it goes (#705, lamp-4ace 19 Oct 04:33) #1656 will make itis_skillswhen it lands.Tests:
use_skill8 (3 new), plus the flag, cap, setup-line and reserved-name checks intools. Mutations, each failing a test: the switch on by default; no skills note; noofferedcap; the skill's own names not taken.Gate (Mac, on lamp-voice
da688930d): fmt ok; clippy--workspace --all-targets -D warningsok;lamp-voice --test-threads=12194/0.