Skip to content

Preserve explicit Target OS and core in guided Apollo project setup - #77

Closed
AmanitaHouse wants to merge 16 commits into
ApolloTeam-dev:mainfrom
AmanitaHouse:upstream-contrib/12-explicit-target-selection
Closed

AmanitaHouse wants to merge 16 commits into
ApolloTeam-dev:mainfrom
AmanitaHouse:upstream-contrib/12-explicit-target-selection

Conversation

@AmanitaHouse

Copy link
Copy Markdown

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.md and .cursor/rules/apollo-v4.mdc previously recorded all three operating systems and the latest core.

Provenance

What changed (incremental)

  • Guided CLI: --target-os and --target-core (omit for historical defaults).
  • Generated AGENTS.md, Cursor rule, and starter @TARGETS@ agree on the selected targets.
  • Reviewed starter applicability comments are not rewritten to match user-selected targets.
  • Basic setup safeguard: --setup basic with explicit target flags returns actionable PROBLEM= and writes nothing (does not silently discard).
  • NDK readiness safeguard: when the Makefile has no identifiable C_INCL_NDK line, 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_H when those lines exist.
  • Skill guidance: document --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

  1. Upstream Cursor-plugin and scaffold stack through PR Complete AttnFlags applicability for C++ starter, package mirrors and regression check #75 as already sequenced
  2. Upstream PR Clarify os-friendly AttnFlags detection applicability #66 (AttnFlags C starter / skill text) where package / starter regressions require it
  3. Upstream PR Validate compiler readiness for guided Apollo projects #76 (compiler-path readiness)
  4. This PR

Do not merge this PR before those prerequisites. Full package freshness and AttnFlags C-starter expectations assume #66/#75/#76 are integrated.

Validation

Test plan

  • Review incremental diff vs upstream-contrib/11-build-readiness
  • Revalidate shared workflows after prerequisites merge
  • Confirm Experiment 1-shaped --target-os "AmigaOS 3.9" --target-core "Core 12798–12841" preserves those exact fields
  • Confirm basic setup rejects explicit target flags; no-NDK Makefile claims no Make command

deryk and others added 16 commits November 22, 2026 14:37
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants