Repository navigation
Preserve explicit Target OS and core in guided Apollo project setup - #77
Closed
AmanitaHouse wants to merge 16 commits into
Closed
AmanitaHouse wants to merge 16 commits into
AmanitaHouse wants to merge 16 commits into
Conversation
Cursor and Claude Code use the same POSIX entry points. .gitattributes stops a Windows checkout from putting CR into those scripts, which breaks sh under WSL. The Claude plugin identity is unchanged.
Point manifests, docs, skills and scaffolding defaults at ApolloTeam-dev/ApolloKnowledgeBase while still accepting a developer-named alternate clone such as AmanitaHouse.
The marketplace plugin entry included metadata the published schema rejects. Pin those schemas and fail the static check when an entry uses an unsupported field.
The GitHub marketplace indexer does not install a root source of "." or "./". Generate a self-contained akb/ from the canonical files and fail when that copy drifts.
Git was normalising those akb copies to LF, so the package freshness check failed on Linux.
Ground apollo-build and guided project setup on a shared classifier so missing or upload-capable targets are never treated as safe compile commands.
apollo-build now distinguishes resolvable v1.0/v1.2 PREFIX shapes and wired C_INCL_NDK usage from uncertain cases, so a Dev/Stable label alone cannot invent a compiler path or elevate an informational finding to PROBLEM=.
Reject unknown languages, report that the C-style main.c starter is not a dedicated C++ or assembler program, and keep default workflow checks fixture-only unless --run-toolchain is passed.
… regression check. Omits the skill and C-starter edits already submitted in upstream PR ApolloTeam-dev#66; those land separately. This remainder covers the experimental C++ starter comment, generated akb/ mirrors and the shared-workflow regression.
3 tasks
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.
DEPENDENCY — REVIEW NOW, MERGE AFTER PREREQUISITES
This contribution depends on upstream PR #76 and its preceding dependency chain. Review is welcome now, but this PR must not be merged until its prerequisites have been integrated and its incremental changes revalidated.
The current GitHub comparison may include unmerged prerequisite changes. The incremental comparison against the preceding contribution branch identifies the changes introduced by this PR.
Summary
Guided Apollo project setup now preserves developer-specified Target OS and Target core instead of always expanding to the three-OS / latest-core defaults. Practical-Use Experiment 1 requested AmigaOS 3.9 and Core 12798–12841; generated
AGENTS.mdand.cursor/rules/apollo-v4.mdcpreviously recorded all three operating systems and the latest core.Provenance
What changed (incremental)
--target-osand--target-core(omit for historical defaults).AGENTS.md, Cursor rule, and starter@TARGETS@agree on the selected targets.--setup basicwith explicit target flags returns actionablePROBLEM=and writes nothing (does not silently discard).C_INCL_NDKline, or only the wrong NDK for the Target OS, leave NDK lines unchanged, report uncertainty, and do not advertise a Make command from upload-safety alone. AmigaOS 3.9 →ndk39-include; ApolloOS R10 / AmigaOS 3.2 →ndk32-include/Include_Hwhen those lines exist.--execution-mode(not--mode), target flags, out-of-tree directory establishment, and an Experiment 1-shaped example.Incremental comparison
AmanitaHouse/ApolloKnowledgeBase@upstream-contrib/11-build-readiness...upstream-contrib/12-explicit-target-selection
Dependencies / merge order
Do not merge this PR before those prerequisites. Full package freshness and AttnFlags C-starter expectations assume #66/#75/#76 are integrated.
Validation
checkssuccess (https://github.com/AmanitaHouse/ApolloKnowledgeBase/actions/runs/45001506201)mainCI:KB checksandRegenerate CODEOWNERSsuccesscheck_shared_workflows.py0 problems; package mirrors for this change MATCH; Experiment 1 targets confirmedpackage_cursor_plugin.py --checkmay still report AttnFlags.cdrift until PR Clarify os-friendly AttnFlags detection applicability #66's canonical starter is present (owned by Clarify os-friendly AttnFlags detection applicability #66/Complete AttnFlags applicability for C++ starter, package mirrors and regression check #75, not this change)Test plan
upstream-contrib/11-build-readiness--target-os "AmigaOS 3.9" --target-core "Core 12798–12841"preserves those exact fields